Warning: This cheat involves editing a game file. Always make a
backup of the file before proceeding.
Use a text editor to edit the "config.ini" file in the game directory.
Add the following line to the end of the file:
Then, press ~ while playing to bring up the console. Enter sv_cheats 1
to enable cheat mode, then enter one of the following codes at the console
window to activate the corresponding cheat function.
game_godmode 1 God Mode
g_fly 1 Fly Mode
g_noclip 1 No Clipping Mode
map [name] Go to Map [name]