Repository navigation
Console
Alexander Akulich edited this page Mar 26, 2026
·
1 revision
| Command | Access | Description |
|---|---|---|
cam_type [type] |
Normal | Get/set camera type (zenith, ground, 1stperson). Omit to print current. |
cam_pos [position [z]] |
Normal | Get/set camera position. Zenith: position [zoom]. Ground: position [z]. 1stperson: position [z]. Omit all to print current. |
cam_dir [yaw [pitch] [roll]] |
Normal | Get/set camera direction in degrees. Zenith/ground: yaw only. 1stperson: yaw, pitch, roll. Omit to print current. |
cam_lookat <position> |
Normal | Point camera at a world XY position. |
fow [on|off] |
Cheat | Get/set fog of war. Omit to print current state. |
give_bmu <amount> [race] |
Cheat | Add BMUs to a race. Defaults to player race. Race: red, blue, green, yellow. |
set_bmu <amount> [race] |
Cheat | Set BMUs to an exact value. Defaults to player race. |
get_bmu [race] |
Normal | Print current BMU count. Defaults to player race. |
spawn_machine <type> <subtype> <hwlevel> <position> [race] [weapon_combo] |
Cheat | Spawn a machine. Type: aggressor, constructor, etc. Subtype: grunt, dozer, etc. Optional weapon combo uses .scn names (e.g. l_auto_cannon). |
spawn_construction <type> <subtype> <hwlevel> <position> [rotation] [race] |
Cheat | Spawn a construction. Type: factory, smelter, etc. Optional rotation in degrees. |
pause [on|off] |
Normal | Get/set game pause. Omit to print current state. |
time [seconds] |
Cheat | Get/set simulation time (used by stars, satellites, and other time-based systems). |
list_saves |
Normal | List all saved games. |
save_game <name> |
Normal | Save the current game with the given display name. |
load_game <name_or_index> |
Cheat | Load a saved game by name or index (from list_saves). |
reload_data |
Cheat | Reload gameplay data files (parmdata.dat and mod overrides) without restarting. |
command_move <position> <id> [id2] [id3] ... |
Cheat | Order machines to move to a destination. Accepts one or more actor IDs. |