Note: This procedure requires editing a game file; creating a backup copy of the file before proceeding is recommended. With a text editor, edit the "autoexec.cfg" file in the "cfg" directory in the game folder. Add the following line at the end of the file:
Start the game, then press ~ during game play to display the console window. Type one of the following codes to activate the corresponding cheat function.
CHEAT FUNCTION - CHEAT CODE Invincible squad - godmode <0 or 1> Toggle artificial intelligence - game_noai <0 or 1> Everyone transparent after game loaded - i_am_an_alien <0 or 1> Spawn indicated item - getitem <item number> Set squad members' level - setxplevel <level> Show all enemies and NPCs - cheat_showall <0 or 1> Spawn indicated unit - summonunit<unit number>