Console/Console Commands
- To enable the console: Go to Settings - Keyboard and Mouse - Enable Developer Console.
- To open the console, press (~) or (ё).
- To assign a command to a key, use the bind command . For example:
- bind "key" "command1;command2"
- To create a custom name for one or more commands, use the alias command . For example:
- alias "your_command_name" "command1;command2" bind "key" "your_command_name"
Frequently used commands:
- cl_showpos (0 1) - Allows you to find out the position on the map (pos), camera direction (ang), speed (vel).
- taunt - Allows you to perform a gesture in the air (after jumping).
- restart_level - Allows you to restart the level.
- "incrementvar mat_ambient_light_r 0 0.05 0.05;incrementvar mat_ambient_light_g 0 0.05 0.05;incrementvar mat_ambient_light_b 0 0.05 0.05" - turns the lighting on/off.
- +remote_view - displays your teammate's screen; to keep it on, assign it to the w key: bind "w" "+forward;+remote_view"
- fps_max (from 30 to 999) - fps limit.
- sv_player_funnel_into_portals (0 1) - disables assistance when falling into a portal.
- changelevel map_name - allows you to change the level to the selected one; you must be in the game. In a co-op game, only the host (Atlas) can change the level. Single-player maps - link [pastebin.com] Co-op maps - link [pastebin.com]
- r_portal_use_pvs_optimization (0 1) - If set to 0, this will allow the engine to render level structures outside of their space.
- developer (0 1 2) - allows you to move as soon as the level has loaded, instead of getting stuck for ~0.5 seconds.
- contimes (0-8) - Specifies the number of console lines displayed on the screen. 8 is the default, 0 does not display. Used with the developer command.
- stopvideos - ends the cutscene.
Strafes/Bunny Hopping
works in both single-player and co-op modes.
To strafe and bunny hop, you need to perform a specific sequence in sync:
- To turn left, press "A" and move the mouse left.
- Bounce.
- To turn right, press "D" and move the mouse to the right.
- Bounce.
- Perform one after the other.
To make a jump more precise, assign it to the mouse wheel:
bind "MWHEELDOWN" "+jump" or bind "MWHEELUP" "+jump"
(the former will jump down the mouse wheel, the latter will jump up the mouse wheel). However, it's better to use both of these commands:
bind "MWHEELDOWN" "+jump";bind "MWHEELUP" "+jump".
Resetting game progress in co-op
. Works only in co-op mode.
Allows you to reset your level and gesture progress.
- Start a co-op game.
- Enter in console:
- mp_mark_all_maps_incomplete - resets level progress;
- mp_lock_all_taunts - resets gesture progress;
- Restart the co-op game.
- Progress will be reset for both players.
- To restore level progress, enter the command:
- mp_mark_all_maps_complete
- Progress will be restored for both partners.
- To restore your gesture progress, you need to enter each command one by one:
- mp_earn_taunt highFive mp_earn_taunt laugh mp_earn_taunt robotDance mp_earn_taunt rps mp_earn_taunt trickfire mp_earn_taunt teamhug mp_earn_taunt teamtease mp_earn_taunt smallwave
- Solo co-op
- Allows you to play co-op alone.
- Achievements and progress are not saved.
To enter:
- Be in the main menu of the game.
- Open console.
- Enter the command
- ss_map [map_name]
- for example
- ss_map mp_coop_lobby3
To change character:
- sv_cheats 1
- Assign the command
- bind [button] "incrementvar in_forceuser 0 1 1" to the desired key
- To prevent characters from walking on their own after switching, use an advanced version of this command
- bind [button] "-forward;-back;-moveleft;-moveright;-attack;-attack2;incrementvar in_forceuser 0 1 1"
- To change the position and size of the character's screen:
- ss_pipsplit (0 1 2 3)
Open all maps in challenge mode
To make all maps available in challenge mode, you need to edit the file:
- Open the game folder steam/steamapps/common/Portal 2/Portal2_dlc1
- Open the challenge_maplist.txt file
- Replace the text in the file with this: link [pastebin.com]
- Save.
The following maps will be added for single-player play:
- Container Ride
- Portal Carousel
- Secret Panel
- Wakeup
- Laser Intro
- Catapult Intro
- Tube Ride
- Core
- Long Fall
- Test
- Finale1
- Your records will be saved, but will not be available for viewing on the leaderboards
- You can see your friends' records in the game (only 2 points).
- To add your record to http://board.iverb.me you need to provide proof in the form of a demo file.
- To restore the original settings, replace the current text with this: link [pastebin.com]
Wall Strafing
works in both single-player and co-op modes.
Increases movement speed using a wall.
- Press yourself against the wall and look away from it at a few degrees.
- Depending on how you press against the wall, press W+A or W+D.
- For greater acceleration, start jumping by holding down only A or D, without changing the camera position.
Speed will increase.
Wall Sliding
works in both single-player and co-op modes.
Allows you to "slide" along the wall in certain areas.
- Stand near the wall.
- Rotate the camera away from the wall a few degrees.
- Press A or D.
- Don't accelerate too much, because you will fall at first or you will not be able to change direction.
- There are very few places where this trick can be easily performed.
- It is possible (information not confirmed) that this trick can be done on any wall (accidentally, quite difficult).
Funnel Glitch
works in both single and co-op modes.
- Allows you to fly outside the funnel, as well as within the funnel itself.
- For easier execution, it is recommended to use the cl_showpos 1 command.
- Other possible names are Crouch Flying Glitch - CFG, Excursion Funnel Flying - ExFu.
Related flight
- Use portals to be able to cancel the flight.
- Entering the crater without jumping is also impossible; jumping onto the catapult to get into the crater is also impossible.
- Wait until the speed vel becomes 0 or stops.
- Press and hold the squat button.
- Press the squat button.
- Point the camera where we need to fly.
- Get out of the funnel.
- To speed up, use strafes.
- If your speed is more than 300, you will not be able to turn and stop (until you encounter an obstacle).
- If there is an opportunity to enter the funnel from its end, use it, so you don’t have to wait for the speed (vel) to stop.
- When landing on the surface, you can press the jump key and then your character will fly.
- If you need to cancel the vortex, place the portal (if you placed one) anywhere, or, if you are on the ground, press the crouch key.
- If you're stuck on the ceiling, find the spot where the ceiling ends and try crouching. You can also find an object you can hit to get down. Or, if you were in a vortex during the glitch, place a portal. If none of this works, restart the level.
Untethered flight
The principle is the same, only after point 4, instead of pressing, hold the crouch button and fly out.
- To go down, press the squat button.
- There is no need to wait after the squat, you can fly straight away.
Example on the map Cooperative Funnels
Funnel Inversion Example
You can also fly along the funnel itself.
- Go in and wait for the speed to stop.
- Press the squat button several times in a row.
- Try to start moving towards the beginning of the funnel using w if you are near a wall, or jump if you are on the ground.
Cube Glitch
Works only in co-op mode.
- Allows you to climb to high places.
- Another possible name: Cube Partner Stucking.
- Using the cube, at the last moment we put it into our partner’s robot.
- To prevent the cube from flying out, your partner must look higher.
- Constantly touch the cube (for about 6 seconds, then move away for 5 seconds, etc.) to increase the speed.
- Once you've gained the speed you need, jump first onto the cube, then onto your partner's robot's head, and you'll fly up.
- The other partner must take the cube to rise up, but it will fly a little lower.
- Use strafes to get where you need to go.
Example on the Industrial Fan card
- Also, if the first partner stands near the wall, and the second partner inserts the cube into him, then the speed will increase on its own, but more slowly than in method 1.
- Try not to push the cube too hard, otherwise your partner may get stuck in the wall.
Example on the Vault Entrance map
- It's recommended to put the item into Atlas, as only he can see his speed in this trick using cl_showpos 1. For P-Body, it's always 5.00.
- P-Body can tell its speed by the sound when it is above 500.
- This trick requires patience and accuracy, as the cube behaves "unstable" and if you do not give the cube a "rest" (point 3), it will fly out.
- If you can't insert the cube, try looking below.
- After an unsuccessful boost attempt, sit on the cube. This will make it more stable.
- You can insert not only a cube, but also a ball or a chair, for example. Example on the Bridge Testing map.
- You won't be able to jump from the side you pushed the cube from.
Save Cube Glitch (only works in co-op mode).
Allows you to carry a cube or ball through an anti-expropriation field.
Cube:
- Take the cube, hold down the crouch button and lower the camera down.
- Walk across the field.
Example on the Multifling
map. This method doesn't work on all maps in Chapter 5 of Mobility Gels, so you should use the same method as for carrying the ball.
You can also carry it over the field by jumping and raising the camera upward. (Similar to the ball, see below.)
Ball:
- Place the ball on one side of the field.
- Stand some distance away from the ball on the other side.
- Slowly approach the field while holding down the crouch key. Continuously press the action key to grab the ball.
Example on the Separation
map. You can also carry it over the field by jumping and tilting the camera upward. Example on the Bridge map. Testing
Cube glitch 2
Only works in co-op mode.
Allows you to make the cube unstable, allowing you to exit the level.
- The first partner gets stuck in a surveillance camera using the Funnel glitch.
- The second partner uses the funnel glitch to rise to the same height as the first partner.
- The second partner begins to touch the first partner's head many times.
The cube will start pushing you back.
To get through the wall:
- Place the cube near the wall.
- Stand near the wall and start walking towards the cube, walking near the wall.
Object Climbing (works only in single-player mode).
Allows you to climb to great heights using two cubes or one cube and a surveillance camera. Example:
- Place the cube against the wall.
- Place the 2nd item on the cube.
- Stand on the object.
- Take a cube.
- Jump.
Cube Jumping
works in both single and cooperative modes.
- Allows you to overcome obstacles using a cube, turret and other objects.
- The easiest execution is if you do this trick against a wall.
- Another possible name: Object Jumping.
- Start accelerating by bunny hopping.
- As soon as you reach an obstacle (hole) that you need to jump over, sharply lower the camera down, release the object, jump and take it back.
Example on the Polarity
Reportal
map . Works in both single-player and co-op modes.
Allows for a speed boost using portals.
- Place 2 portals.
- Start going into one of them.
- Once you're almost out of another portal, place the portal you entered on a clear surface.
Example on the Pit Flings map.
Portal bumping
works in both single-player and co-op modes.
It allows you to place a portal on the other side of a glass or field, as long as there's a wall on which to place it.
- Place the portal near the glass/field
- Place another one to the side of the portal.
Portal Boosts
work in both single-player and co-op modes.
They allow you to accelerate or ascend to a certain height using portals.
There are 6 types of portal boosts:
Method 1 (for co-op):
- Place 2 portals on the floor.
- The first partner enters the portal and tries to stay in the middle at all times.
- The second partner stands near the portal, holding down the crouch key.
- The second partner begins to move back and forth, depending on which portal the first partner is in.
- You need to retreat from the portal at the last moment, as soon as the first teammate passes through it.
- Example on the Vertical Flings map.
Method 2:
- Place two portals so that one is higher than the other.
- Start "transitioning" from one portal to another using strafe.
Example on the Conversion Intro map.
Method 3:
- Place the first portal on an inclined surface, the second on the floor.
- Enter the second portal (W) and immediately exit (S).
Example on the Infinifling map.
Method 4:
- Place the first portal on an inclined surface, the second on the floor.
- Slowly enter the first portal from the side while holding down the crouch key.
Example on the Catapults map.
Method 5:
- Place 2 portals on the floor.
- Enter the portal.
- Use the cube as soon as you pass through the portal and start falling back, release the cube so it falls on you.
Example on the Maintenance map.
Method 6: Shadow Clone Abuse
- Place 2 portals.
- The first partner stands in the middle of the portal.
- The second teammate jumps on the first teammate.
Example on the Repulsion Jumps map.
Button Glitch
Works in both single and cooperative modes.
- Allows you to hold down the floor button.
- Another possible name: Button Lag Glitch.
Single player:
- Stand at the edge of the button, jump and walk along the edge of the button.
Example on the Repulsion Intro
Co-op map:
- It is advisable to do this for P-Body, but it is also possible for Atlas (the method from single mode is used).
- The stability of this glitch depends on ping. Reducing the fps to 30 may also help.
- Jump on the button until the item bound to it is activated.
Example on the Bridge Gels
Laser Pinning
map . Works in both single and cooperative modes.
- Allows the reflective cube to hover in the air.
- Another possible name: Laser Cube Levitation.
- Place the reflective cube on any support so that the laser hits it.
- Remove the support.
Turret Boosts
work in both single-player and co-op modes.
Allows you to gain a speed boost using a turret.
Method 1: Damage Boosting
- Place a "live" turret opposite the place you need to accelerate to.
- Stand in front of her.
- Wait for the turret to start firing.
- Start jumping.
Example on the Turret Blocker map.
Method 2: Collision Issues
As with the cube glitch, the trick is not stable and requires patience.
- Place the "dead" turret on the ground.
- Wait until you can walk through it.
- Stand at the "feet" of the turret.
- Take a cube or other object and lower the camera down.
- The speed will begin to increase.
Example on the Separation map.
Method 3: Defective Turret Boosting
- Place the defective turret on the floor.
- Stand on it.
- Lower the camera with the second turret down.
- Jump.
Example on the Turret Sabotage map.
Turret Glitch
works in both single-player and co-op modes.
The turret stops hitting you and dealing damage.
- Place the rear leg of the turret so that it is lower than the other two.
Ballslicing (available only in co-op mode)
allows you to stop a cube by changing its trajectory and "splitting" it using a bridge.
- Place a portal on the bridge.
- Wait until the ball starts flying past the portal surface.
- At the right moment, place a portal with a bridge, "dividing" the ball in half.
- The ball's trajectory will change and it will fall down.
- Applies only to one map - Bridge Testing.
- It's easiest to do this with Atlas, as he has the lowest ping. It's also possible with P-Body, but more difficult due to the ping.
- The ball can fall from either side of the bridge. If you place the bridge too early, the ball will fly off; if you place it too late, it will continue to fall.
Propulsion Gel Strafing
works in both solo and cooperative modes.
Achieve maximum speed in a short time using the acceleration gel.
- Stand on the gel and hold down the crouch key.
- Start moving and release the squat button.
- For more acceleration, use strafes and jumps.
- This trick is usually used to achieve maximum speed in a short time where the distance for acceleration is limited.
- Acceleration from 0 to max speed always takes 1.25 seconds, regardless of whether you use this glitch or not.
- You won't get the maximum boost unless you crouch for at least 1 second.
- Another possible name is Propulsion Gel Crouch Boost Glitch - PGCBG
Example on the Turret Ninja map and Propulsion Retrieval.
Turret Collision Manipulation
Works in both single-player and co-op modes.
Allows you to bounce away from the turret while covered in repulsion gel.
For co-op:
- We soak the turret in repellent gel.
- The partner must take and give the turret (so that it does not fly away and start to push off).
- Go forward, jump and lower the camera a little lower.
- You will jump away from the turret.
Gel Boost
works in both single-player and co-op modes.
Increases the range of gels using portals.
- Place 2 portals: one near the gel, the second on any surface.
- Stand/sit on the edge of the first portal, the gel will begin to accumulate.
- Move away from the edge/jump.
Example on the Vault Entrance map:
Partner Repulsion Launch
Works only in co-op mode.
Allows a partner to propel themselves higher on a repulsion gel with the help of a second partner.
- The first partner starts jumping on the repulsion gel.
- The second partner, at the right moment (when the first one starts to fall), jumps under him.
Example on the Wall Repulsion
Jump Gesturing
map . Works only in co-op mode.
Allows you to interrupt forced gesture animations on some maps.
- Before entering the trigger with a gesture, use the command:
- taunt
- This command only works when you are in the air (for example, jumping), so for convenience, assign it to some key.
- It is also used to quickly activate cutscenes on maps: Vault Entrance, Crazier Box.
- You can do without this command by taking some object, for example a cube.
Used on the following maps:
- Calibration Course
- On the lobby maps during the transition to the 2nd and 3rd courses if you have reset your progress.
- Rat Maze
- Catapults
- Bridge Testing
- Funnel Laser
Example on the Rat Maze map.
Partner Boost
Works only in co-op mode.
Allows a partner to climb higher with the help of another partner.
- The first partner stands on any elevated surface and starts moving towards the second partner (jumps on his head).
- The second partner stands below the first partner and jumps with a squat.
You need to make the second teammate jump under the first.
Camera Lag Glitch
Works only in co-op mode.
Allows you to hold down the trigger on the sign near the surveillance camera. Works only for P-body players.
- Find the place where the camera trigger starts/ends (when it starts and stops seeing you).
- Move quickly in and out of the trigger zone.
- Look at the sign, when it "sticks", move away from the trigger.
- To make it easier to perform, your partner should look at the sign, and you should move sideways and look at your partner’s screen.
- This may be easiest to do in a squat position.
- Like the Button glitch, this happens randomly; it also requires a quick reaction, because if the sign gets stuck and you hit the trigger again, it will unstick.
Example on the Infinifling
Door Pushing Abuse
map . Works only in single-player mode.
The door will remain open if you activate it, stand next to it, but the item that opens it is not enabled (e.g., the button is not pressed).
- Press yourself against the door.
- Activate the item that opens the door.
- Deactivate the door-opening item, but stay pressed against the door.
- The door will remain open until you move away from it.
Example on the Trust Fling map.
Object Throwing
works in both single-player and co-op modes.
It allows you to throw various objects (usually cubes) farther and higher, with greater force.
- First, lower the camera down
- Then swing in the direction where you need to throw the object, jump and simultaneously release the object.
Example on the Portal Carousel
View Model Abuse
map . Works only in co-op mode.
Allows you to push an object through an obstacle to the other side.
- Take the item.
- Stand at a distance in front of the obstacle.
- Lower the camera.
- Walk towards the obstacle and release the object at the last moment.
This trick is similar to the Cube Glitch, where one player inserts an object into another player.
Example on the Separation
Dialogue Fades
map. It works in both single-player and co-op modes.
Entering the elevator at a certain time (at a certain point in the dialogue) will make the level load faster.
Single game
https://pastebin.com/Q8iFxHw7 (translate into separate files)
Cooperative
Source Auto Record (sar)
Only works in single-player.
This plugin is intended for speedrunners.
- Download the sar.dll file - link [github.com]
- Place it in steam/steamapps/common/portal2
- After loading the game, type in the console -
- plugin_load sar - this will activate the plugin.
Full game run commands:
- sar_speedrun_autostart 0 - Prevents immediate start when loading into a level.
- sar_autorecord 1 - will continue recording the demo file after death and loading.
- sar_speedrun_offset 16868 - time offset for containerridesave (skipping the long start at the beginning of the game).
- sar_speedrun_time_pauses 0 - the timer will not run during a pause.
- sar_speedrun_reset - reset time.
- ui_loadingscreen_fadein_time 0; ui_loadingscreen_mintransition_time 0; ui_loadingscreen_transition_time 0 - disable animation when loading, which increases the speed of loading levels.
- sar_disable_challenge_stats_hud 1 - Disables the menu from appearing after loading a level in challenge mode.
Author: LsDK_
