From the main menu, go to Options -> KEYBOARD/MOUSE -> Allow Developer Console and set it to Enabled. Note: to make some of these codes work, you need to enter this code into the console: sv_cheats 1.
Effect | Code
|
---|
- Changes speed of game, 0.1 = 10% of original game speed, 2 = twice the original game speed
| - host_timescale # (default=1).
|
- Changes view to first person
| |
- Changes view to third person
| |
| - ent_create_portal_companion_cube.
|
- Creates a reflector cube for lasers
| - ent_create_portal_reflector_cube.
|
| |
- Lets you change the gravity in the game
| - sv_gravity # (600=normal).
|
- Lets you go through walls and fly around
| |
| - sv_portal_placement_never_fail # (1 or 0).
|
|
- Player can take damage but won't die
| |
- Shoots conversion gel out of your face
| - ent_create_paint_bomb_portal.
|
- Shoots propulsion gel out of your face
| - ent_create_paint_bomb_speed.
|
- Shoots repulsion gel out of your face
| - ent_create_paint_bomb_jump.
|
- Shoots water out of your face
| - ent_create_paint_bomb_erase.
|
| |
| |
- Turrets won't shoot at you
| |