Enabling the Console
To enable the console, first, you must quit the game.
Once you have quit the game, go to the directory of your Portal Reloaded game.
(This is usually C:\Program Files (x86)\Steam\steamapps\common\Portal Reloaded)
Once you are there, Enter the “portalreloaded” folder and open “config.cfg” with a text editor of your choosing. Proceed to press CTRL + F and look for “con_enable” and it should have a “0” afterwards. Set this to 1. The next step is crucial.
Stopping the mod from overriding.
By default, when you launch the game it will set the “con_enable” string back to “0”. To circumvent this, simply right-click on the config file and hit Properties, and click “Read Only” checkbox at the bottom.
WARNING: ANY CHANGES YOU MAKE TO YOUR SETTINGS WILL NOT BE SAVED AFTER THIS.
Now the game will be unable to stop the console access and you can open the console with your desired key which can be changed in the options in-game.
At the main menu, select “Options”, then choose the “Keyboard/Mouse” selection. Enable the “Allow Developers Console” option. While playing the game, press ~ to display the console window. Enter “sv_cheats 1” to enable cheat mode. Then, type one of the following codes and press [Enter] to activate the corresponding cheat function:
|Player can take damage but cannot die
|No clipping mode
|Toggle placing portals anywhere
||sv_portal_placement_never_fail [0 or 1]
|Spawn Companion Cube
|Spawn dune buggy
|Spawn reflector cube for lasers
|Turrets will not shoot at you
|Set game speed; default is 1
||host_timescale [0.1 through 2]
|Set gravity; default is 600
|First person view
|Third person view
|Shoot Conversion Gel out of your face
|Shoot Propulsion Gel out of your face
|Shoot Repulsion Gel out of your face
|Shoots water out of your face
|Set minimum speed in seconds Portal Gun shoots when click is held; default is “0.5”
|Set minimum speed in seconds Portal Gun is fired; default is “0.20”
|Set acceleration of the speed gel; default is “500.0f”
|Set maximum speed obtainable from speed gel; default is “800.0f”
|View frame rate
|View your position and speed
|Toggle cheat mode
||sv_cheats [0 or 1]