
Alternate method. Locate the game.prefs file in the directory .. \Documents and Settings\ (Windows XP User Name) \local settings\application data\gas powered games\supremecommander\ and add the following lines to start of the file using a text editor (like Notepad.exe).
debug = {
enable_debug_facilities = true,
cheatenable = 1
}
Once that's done, save and close the file as a "prefs" file (not txt). When you next boot the game, you may press the tilde key (next to numeric 1 on US keyboards, near backspace on PAL keyboards) to drop the console window. The following codes should be usable, some using the associated keyboard button combinations.
Teleport selected units to pointer's spot ... Teleport ... ALT + T
Raw materials storage increased by 10K ... BlingBling ... CTRL + ALT + B
Toggle full map ... SallyShears ... CTRL + ALT + Z
Toggle all units do no damage ... Nodamage ... ALT + N
All units and structures destroyed with animations ... KillAll
All units and structures destroyed without animations ... DestroyAll
Selected unit or structure destroyed with animation ... Kill ... CTRL + DELETE
Selected unit or structure destroyed without animation ... Destroy
Toggle extra information ... Show act ... F7
Toggle unit creation menu ... PopupCreatUnitMenu ... ALT + F2
Take over other player (-1 is spectating) ... SetFocusArmyPlayer <-1, 0, 1, 2, .... 7>
Change gravity (49 is default) ... Sim_gravity
Change player color ... SetArmyColor
Damage selected unit (negative value heals) ... DamageUnit
Fast build for units, structures and research ... ai_freebuild
Units, structures, and research cost nothing ... ai_instabuild
Rename selected unit ... RenameUnit
Bind console command to key(s) ... IN_BindKey
Shows all key bindings... IN_DumpKeyNames
Change game speed ... WLD_gamespeed <-10, -9, -8, ... 10>
Set game speed to default ... WLD_resetsimrate
Increase game speed 1 increment ... WLD_increasesimrate ... PLUS / EQUALS
Decrease game speed 1 increment ... WLD_decreasesimrate ... MINUS / UNDERSTRIKE
Toggle opponent AI (no target) ... ALT + A
Return to main menu ... Quit
Exit to Windows ... Exit
Unverified.
Back up the file you are editing, or you may need to re-install that file from the game disc. Gone are the days of FAT32, so we can't make that FAT joke anymore.
Locate the game.pref file in the current user's directory (for personal machines, it is the administrator or whatever user name you log in as under Windows XP). For Windows XP, the directory is often ... \Local Settings\Application Data\Gas Powered Games\SupremeCommander\ ... .
Open the file using a text editor like Notepad (note you need to save the file as *.PREF not anything else) and ad the following string(s) above the string profile = {
debug = {
enable_debug_facilities = true}
And save the file. Boot the game and start a new character profile and start a new mission. This will not cascade to old or existing saves before the hack -- you also don't need to cheat until you want to anyway. The following codes may be toggled:
ALT + N -- Units invulnerable to weapon fire.
CTRL + ALT + B -- Sets Mass, Energy, Storage to 10K.
ALT + T -- Teleports selected unit.
CTRL + K -- Selected Unit is destroyed.
ALT + F2 -- Spawn unit (random?)
CTRL + N -- Rename selected unit.
CTRL + SHIFT + C -- Copies selected unit or structure.
CTRL + SHIFT + V -- Paste copied entity.
ALT + LEFT MOUSE CLICK -- Change to enemy perspective
The opposing A.I. will also have access to any cheats toggled on.