Overview
In this guide, I’ll be teaching you how to have fun with glitches and hacks in Portal 2!
Setting up the console
In this guide, I’ll be teaching you how to have fun with glitches and hacks in Portal 2! To start off, follow these steps to enable the developer console in the game:
1. Go to settings > Keyboard & Mouse
2. Here, make sure the setting ‘Enable Developer Console’ is set as ‘Enabled’
3. In the same window, click on ‘Edit Keys/Buttons’
4. Here, scroll down until you find the ‘Toggle Developer Console’ keybind
5. Bind this to any button on your keyboard
6. When in-game, press the chosen button to open the console
NOTE: Before using any commands, type in sv_cheats 1 and hit enter, this will enable certain cheats!
List of Commands
Spawning
Summon Wheatley: ent_create npc_personality_core
Hacks
Fly (through walls): noclip (Use again to undo)
God Mode (no damage): god (Use again to undo)
Visual
Disable lighting: mat_fullbright 1 (Change “1” to “0” to undo)