Edit the "init.py" file in the game folder by adding the following lines to the file:
ff.CON_ENABLE=1
Start a game and press ~ at the database screen to display the console window. Then, type one of the following codes:
Invincibility for entire party: god()
Disable invincibility: mortal()
Enemies do not move or attack: peace()
Enemies move and attack again: war()
Win current mission: Mission_Win()
Unlock all character powers in current mission: DEBUG_ALLPOWERS=1
Unlock specified built-in character's origin: Campaign_UnlockOrigin('[name]')
Add CP to specified character: Campaign_AddCP('[name]',[number])
Automatically specified character: Campaign_Recruit('[name]')
Set prestige amount: Campaign_AddPrestige([number])