Open the console by pressing the tilde (~) key on your keyboard. You can configure the key used to open the console from the options menu.
In order to use cheats, you need to enable them. Type
into the console to do so.
Note: Enabling cheats will prevent you from unlocking achievements for the rest of that game.
Note: refers to the empire's number in the game. In single player games, this is 1 for the player and 2, 3, etc for the AIs.
ch_colonize on/off -- When this is on, planet colonization happens instantaneously and without loss of population.
ch_seeall on/off -- When this is on, you will have permanent vision over everything in the game.
ch_flagship -- Spawn a flagship of owned by at the mouse cursor or selected object.
ch_supports -- Spawn supports of at the mouse cursor or for the selected fleet.
ch_orbital -- Spawn an owned by at the mouse cursor.
ch_research -- Gain research points.
ch_energy -- Gain energy points.
ch_ftl -- Gain FTL points.
ch_influence -- Gain influence points.
ch_money -- Gain in special funds.
ch_labor -- Increase the labor generation per minute on the currently selected planet by .
ch_owner -- Change selected/hovered objects to be owned by .
ch_destroy -- Destroy the selected/hovered objects.
ch_activate_ai -- Activate the AI on your player empire.
ch_trigger TriggerEffect(arg) -- Trigger any triggerable hook on the currently selected object. Triggerable hooks are sourced mostly from bonus_effects.as.
ch_ai_command -- Sends a command to the specified AI.
AI Commands: "diff " -- sets the AI's difficulty, where difficulty is 0-5 to match the difficulty list, or the name of the difficulty (passive, easy, medium, hard, murderous, savage).