PortalGun
Guns that shoot Portals: walk into one, come out of the other. Adds Portal game modes, a second dimension to fight in, and two Rift weapons. Everyone in the lobby needs it.
By Goomageddon
| Last updated | 2 hours ago |
| Total downloads | 2 |
| Total rating | 0 |
| Categories | Mods AI Generated |
| Dependency string | Goomageddon-PortalGun-1.26.2 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
Portal Gun
By Goomageddon.
Portal Gun adds guns that shoot Portals into STRAFTAT. You walk into one Portal and come out of the other, and so do bullets, grenades and other players.
It also adds new game modes for your lobby, a second dimension to fight in (Dimension mode), and two new weapons (the Rift weapons).
Everyone in the lobby needs this mod, and the same version of it. The game puts modded lobbies in their own matchmaking, so you play with friends who have it too.
Quick start
- Install Portal Gun with r2modman (or the Thunderstore Mod Manager). It installs BepInEx for you.
- Start the game from r2modman with Start modded. A popup says you have mods: close it.
- Host a lobby. Your friends join it as normal.
- In the lobby, click Portal Settings (next to Swapper Settings).
- Pick a Portal mode, or leave the mode Off and set Portal Gun to a gun. The Portal Launcher is the main one.
- Start the match. Each mode shows a card at the start that tells you the goal and your keys.
A new lobby plays exactly like the normal game. No Portal Gun spawns until the host picks one, and no mode runs until the host picks one. Every time you start the game, the lobby choices go back to these defaults. Your own choices (how Portals look, your keys) are kept.
To try the guns alone, go to the Training Ground and press F8.
Portals
- A Portal is a glowing hole torn into a wall, floor or ceiling.
- Each player has two Portals: Portal A (blue) and Portal B (orange).
- When both of your Portals are open, they are linked. Walk into one and you come out of the other. You keep your speed.
- Anyone can use your Portals, not only you.
- If you shoot a Portal again, it moves. You never have more than one of each.
- Shots, rockets, grenades and thrown things go through Portals too.
- You can see through a linked Portal to the other side.
- A shot that cannot make a Portal there makes a small grey crackle instead. Try another surface.
- Portal Guns do no damage.
The Portal Guns
The Portal Launcher is the main Portal Gun. The host picks the gun in Portal Settings, in the Portal Gun row.
- Portal Launcher. A cannon that throws a glowing shell in an arc. Left click is Portal A, right click is Portal B. The Portal opens where the shell lands. You cannot fire that Portal again while its shell is in the air. The two windows on its side glow when each Portal is ready.
The host can pick one of two other Portal Guns instead:
- Portal Rail. A rifle. Left click puts Portal A where you aim, right click puts Portal B. The Portal opens at once.
- Portal Mine. Hold it and left click to stick a mine on a surface near you, like the game's mines. It has 6 mines. They take turns: A, then B. When you have one of each down, both blow open together after half a second. They open two big Portals and pull in everyone within 4 metres in front of either one, then throw them out of the other. A shot breaks a mine before it goes off.
Headshot Warp. If a Launcher shell or a Rail shot hits a player in the head, it pulls them in and throws them out of your other Portal.
The map's own teleporters change too. They show a fuzzy, flickering picture of where they go, like a bad TV signal. Shots and thrown things go through them now. If you want them black, set Teleporter view to Black.
Portal modes
The host picks one mode in Portal Settings. In every mode, the mode gives out the Portal Guns; none come from the map. The Portal Gun row picks which one the mode gives out: the Launcher, unless the host picks another.
- Off. Normal play. If the host picked a Portal Gun, it can spawn on the map like other weapons.
- Portal Arena. Each Take starts with a short Setup. Everyone has a Portal Gun and nobody can get hurt. Put your Portals where you want them. Then the Portal Guns are taken away, your Portals stay where they are, and you fight with the map's weapons.
- Portal Hide and Seek. One side hides, the other side seeks. The sides swap every Take. During the Hide time the Seekers cannot see or move, and the Hiders use their Portal Gun to get to a good spot. Then the Hiders freeze where they are and the Seekers get the Portal Gun. A Seeker catches a Hider by getting within arm's reach. Seekers win if they catch every Hider before the time runs out. Nobody takes damage. Hiders can strike a pose to blend in (hold B), look at themselves (hold Z), and fly a free camera once frozen (X). The host can turn on Forced taunt: then each Hider plays a loud taunt every 30 seconds (the host can change the time), so the Seekers can hear them.
- Territory. Needs exactly two sides (1 against 1, or two teams). A line splits the map between the two sides. If you touch the ground on the enemy side (it is tinted red), you die. So you fight across the line, through Portals. After the fight time, a deadly area (tinted violet) grows out from the line until it covers the map. The last side alive wins. Drop the Portal Gun to pick up map weapons; your Portals stay.
- Trick Shots. Like Portal Arena, with one rule: a shot only hurts if it went through a Portal first. Hitting someone directly does nothing. Only weapons that can shoot through Portals spawn. If the fight goes on too long, Open fire starts and direct hits count again.
- Pocket Portals. A normal fight with map weapons. Press G at any time to get a Portal Gun in your hands. It is gone as soon as you hold something else, but your Portals stay.
- Dimension mode. See below.
Each Take starts with a card that tells you the goal and your keys, and ends with a card that says who won.
Dimension mode
There are two copies of the map: Real, where you start, and the Pale, a grey, foggy copy with better weapons.
- Everyone has a Door Gun. Hold Alt, or press G, to take it out.
- Left click opens your Door on a surface. Right click closes it. Walk through a Door to go to the other dimension, at the same spot.
- In Real, only weak weapons spawn. The Pale has strong weapons and two powerups.
- In the Pale you move a little faster, but the Pale drains your health. The drain starts slow and gets faster. Health it takes does not come back.
- If the drain gets you down to almost no health, it throws you back to Real. You cannot go back into the Pale until the next Take.
- Players in the other dimension look like see-through ghosts. Normal guns do almost nothing to a ghost (1 damage).
- Spirit guns glow in the ghosts' colour. They hurt ghosts fully. Against players in your own dimension, one shot takes half your health at most.
- Powerups in the Pale: Anchor stops the drain for 5 seconds. Siphon turns half of the damage you deal into health for 8 seconds. Pick one up and it works at once.
- What goes through a Door is gone from the side it left. A shot into the Pale cannot hurt anyone in Real.
- The last side alive wins the Take, as normal.
Rift weapons
Two new weapons can spawn on the map in normal play. They never spawn in a Portal mode. The host can turn them off with the Rift weapons row in Portal Settings (they are on at first).
- Lucky Rift. Throw it like the game's hand grenade. When it goes off, it tears a small hole in the world. The hole throws out 3 random weapons, and sometimes a live grenade. Then it closes.
- Rift Blade. A blade. Each swing does half the damage of a normal blade, and leaves a glowing cut in the air for 2 seconds. An enemy who runs through the cut gets hurt and pulled 3 metres along it. Your own cuts do not hurt you.
Keys
| Key | What it does | When |
|---|---|---|
| Left click | Portal A (blue) | holding the Portal Launcher or Rail |
| Right click | Portal B (orange) | holding the Portal Launcher or Rail |
| Left click | Stick a Portal Mine | holding the Portal Mine |
| G | Portal Gun into your hands | Pocket Portals |
| Hold Alt, or press G | Door Gun out | Dimension mode |
| Left click / right click | Open / close your Door | holding the Door Gun |
| Hold B | Pose wheel | Hide and Seek, as a Hider |
| Hold Z | Look at yourself | Hide and Seek, as a Hider |
| X | Free camera | Hide and Seek, as a frozen Hider |
| F8 | Get a Portal Launcher (Shift+F8: Rail, Ctrl+F8: Portal Mine) | Training Ground, alone or as host |
| Esc | Close Portal Settings | the window is open |
You can change all of these keys in Portal Settings, under Just you.
Settings
All settings are in the game. You never need to edit a file.
In the lobby, click Portal Settings (next to Swapper Settings). Everyone has this button, not only the host. The window has two sides.
- Lobby (left). The host sets these: the Portal mode, the Portal Gun, the Rift weapons, and the times for the chosen mode. It only shows the rows for the mode that is picked. Other players can see them but not change them. Changes start at the next Take.
- Just you (right). These change only what you see, hear and press:
- Portal look. Torn, or Simple. Use Simple if your PC is slow.
- Portal opening sound.
- Teleporter view. The fuzzy picture, or Black.
- Your keys. Click a key, then press the new key. A line tells you if two keys clash.
- How to play (button at the top, next to Close). A page that explains the Portal Guns, every mode, the Rift weapons and your settings, with your keys as they are set now. Click Back to return to the settings.
The first time you hold each Portal Gun or the Door Gun, a short line at the bottom of the screen says how to use it.
- Advanced Settings (button at the top). A view of its own with everything else; point at a setting to see what it does. Click Back to return:
- For you: Portal Gun volume, Drain sound volume, recoil, energy style, how Portal views are drawn (turn these down if your frame rate drops), Headshot Warp, close-up Portals, the teleporter upgrade, Territory colours, and how long the mode cards stay.
- For the host only: Hide and Seek's catch distance and end reveal, and Dimension mode's Drain, speed in the Pale, Pale weapons, Spirit guns, powerups and powerup times.