Console Commands: Difference between revisions

From Galactic Civilizations - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{stub}}
<h3>Console Commands</h3> In order to enable console commands, enter "Cheat" into the launch options as shown on steam here: <br>
<h3>Console Commands</h3> In order to enable console commands, enter "Cheat" into the launch options as shown on steam here: <br>
[[File:EnableCheatsGC4.png|600px]] <br>
[[File:EnableCheatsGC4.png|600px]] <br>
Then, bring up the console in your game with the backtick key ` (frequently also called the ~ key; normally located below the ESC key).<br>
Then, bring up the console in your game with the backtick key ` (frequently also called the ~ key; normally located below the ESC key).<br>
Use "help <command>" in-game to see more information about each command below:<br>
Use "help <command>" in-game to see more information about each command below:<br>
addstat<br>
{| class="wikitable"
addthinktank<br>
!! style="background-color: #1C4D8B; color: white;" | Console Command!! style="background-color: #1C4D8B; color: white;" | Console Input!! style="background-color: #1C4D8B; color: white;" | Description!! style="background-color: #1C4D8B; color: white;" | Parameters
ai<br>
|-
aioffertrade<br>
| '''ModifyCredits''' || modcredits <amount> || The modcredits command will modify the local player's credits by the value provided. || <amount> - numeric value to modify the credits by.
allmercs<br>
|-
artifactpower<br>
| '''ModifyPopulation''' || modpop <amount> || The modpop command will change the population of the colony on the currently selected planet. This works for any player's colony. || <amount> - numeric value to modify the population by.
assassination<br>
|-
asserts<br>
| '''ModifyCulturePoints''' || modcult <amount> || The modcult command will modify the local player's culture (ideology) points by the value provided, which affects the discount for the traits. || <amount> - numeric value to modify the culture (ideology) points by. <ideology> - specific ideology to increase the points.
assetreport<br>
|-
awardresearchpoints<br>
| '''ModifyStat''' || modstat <amount> || The modstat command will set a specified stat value for the currently selected game object (or the local player, if none). Note, use addstat to add to existing stat value instead. || <statname> - Name of stat to change. Use liststat without params to see options. <amount> - Numeric value to set the stat to.
battle<br>
|-
battlebox<br>
| '''AddStat''' || addstat <amount> || The addstat command will add a specified stat value to the existing stat value for the currently selected game object (or the local player, if none). Note, use modstat to set the stat value instead. || <statname> - Name of stat to change. Use liststat without params to see options. <amount> - Numeric value to add to the stat value.
battlebp<br>
|-
battleenv<br>
| '''ListStat''' || liststat <statname> {"breakdown"} {"id" <objid>} || The liststat command will show all the stats for the selected objects, or the local player if nothing is selected. Can optionally show the value of a specific stat, and a rough breakdown for that stat. Can also optionally specify an object id to check the stat on, instead of using the selected object or player fallback. || <statname> (Optional)- Name of stat to show the value of. Use liststat without params to see options. <breakdown> (Optional)- Add this parameter to see a rough list of modifiers on this stat. "id" <objid> (Optional)- ID of object to show the stats of, instead of selected object.
battlepaths<br>
|-
battleshipyard<br>
| '''ColonizePlanet''' || colonize <all> || The colonize command will colonize the currently selected planet for the current local player. || <all> (optional) - All uncolonized planets in the galaxy will become colonized. <random> (Optional) - Owner of the planet is chosen randomly. <playerIndex> (Optional) - specify the owner of the planet. <stars> (Optional) - Colonize all uncolonized planets in the system. <spawnbp> (Optional)- Spawn ships in orbit of the planet. Type help spawnbp for more info. <event> <EventName> (Optional) - force a colonization event. If you don't specify the internal name of the event, it picks a random one.
battlestarbase<br>
|-
battlesync<br>
| '''UnlockColonyUpgrade''' || unlockcolonyupgrade || Sets counter to unlock colony upgrade(s) for the current local player. || <name> - Unlocks the specified colony upgrade. <all> - Unlocks all colony upgrades. <allplayers> - Unlocks colony upgrade for all players. <random> - Unlocks a random upgrade. <count> - Number of the colony upgrade that is unlocked (default is 1).
calc<br>
|-
cam<br>
| '''CreateTradeResource''' || createtraderesource <internal name> <tilex> <tiley> || Creates the trade resource at tilex, tiley on currently selected planet. || <resource> - The internal name of the resource to be created. <tilex> - The x location on the planet. <tiley> - The y location on the planet.
cameralock<br>
|-
clearcounter<br>
| '''GiveArtifactPower''' || artifactpower <internalname> <all> <playerindex> <charges> || Gives the player one or more artifact powers. || <internalname> - OPTIONAL: The internal name of the artifact power to be given. If not specified, all powers are granted <charges> - OPTIONAL: the number of charges for the power(s) to be given, defaults to 1. <playerindex> - OPTIONAL: The index of the player to be given the artifact power def(s). Defaults to local player if not specified
clearflag<br>
|-
clearlog<br>
| '''FinishProduction''' || finish <next> || The finish command can be used to complete production on items in the queue at the currently selected colony. If no parameters are given, all items in the queue are completed. || <next> - Specifying the optional parameter "next" will cause only the next item in the queue to be completed.
clone<br>
|-
closeconsole<br>
| '''Event''' || event <internalname> || Runs an arbitrary Galactic Event, or MegaEvent. || <internalname> - The InternalName of the Event or MegaEvent. <noreq> - Specifying the optional parameter "noreq" will trigger the event regardless of any requirements.
colonize<br>
|-
colonyplanetwnd<br>
| '''Unlock''' || unlock <internal name> || The unlock command will unlock the specified tech for the local player. If no tech name is given, then all techs and culture traits will be unlocked. || <internal name> - An optional parameter to specify the internal name of the tech to unlock. Can also be 'all' to unlock all techs. <playerIndex> - An optional parameter to specify the index of the player who unlocks the tech(s). Can also be 'all' to unlock for all players. <prereqs> - An optional parameter that unlocks all techs required by the named tech. <fast> - An optional parameter only does the stat calculations and other side effects once instead of after every tech.
completeresearch<br>
|-
convertasteroidstodurantium<br>
| '''FastUnlock''' || fastunlock || A light weight unlock command that unlocks all the techs as quickly as possible. This does nothing else and takes no parameters. || None.
convertconfigs<br>
|-
convertdeadplanet<br>
| '''CompleteTechResearch''' || completeresearch || The completeresearch command will unlock the current selected tech for the local player. || None.
convertdeadplanettothulium<br>
|-
convertdeadplanettopromethion<br>
| '''AwardResearchPoints''' || awardresearchpoints <amount> || Award the specified number of research points to the local player, progressing the current tech and available for unlocking further techs if not used up. || <amount> - number of research points to award.
createhyperlane<br>
|-
createtraderesource<br>
| '''TransportUnit''' || transportunit || Spawns a unit transport on selected planet to go to the nearest colonized planet with a generic Unit. || None.
debugcinecam<br>
|-
debugstats<br>
| '''GenerateUnit''' || genunit || Spawns a unit. Can specify type for a planetary citizen if a ship or planet is selected. || UnitType (optional). Citizen by default, do not need to specify even if using the amount parameter. Amount (optional). Default is 1.
defendplanets<br>
|-
destroy<br>
| '''GenerateAgent''' || genagent || Spawns an agent. || Amount (optional).
desync<br>
|-
dip<br>
| '''GenerateLegion''' || genlegion || Spawns a general that provides legion resources. || Amount (optional).
dipstate<br>
|-
disablesoak<br>
| '''KillUnits''' || killunits || Kills X number of units. || Amount (optional).
displayflow<br>
|-
displayinfluence<br>
| '''FinishUnitTraining''' || finishtraining || Finishes the training for the player. || None.
dumpresources<br>
|-
enableheapasserts<br>
| '''DefendPlanets''' || defendplanets <all> || Defends all planets of a selected player (or local player if none is selected). || <All> - defend all planets for all players.
event<br>
|-
eventreport<br>
| '''QuickSave''' || quicksave || Quick saves the game. || None.
fastunlock<br>
|-
findstackedobjects<br>
| '''CloseConsole''' || close console || Closes the debug command console. || None.
findstuckships<br>
|-
finish<br>
| '''Destroy''' || destroy <object ID> || The destroy command will destroy the currently selected object if no object ID is provided. || <object ID> - The ID of the object that should be destroyed.
finishtrianing<br>
|-
foreachobject<br>
| '''Fow''' || fow <player index> || The fow command will toggle the fog of war on and off. It can also select which player's fog of war to show based on player index. || <player index> - The player index of whose fog of war should be displayed.
fow<br>
|-
fownc<br>
| '''FowNC''' || fownc <player index> || The fow command will toggle the fog of war on and off (without displaying conversation popups). It can also select which player's fog of war to show based on player index. || <player index> - The player index of whose fog of war should be displayed.
fowtrans<br>
|-
fps<br>
| '''FowTrans''' || fowtrans || The fowtrans command will toggle all objects on the map to be visible through the fog of war. || None.
genagent<br>
|-
genbaselut<br>
| '''DisplayFOW''' || displayfow || The displayfow command will print an ASCII representation of the fog of war. || None.
gencompthumbs<br>
|-
genlegion<br>
| '''Resources''' || resources || Toggles whether or not resources are required for building ships. It will also grant 1000 of every type of resource. || None.
gennormalaa<br>
|-
genunit<br>
| '''KillPlayer''' || killplayer <player index> || The killplayer command will kill a player based on player index. Omitting the player index will kill the local player. || <player index> - The player index that should be killed.
getcountervalue<br>
|-
getobjectid<br>
| '''Desync''' || force desync error || This command induces a desync error and associated logging. || None.
getowner<br>
|-
gettile<br>
| '''ResetRandomSeed''' || reset the game random stream's seed || This will reset the game random stream back to a new seed for testing purposes. || <seed> - (Optional) New seed to use for the random stream. If not supplied, it will generate the random stream seed using like game startup.
god<br>
|-
gototile<br>
| '''ToggleAI''' || ai <hold> || This will toggle the local play to be AI and back. The parameter "hold" will allow the user to increment the next turn instead of the AI doing it automatically. || <hold> - Prevent the AI from automatically ending the turn. Let the user press the turn button.
grantrandomtechtoall<br>
|-
hasflag<br>
| '''DisplayInfluence''' || displayinfluence || The displayinfluence command will print an ASCII representation of the influence map. || None.
help<br>
|-
hideui<br>
| '''DiplomacyState''' || dipstate <state> <player index> <player index> || Sets the diplomacy state between two players. The players must be identified by their index ID. The player indices can be omitted in which case the state will be assigned between all players. || <state> - The diplomatic state to set. (Friendly, Foreign, Enemy, Trading). <player index> - The player index of the first player. <player index> - The player index of the second player. This must be given if the first player index is given.
highlightselection<br>
|-
hotkeys<br>
| '''GodMode''' || god || Toggles the ability for the local player to control every player's empire. || None.
hotload<br>
|-
info<br>
| '''Fps''' || fps || Toggles the display framerate, draw call, and rendering info over the screen. || None.
killplayer<br>
|-
killunits<br>
| '''HideUI''' || hideui || The hideui command toggles UI visibility. || None.
lighting<br>
|-
listbinks<br>
| '''SetGov''' || setgov <internal name> || Sets the government def for the local player. Pass in an empty parameter to clear it. || <internal name> - Internal name of the government to assign to the player.
listplayers<br>
|-
liststat<br>
| '''LocalPlayer''' || localplayer <player index> || Changes the local player to be the specified player index. || <player index> - The player index the local player will assume control of. "Selected" for the player index will switch the local player to the owner of the selected object.
loadcampaign<br>
|-
loadscenario<br>
| '''ShowMemory''' || showmem || The showmem command displays memory usage information. || None.
localplayer<br>
|-
losegame<br>
| '''GenerateUnusedAssetReport''' || assetreport || The assetreport command creates an asset usage report in the directory %s. || None. %s refers to CBasicGameShell::GetInstance()->GetUserDefinedDataDir().
mark<br>
|-
modcredits<br>
| '''SaveLog''' || savelog <file> || The savelog command writes the current contents of the console log. If no file name is provided, the contents will be written to %s by default. || <file> - Filename that the console log should be written to. The file is saved at %s. %s refers to GetDebugFile(), CBasicGameShell::GetInstance()->GetUserDefinedDataDir().
modcult<br>
|-
modpop<br>
| '''DisableTurnActions''' || turn || Toggle if you are forced to deal with idle ships and colonies before ending the turn. || None.
modstat<br>
|-
movetoopentile<br>
| '''Cam''' || cam || Prints position data for the camera. || None.
mwinreport<br>
|-
nodereport<br>
| '''GenCompThumbs''' || gencompthumbs || Generates thumbnails for ship components. || None.
objectgfxconfig<br>
|-
placegov<br>
| '''GenConfigThumbs''' || genconfigthumbs || Generates thumbnails for all object gfx configs. || <large> - An optional parameter to force generation of large thumbnails.
quicksave<br>
|-
quickstart<br>
| '''GenNormalAA''' || gennormalaa || Generates normal maps with specular-aa data for each texture set. || None.
range<br>
|-
reportnodes<br>
| '''Help''' || help <command> || The help command shows a list of commands. || <command> - Providing a command as a parameter shows additional information about that command.
resetlighting<br>
|-
resetmercs<br>
| '''ClearLog''' || clearlog || The clearlog command clears the console log. || None.
resetrandomseed<br>
|-
resources<br>
| '''Lighting''' || lighting || Activates the lighting options in the main map screen. || None.
resumesoak<br>
|-
run<br>
| '''Range''' || range || Toggles unlimited range for local player. || None.
savelog<br>
|-
scenedesc<br>
| '''SectorLines''' || sectorlines || The sectorlines command will toggle the rectangular sector lines on and off. || None. (Note: Only available in DEBUG builds.)
sectorlines<br>
|-
setcounter<br>
| '''ShowRallyPoints''' || showRallyPoints || The showRallyPoints command will toggle the other player rally points on and off. || None. (Note: Only available in DEBUG builds.)
setdebuglevel<br>
|-
setflag<br>
| '''CameraLock''' || cameralock || Toggles the camera tilt lock on/off. || None.
setgov<br>
|-
setlut<br>
| '''ObjectGfxConfig''' || objectgfxconfig <option> <source> <output> || Generates an objectgfxconfig binary file by placing the specified model at the origin. || <option> - must be: dir; <source> - source directory where FBX files are located; <output> - output file name (only required if option is file).
setshiptarget<br>
|-
shipsaveauthor<br>
| '''ResetLighting''' || resetlighting <scenename> || Resets specified scene to original lighting settings in xml. || <scenename> - must be one of the following: mainmap - main map scene.
showrallypoints<br>
|-
showoes<br>
| '''ConvertConfigs''' || convertconfigs || Saves loaded object gfx configs with the current version. || None.
showblockedtiles<br>
|-
showcounters<br>
| '''UPPrime''' || upprime || Primes the United Planets, so you don't have to meet half of the other factions. || None.
showdifficulties<br>
|-
showmem<br>
| '''UPMeeting''' || upmeeting || Immediately opens a United Planets meeting once you close the debug console. || None.
soak<br>
|-
sounds<br>
| '''Soak''' || soak <numTurns> || Calls several commands that are useful for soak testing. || <numTurns> - (optional) Number of turns to run the soak for. If left out, soak will run indefinitely.
spawn<br>
|-
spawnanomaly<br>
| '''DisableSoak''' || disablesoak || Disables soak for the player, or all players in MP. || None.
spawnantimatter<br>
|-
spawnartifact<br>
| '''ResumeSoak''' || resumesoak || Similar to soak command, but checks to see if turns are disabled before toggling ForceTurnActions and if the AI is active before toggling it. || NONE.
spawnbp<br>
|-
spawnelerium<br>
| '''SpawnShips''' || spawn <shipdesignname> <ownerplayerindex> || Creates several ships of specified type (and with specified owner) in the tiles around the selected ship. || <shipdesignname> - Ship design name to spawn; <ownerplayerindex> - The player index of the player who will own the new ships.
spawnfaction<br>
|-
spawnhypergate<br>
| '''SpawnBattle''' || battle <shipdesignname> <ownerplayerindex1> <ownerplayerindex1> || Creates several ships of specified type (and with specified owners) in the tiles around the selected ship. || <shipdesignname> - Ship design name to spawn; <ownerplayerindex1> - (optional) Player index who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
spawnplanet<br>
|-
spawnrelic<br>
| '''SpawnShipsBlueprint''' || spawnbp <blueprintname> <ownerplayerindex> <count> || Creates several ships of specified blueprint (and with specified owner) in the unblocked tiles around the selected ship. || <blueprintname> - Blueprint name to spawn; <ownerplayerindex> - (optional) Player index who will own the new ships; <count> - (optional) Number of ships to spawn.
spawnshipyard<br>
|-
spawnstarbase<br>
| '''SpawnBattleBlueprint''' || battlebp <blueprintname> <ownerplayerindex1> <ownerplayerindex1> || Creates several ships of specified blueprint (and with specified owners) in the tiles around the selected ship. || <blueprintname> - Blueprint name to spawn; <ownerplayerindex1> - (optional) Player index who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
spawnterrorstar<br>
|-
stopsounds<br>
| '''SpawnStarbase''' || spawnstarbase <ownerplayerindex1> || Creates several starbases (and with specified owners) in the tiles around the selected ship. || <ownerplayerindex1> - (optional) The player index of the player who will own the new starbases.
surrender<br>
|-
test<br>
| '''SpawnBattleStarbase''' || battlestarbase <ownerplayerindex1> <ownerplayerindex1> || Creates several starbases (with specified owners) in the tiles around the selected ship. || <ownerplayerindex1> - (optional) The player index of the player who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
togglerebellionstatus<br>
|-
tracerandom<br>
| '''SpawnShipyard''' || spawnshipyard <ownerplayerindex1> || Creates several shipyards (and with specified owners) in the tiles around the selected ship. || <ownerplayerindex1> - (optional) The player index of the player who will own the new shipyards.
turn<br>
|-
unlock<br>
| '''SpawnHypergate''' || spawnhypergate <ownerplayerindex1> || Creates several hypergates (and with specified owners) in the tiles around the selected ship. || <ownerplayerindex1> - (optional) The player index of the player who will own the new hypergates.
unlockcolonyupgrade<br>
|-
upmeeting<br>
| '''SpawnTerrorStar''' || spawnterrorstar <ownerplayerindex1> || Creates a terror star with the given player near the selected object. || <ownerplayerindex1> - (optional) The player index of the player who will own the new terror star; <level> - (optional) The level of Terror Star to spawn.
upprime<br>
|-
victorycondition<br>
| '''SpawnBattleShipyard''' || battleshipyard <ownerplayerindex1> <ownerplayerindex1> || Creates several shipyards (with specified owners) in the tiles around the selected ship. || <ownerplayerindex1> - (optional) Player index who will own half of the new shipyards; <ownerplayerindex2> - (optional) Player index who will own the other half.
watermark<br>
|-
wingame<br>
| '''SpawnPlanet''' || spawns a planet using specified planet def in selected star's system || Spawns a planet using specified planet def in selected star's system. || <planetDef> - PlanetDef for the new planet; <planetClass> - Class for new planet.
|-
| '''SpawnFaction''' || spawnfaction <factionname> || Creates a new faction. || <factionname> - Name of faction; <campaignID> - Name of campaign ID; <starting population> - Starting population of planet; <planet class> - Class of starting planet; <starting ship factor> - (Optional) Multiplier for starting ships/shipyard.
|-
| '''Assassination''' || assassination || Causes an assassination between player and faction with closest relation not on same team. || None.
|-
| '''SpawnArtifact''' || spawnartifact || Creates a new artifact (and awards it to the weakest player). || None.
|-
| '''SpawnAnomaly''' || spawnanoamly || Creates a random new anomaly in a random location. || <count> - Number to create; <name> - Specific anomaly def to use.
|-
| '''ConvertDeadPlanet''' || convertdeadplanet || Converts a random dead planet to be usable. || <class> - Planet class to convert dead planet to; <count> - Number of planets to convert.
|-
| '''ConvertDeadPlanetToThulium''' || convertdeadplanettothulium || Converts N random dead planet(s) into a Thulium resource(s). || <count> - Number to convert.
|-
| '''ConvertAsteroidsToDurantium''' || convertasteroidstodurantium || Converts N random asteroid(s) into a Durantium resource(s). || <count> - Number to convert.
|-
| '''ConvertGasGiantToPromethion''' || convertgasgianttopromethion || Converts N random Gas Giant(s) into a Promethion resource(s). || <count> - Number to convert.
|-
| '''SpawnElerium''' || spawnelerium || Spawns an Elerium resource in a random empty location (in a nebula). || <count> - Number to create.
|-
| '''SpawnRelic''' || spawnrelic || Spawns a Relic resource in a random empty location. || <count> - Number to create.
|-
| '''SpawnAntimatter''' || spawnantimatter || Spawns an Antimatter resource in a random empty location (around a black hole). || <count> - Number to create.
|-
| '''GrantRandomTechToAll''' || grantrandomtechtoall || Determines a random tech that all players don't have and gives it to them. || None.
|-
| '''Sounds''' || sounds || Prints a list of all sound instances, as reported by Miles Sound System. || None.
|-
| '''StopSounds''' || stopsounds || Stops all sound instances in Miles Sound System. Use to kill leaked SFX loops. || None.
|-
| '''Hotkeys''' || hotkeys || Toggles whether cheat hot keys are enabled. || None.
|-
| '''BattleSync''' || battlesync || Toggles whether battle viewer is in synch-mode. || None.
|-
| '''BattleBox''' || battlebox <starboxname> || Sets the star box for the battle viewer to use in battles. || <starboxname> - (optional) Name of the star box.
|-
| '''BattlePaths''' || battlepaths || Toggles whether battle viewer displays the ship paths. || None.
|-
| '''Run''' || run <textfilename> || Runs the commands specified in the file: textfilename. || <textfilename> - Name of the file containing commands.
|-
| '''Info''' || info || Prints debugging information about the selected target. || None.
|-
| '''DebugCineCam''' || debugcinecam || Toggles cinematic camera selector in battle viewer window. || None.
|-
| '''CalcSelectedObject''' || calc || Recalculates the stats for the currently selected object. || None.
|-
| '''DiplomacyCheat''' || dip <offset> || This cheat will offset your current diplomacy score with everyone by the given amount. || <offset> - The amount to change the local player's relation.
|-
| '''PrintMWinTable''' || mwinreport || Print out the results of DebugOutputMWinLookupTable(). || None.
|-
| '''MarkTick''' || mark || Adds the current game tick to the Event Report. || None.
|-
| '''PrintEventReport''' || eventreport || Print out the Event Report. || None.
|-
| '''ListBinks''' || listbinks || Lists the loaded binks in the console and debug.err log. || None.
|-
| '''ShipSaveAuthor''' || shipsaveauthor <scenename> || When off, any ships created will not attempt to save an author. || <scenename> - Scene name.
|-
| '''EnableHeapAsserts''' || enableheapasserts || Disables asserts for the scene node pools when they run out of nodes and use the heap. || None.
|-
| '''WinGame''' || wingame || Kills all players except for the local player. Game will end. || None.
|-
| '''LoseGame''' || losegame || Kills the local player. Game will end. || None.
|-
| '''VictoryCondition''' || victorycondition <Condition> <true|false> || Allows you to enable or disable victory conditions. || <Condition> - The victory condition type. <true|false> - true or false.
|-
| '''AllMercs''' || allmercs <next> || Makes all mercenaries available for purchase. || None.
|-
| '''ResetMercs''' || resetmercs || Any mercenaries that were purchased already will be purchasable again. || None.
|-
| '''TestCode''' || test || Developer only command. Go away. || None.
|-
| '''MoveToOpenTile''' || movetoopentile || Moves the selected ship to an open tile. || None.
|-
| '''SetDebugLevel''' || setdebuglevel <category> <level> || Sets the debug level for the specified category. || <category> - Debug filter category. <level> - Debug filter level.
|-
| '''Surrender''' || surrender <surrendering player index> <conquering player index> <beneficiary player index> || Forces a player to surrender. || <surrendering player index> - AI player to surrender. <conquering player index> - AI player that conquering. <beneficiary player index> - AI player that conquering.
|-
| '''GetOwner''' || getowner || Returns the owner of the selected object. || <index>/<id> - Returns the index or id.
|-
| '''GetTile''' || gettile || Returns the tile of the selected object. || None.
|-
| '''GetObjectID''' || getobjectid || Returns the objectID of the selected object. || None.
|-
| '''SetShipTarget''' || setshiptarget || Sets the target for the selected ship and sets AI assignment. || <id> - Id of object to target.
|-
| '''CreateHyperlane''' || createhyperlane <startX,startY> <destX,destY> || Creates a hyperlane between the given tile coordinates. || <startX,startY> - Start tile coordinates. <destX,destY> - Destination tile coordinates.
|-
| '''Hotload''' || hotload || Sets IsReadyToHotload to true. || None.
|-
| '''QuickStart''' || quickstart || Starts a new game from quickstart settings. || None.
|-
| '''FindStackedObjects''' || findstackedobjects || Finds objects occupying the same tile as something else. || <objectType> - Type of object to check.
|-
| '''FindStuckShips''' || findstuckships || Lists ships that are stuck under planets or other objects. || None.
|-
| '''GoToTile''' || gototile <tileX,tileY> || Moves camera to specified tile if valid. || <tileX,tileY> - Tile coordinates.
|-
| '''ToggleRebellionStatus''' || togglerebellionstatus || Toggles the rebellion status of a selected planet. || None.
|-
| '''ShowDifficulties''' || showdifficulties || Print the galaxy and AI difficulties to debug.err. || None.
|-
| '''ShowCounters''' || showcounters || List all the counters on the selected object. || None.
|-
| '''SetFlag''' || setflag <flag name> || Set a flag on the selected object. || <flag name> - Name of the flag to set.
|-
| '''ClearFlag''' || clearflag <flag name> || Clear a flag on the selected object. || <flag name> - Name of the flag to clear.
|-
| '''HasFlag''' || hasflag <flag name> || Checks for a flag on the selected object. || <flag name> - Name of the flag to check.
|-
| '''SetCounter''' || setcounter <counter name> <new value> || Set a counter on the selected object. || <counter name> - Name of the counter. <new value> - Value to set.
|-
| '''ClearCounter''' || clearcounter <counter name> || Sets a counter on the selected object to 0. || <counter name> - Name of the counter.
|-
| '''GetCounterValue''' || getcountervalue <counter name> || Gets the value for a counter on the selected object. || <counter name> - Name of the counter.
|-
| '''PlaceGovernor''' || placegov || Creates and assigns a governor at the selected colony. || None.
|-
| '''ToggleBetaWatermark''' || watermark || Hides or unhides the Beta Watermark. || None.
|-
| '''ToggleAllowColonyPlanetWnd''' || colonyplanetwnd || Allows you to bring up colony worlds in the planet wnd. || None.
|-
| '''ShowAOEs''' || showaoes || Toggle for changing the AOE preview system to show all AOE objects. || None.
|-
| '''AddThinktank''' || addthinktank || Adds a leader to the specified thinktank. || <thinktank internal name> - Internal name of the thinktank.
|-
| '''Clone''' || clone <playerIdx> || Clones the selected object, and optionally grants it to another player. || <playerIdx> - Index of alternate player.
|-
| '''AIOfferTrade''' || aioffertrade <playerIdx> || Forces an AI player to make a trade offer to the local player. || <playerIdx> - Index of the AI player.
|-
| '''NodeReport''' || lists the current state of the scene node util || Lists the current state of the scene node util. || None.
|-
| '''ShowBlockedTiles''' || Shows blocked tiles in radius around the selected ship. || None.
|-
| '''ForEachObject''' || foreachobject <objecttype> <owner|owned status> <command> <command params> || Attempts to run a command for each object of the specified type. || <objecttype> - Type of the object. <owner|owned status> - Owner status. <command> <command params> - Debug command and parameters.
|-
| '''ListPlayers''' || listplayers || List all the players in the game, with their faction name and player index. || <major> - List only major players.
|-
| '''BattleEnvironment''' || battleenv <envDefName> || Sets the battle viewer environment override. || <envDefName> - EnvironmentDef to use as override.
|-
| '''GenBaseLUT''' || genbaselut || Generates a base lut texture. || None.
|-
| '''SetLUT''' || setlut || Sets the current lut texture. || None.
|-
| '''LoadScenario''' || loadscenario || Loads the specified scenario. || <scenario> - Internal name of the scenarioDef.
|-
| '''LoadCampaign''' || loadcampaign || Loads the specified campaign. || <campaign> - Internal name of the campaignDef.
|-
| '''HighlightSelection''' || highlightselection || Chooses the highlighted index within your selection. || <index> - Index of the object within your selection.
|-
| '''ReportNodes''' || reportnodes || Generates report showing how many of each type of node are rendered. || None.
|-
| '''DebugStats''' || debugstats [dump] || Enables debug stats in the timeline views. || dump - (optional) Include to save each debug stat.
|-
| '''DumpObjGfxIDs''' || dumpobjgfxids || Dumps obj gfx Ids debug data to debug.err file. || None.
|-
| '''DumpShipDesigns''' || dumpshipdesigns || Dumps ship designs to a csv file. || None.
|-
| '''SceneDesc''' || scenedesc [dump] || Dumps scene description debug data to debug.err file. || None.
|-
| '''DumpResources''' || dumpresources [type] [sort] [sorttype] || Dumps the resources currently in memory. || type - (optional) Resource type. sort - (optional) Sort resources. sorttype - (optional) Criterion for sorting.
|-
| '''Asserts''' || assserts <on | off | once> || Enables or disables asserts. || on - Asserts on. off - Asserts off. once - Asserts on, but skip duplicates.
|-
| '''TraceRandom''' || tracerandom <on | off> || Enables or disables logging for random streams. || on - Enables logging. off - Disables logging.
|-
| '''PointLightBounds''' || pointlightbounds || Toggles the bound boxes for point lights. || None.
|-
}}

Revision as of 19:13, 12 January 2024

Console Commands

In order to enable console commands, enter "Cheat" into the launch options as shown on steam here:


Then, bring up the console in your game with the backtick key ` (frequently also called the ~ key; normally located below the ESC key).
Use "help <command>" in-game to see more information about each command below:

}}
Console Command Console Input Description Parameters
ModifyCredits modcredits <amount> The modcredits command will modify the local player's credits by the value provided. <amount> - numeric value to modify the credits by.
ModifyPopulation modpop <amount> The modpop command will change the population of the colony on the currently selected planet. This works for any player's colony. <amount> - numeric value to modify the population by.
ModifyCulturePoints modcult <amount> The modcult command will modify the local player's culture (ideology) points by the value provided, which affects the discount for the traits. <amount> - numeric value to modify the culture (ideology) points by. <ideology> - specific ideology to increase the points.
ModifyStat modstat <amount> The modstat command will set a specified stat value for the currently selected game object (or the local player, if none). Note, use addstat to add to existing stat value instead. <statname> - Name of stat to change. Use liststat without params to see options. <amount> - Numeric value to set the stat to.
AddStat addstat <amount> The addstat command will add a specified stat value to the existing stat value for the currently selected game object (or the local player, if none). Note, use modstat to set the stat value instead. <statname> - Name of stat to change. Use liststat without params to see options. <amount> - Numeric value to add to the stat value.
ListStat liststat <statname> {"breakdown"} {"id" <objid>} The liststat command will show all the stats for the selected objects, or the local player if nothing is selected. Can optionally show the value of a specific stat, and a rough breakdown for that stat. Can also optionally specify an object id to check the stat on, instead of using the selected object or player fallback. <statname> (Optional)- Name of stat to show the value of. Use liststat without params to see options. <breakdown> (Optional)- Add this parameter to see a rough list of modifiers on this stat. "id" <objid> (Optional)- ID of object to show the stats of, instead of selected object.
ColonizePlanet colonize <all> The colonize command will colonize the currently selected planet for the current local player. <all> (optional) - All uncolonized planets in the galaxy will become colonized. <random> (Optional) - Owner of the planet is chosen randomly. <playerIndex> (Optional) - specify the owner of the planet. <stars> (Optional) - Colonize all uncolonized planets in the system. <spawnbp> (Optional)- Spawn ships in orbit of the planet. Type help spawnbp for more info. <event> <EventName> (Optional) - force a colonization event. If you don't specify the internal name of the event, it picks a random one.
UnlockColonyUpgrade unlockcolonyupgrade Sets counter to unlock colony upgrade(s) for the current local player. <name> - Unlocks the specified colony upgrade. <all> - Unlocks all colony upgrades. <allplayers> - Unlocks colony upgrade for all players. <random> - Unlocks a random upgrade. <count> - Number of the colony upgrade that is unlocked (default is 1).
CreateTradeResource createtraderesource <internal name> <tilex> <tiley> Creates the trade resource at tilex, tiley on currently selected planet. <resource> - The internal name of the resource to be created. <tilex> - The x location on the planet. <tiley> - The y location on the planet.
GiveArtifactPower artifactpower <internalname> <all> <playerindex> <charges> Gives the player one or more artifact powers. <internalname> - OPTIONAL: The internal name of the artifact power to be given. If not specified, all powers are granted <charges> - OPTIONAL: the number of charges for the power(s) to be given, defaults to 1. <playerindex> - OPTIONAL: The index of the player to be given the artifact power def(s). Defaults to local player if not specified
FinishProduction finish <next> The finish command can be used to complete production on items in the queue at the currently selected colony. If no parameters are given, all items in the queue are completed. <next> - Specifying the optional parameter "next" will cause only the next item in the queue to be completed.
Event event <internalname> Runs an arbitrary Galactic Event, or MegaEvent. <internalname> - The InternalName of the Event or MegaEvent. <noreq> - Specifying the optional parameter "noreq" will trigger the event regardless of any requirements.
Unlock unlock <internal name> The unlock command will unlock the specified tech for the local player. If no tech name is given, then all techs and culture traits will be unlocked. <internal name> - An optional parameter to specify the internal name of the tech to unlock. Can also be 'all' to unlock all techs. <playerIndex> - An optional parameter to specify the index of the player who unlocks the tech(s). Can also be 'all' to unlock for all players. <prereqs> - An optional parameter that unlocks all techs required by the named tech. <fast> - An optional parameter only does the stat calculations and other side effects once instead of after every tech.
FastUnlock fastunlock A light weight unlock command that unlocks all the techs as quickly as possible. This does nothing else and takes no parameters. None.
CompleteTechResearch completeresearch The completeresearch command will unlock the current selected tech for the local player. None.
AwardResearchPoints awardresearchpoints <amount> Award the specified number of research points to the local player, progressing the current tech and available for unlocking further techs if not used up. <amount> - number of research points to award.
TransportUnit transportunit Spawns a unit transport on selected planet to go to the nearest colonized planet with a generic Unit. None.
GenerateUnit genunit Spawns a unit. Can specify type for a planetary citizen if a ship or planet is selected. UnitType (optional). Citizen by default, do not need to specify even if using the amount parameter. Amount (optional). Default is 1.
GenerateAgent genagent Spawns an agent. Amount (optional).
GenerateLegion genlegion Spawns a general that provides legion resources. Amount (optional).
KillUnits killunits Kills X number of units. Amount (optional).
FinishUnitTraining finishtraining Finishes the training for the player. None.
DefendPlanets defendplanets <all> Defends all planets of a selected player (or local player if none is selected). <All> - defend all planets for all players.
QuickSave quicksave Quick saves the game. None.
CloseConsole close console Closes the debug command console. None.
Destroy destroy <object ID> The destroy command will destroy the currently selected object if no object ID is provided. <object ID> - The ID of the object that should be destroyed.
Fow fow <player index> The fow command will toggle the fog of war on and off. It can also select which player's fog of war to show based on player index. <player index> - The player index of whose fog of war should be displayed.
FowNC fownc <player index> The fow command will toggle the fog of war on and off (without displaying conversation popups). It can also select which player's fog of war to show based on player index. <player index> - The player index of whose fog of war should be displayed.
FowTrans fowtrans The fowtrans command will toggle all objects on the map to be visible through the fog of war. None.
DisplayFOW displayfow The displayfow command will print an ASCII representation of the fog of war. None.
Resources resources Toggles whether or not resources are required for building ships. It will also grant 1000 of every type of resource. None.
KillPlayer killplayer <player index> The killplayer command will kill a player based on player index. Omitting the player index will kill the local player. <player index> - The player index that should be killed.
Desync force desync error This command induces a desync error and associated logging. None.
ResetRandomSeed reset the game random stream's seed This will reset the game random stream back to a new seed for testing purposes. <seed> - (Optional) New seed to use for the random stream. If not supplied, it will generate the random stream seed using like game startup.
ToggleAI ai <hold> This will toggle the local play to be AI and back. The parameter "hold" will allow the user to increment the next turn instead of the AI doing it automatically. <hold> - Prevent the AI from automatically ending the turn. Let the user press the turn button.
DisplayInfluence displayinfluence The displayinfluence command will print an ASCII representation of the influence map. None.
DiplomacyState dipstate <state> <player index> <player index> Sets the diplomacy state between two players. The players must be identified by their index ID. The player indices can be omitted in which case the state will be assigned between all players. <state> - The diplomatic state to set. (Friendly, Foreign, Enemy, Trading). <player index> - The player index of the first player. <player index> - The player index of the second player. This must be given if the first player index is given.
GodMode god Toggles the ability for the local player to control every player's empire. None.
Fps fps Toggles the display framerate, draw call, and rendering info over the screen. None.
HideUI hideui The hideui command toggles UI visibility. None.
SetGov setgov <internal name> Sets the government def for the local player. Pass in an empty parameter to clear it. <internal name> - Internal name of the government to assign to the player.
LocalPlayer localplayer <player index> Changes the local player to be the specified player index. <player index> - The player index the local player will assume control of. "Selected" for the player index will switch the local player to the owner of the selected object.
ShowMemory showmem The showmem command displays memory usage information. None.
GenerateUnusedAssetReport assetreport The assetreport command creates an asset usage report in the directory %s. None. %s refers to CBasicGameShell::GetInstance()->GetUserDefinedDataDir().
SaveLog savelog <file> The savelog command writes the current contents of the console log. If no file name is provided, the contents will be written to %s by default. <file> - Filename that the console log should be written to. The file is saved at %s. %s refers to GetDebugFile(), CBasicGameShell::GetInstance()->GetUserDefinedDataDir().
DisableTurnActions turn Toggle if you are forced to deal with idle ships and colonies before ending the turn. None.
Cam cam Prints position data for the camera. None.
GenCompThumbs gencompthumbs Generates thumbnails for ship components. None.
GenConfigThumbs genconfigthumbs Generates thumbnails for all object gfx configs. <large> - An optional parameter to force generation of large thumbnails.
GenNormalAA gennormalaa Generates normal maps with specular-aa data for each texture set. None.
Help help <command> The help command shows a list of commands. <command> - Providing a command as a parameter shows additional information about that command.
ClearLog clearlog The clearlog command clears the console log. None.
Lighting lighting Activates the lighting options in the main map screen. None.
Range range Toggles unlimited range for local player. None.
SectorLines sectorlines The sectorlines command will toggle the rectangular sector lines on and off. None. (Note: Only available in DEBUG builds.)
ShowRallyPoints showRallyPoints The showRallyPoints command will toggle the other player rally points on and off. None. (Note: Only available in DEBUG builds.)
CameraLock cameralock Toggles the camera tilt lock on/off. None.
ObjectGfxConfig objectgfxconfig <option> <source> <output> Generates an objectgfxconfig binary file by placing the specified model at the origin. <option> - must be: dir; <source> - source directory where FBX files are located; <output> - output file name (only required if option is file).
ResetLighting resetlighting <scenename> Resets specified scene to original lighting settings in xml. <scenename> - must be one of the following: mainmap - main map scene.
ConvertConfigs convertconfigs Saves loaded object gfx configs with the current version. None.
UPPrime upprime Primes the United Planets, so you don't have to meet half of the other factions. None.
UPMeeting upmeeting Immediately opens a United Planets meeting once you close the debug console. None.
Soak soak <numTurns> Calls several commands that are useful for soak testing. <numTurns> - (optional) Number of turns to run the soak for. If left out, soak will run indefinitely.
DisableSoak disablesoak Disables soak for the player, or all players in MP. None.
ResumeSoak resumesoak Similar to soak command, but checks to see if turns are disabled before toggling ForceTurnActions and if the AI is active before toggling it. NONE.
SpawnShips spawn <shipdesignname> <ownerplayerindex> Creates several ships of specified type (and with specified owner) in the tiles around the selected ship. <shipdesignname> - Ship design name to spawn; <ownerplayerindex> - The player index of the player who will own the new ships.
SpawnBattle battle <shipdesignname> <ownerplayerindex1> <ownerplayerindex1> Creates several ships of specified type (and with specified owners) in the tiles around the selected ship. <shipdesignname> - Ship design name to spawn; <ownerplayerindex1> - (optional) Player index who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
SpawnShipsBlueprint spawnbp <blueprintname> <ownerplayerindex> <count> Creates several ships of specified blueprint (and with specified owner) in the unblocked tiles around the selected ship. <blueprintname> - Blueprint name to spawn; <ownerplayerindex> - (optional) Player index who will own the new ships; <count> - (optional) Number of ships to spawn.
SpawnBattleBlueprint battlebp <blueprintname> <ownerplayerindex1> <ownerplayerindex1> Creates several ships of specified blueprint (and with specified owners) in the tiles around the selected ship. <blueprintname> - Blueprint name to spawn; <ownerplayerindex1> - (optional) Player index who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
SpawnStarbase spawnstarbase <ownerplayerindex1> Creates several starbases (and with specified owners) in the tiles around the selected ship. <ownerplayerindex1> - (optional) The player index of the player who will own the new starbases.
SpawnBattleStarbase battlestarbase <ownerplayerindex1> <ownerplayerindex1> Creates several starbases (with specified owners) in the tiles around the selected ship. <ownerplayerindex1> - (optional) The player index of the player who will own half of the new ships; <ownerplayerindex2> - (optional) Player index who will own the other half.
SpawnShipyard spawnshipyard <ownerplayerindex1> Creates several shipyards (and with specified owners) in the tiles around the selected ship. <ownerplayerindex1> - (optional) The player index of the player who will own the new shipyards.
SpawnHypergate spawnhypergate <ownerplayerindex1> Creates several hypergates (and with specified owners) in the tiles around the selected ship. <ownerplayerindex1> - (optional) The player index of the player who will own the new hypergates.
SpawnTerrorStar spawnterrorstar <ownerplayerindex1> Creates a terror star with the given player near the selected object. <ownerplayerindex1> - (optional) The player index of the player who will own the new terror star; <level> - (optional) The level of Terror Star to spawn.
SpawnBattleShipyard battleshipyard <ownerplayerindex1> <ownerplayerindex1> Creates several shipyards (with specified owners) in the tiles around the selected ship. <ownerplayerindex1> - (optional) Player index who will own half of the new shipyards; <ownerplayerindex2> - (optional) Player index who will own the other half.
SpawnPlanet spawns a planet using specified planet def in selected star's system Spawns a planet using specified planet def in selected star's system. <planetDef> - PlanetDef for the new planet; <planetClass> - Class for new planet.
SpawnFaction spawnfaction <factionname> Creates a new faction. <factionname> - Name of faction; <campaignID> - Name of campaign ID; <starting population> - Starting population of planet; <planet class> - Class of starting planet; <starting ship factor> - (Optional) Multiplier for starting ships/shipyard.
Assassination assassination Causes an assassination between player and faction with closest relation not on same team. None.
SpawnArtifact spawnartifact Creates a new artifact (and awards it to the weakest player). None.
SpawnAnomaly spawnanoamly Creates a random new anomaly in a random location. <count> - Number to create; <name> - Specific anomaly def to use.
ConvertDeadPlanet convertdeadplanet Converts a random dead planet to be usable. <class> - Planet class to convert dead planet to; <count> - Number of planets to convert.
ConvertDeadPlanetToThulium convertdeadplanettothulium Converts N random dead planet(s) into a Thulium resource(s). <count> - Number to convert.
ConvertAsteroidsToDurantium convertasteroidstodurantium Converts N random asteroid(s) into a Durantium resource(s). <count> - Number to convert.
ConvertGasGiantToPromethion convertgasgianttopromethion Converts N random Gas Giant(s) into a Promethion resource(s). <count> - Number to convert.
SpawnElerium spawnelerium Spawns an Elerium resource in a random empty location (in a nebula). <count> - Number to create.
SpawnRelic spawnrelic Spawns a Relic resource in a random empty location. <count> - Number to create.
SpawnAntimatter spawnantimatter Spawns an Antimatter resource in a random empty location (around a black hole). <count> - Number to create.
GrantRandomTechToAll grantrandomtechtoall Determines a random tech that all players don't have and gives it to them. None.
Sounds sounds Prints a list of all sound instances, as reported by Miles Sound System. None.
StopSounds stopsounds Stops all sound instances in Miles Sound System. Use to kill leaked SFX loops. None.
Hotkeys hotkeys Toggles whether cheat hot keys are enabled. None.
BattleSync battlesync Toggles whether battle viewer is in synch-mode. None.
BattleBox battlebox <starboxname> Sets the star box for the battle viewer to use in battles. <starboxname> - (optional) Name of the star box.
BattlePaths battlepaths Toggles whether battle viewer displays the ship paths. None.
Run run <textfilename> Runs the commands specified in the file: textfilename. <textfilename> - Name of the file containing commands.
Info info Prints debugging information about the selected target. None.
DebugCineCam debugcinecam Toggles cinematic camera selector in battle viewer window. None.
CalcSelectedObject calc Recalculates the stats for the currently selected object. None.
DiplomacyCheat dip <offset> This cheat will offset your current diplomacy score with everyone by the given amount. <offset> - The amount to change the local player's relation.
PrintMWinTable mwinreport Print out the results of DebugOutputMWinLookupTable(). None.
MarkTick mark Adds the current game tick to the Event Report. None.
PrintEventReport eventreport Print out the Event Report. None.
ListBinks listbinks Lists the loaded binks in the console and debug.err log. None.
ShipSaveAuthor shipsaveauthor <scenename> When off, any ships created will not attempt to save an author. <scenename> - Scene name.
EnableHeapAsserts enableheapasserts Disables asserts for the scene node pools when they run out of nodes and use the heap. None.
WinGame wingame Kills all players except for the local player. Game will end. None.
LoseGame losegame Kills the local player. Game will end. None.
VictoryCondition false> Allows you to enable or disable victory conditions. false> - true or false.
AllMercs allmercs <next> Makes all mercenaries available for purchase. None.
ResetMercs resetmercs Any mercenaries that were purchased already will be purchasable again. None.
TestCode test Developer only command. Go away. None.
MoveToOpenTile movetoopentile Moves the selected ship to an open tile. None.
SetDebugLevel setdebuglevel <category> <level> Sets the debug level for the specified category. <category> - Debug filter category. <level> - Debug filter level.
Surrender surrender <surrendering player index> <conquering player index> <beneficiary player index> Forces a player to surrender. <surrendering player index> - AI player to surrender. <conquering player index> - AI player that conquering. <beneficiary player index> - AI player that conquering.
GetOwner getowner Returns the owner of the selected object. <index>/<id> - Returns the index or id.
GetTile gettile Returns the tile of the selected object. None.
GetObjectID getobjectid Returns the objectID of the selected object. None.
SetShipTarget setshiptarget Sets the target for the selected ship and sets AI assignment. <id> - Id of object to target.
CreateHyperlane createhyperlane <startX,startY> <destX,destY> Creates a hyperlane between the given tile coordinates. <startX,startY> - Start tile coordinates. <destX,destY> - Destination tile coordinates.
Hotload hotload Sets IsReadyToHotload to true. None.
QuickStart quickstart Starts a new game from quickstart settings. None.
FindStackedObjects findstackedobjects Finds objects occupying the same tile as something else. <objectType> - Type of object to check.
FindStuckShips findstuckships Lists ships that are stuck under planets or other objects. None.
GoToTile gototile <tileX,tileY> Moves camera to specified tile if valid. <tileX,tileY> - Tile coordinates.
ToggleRebellionStatus togglerebellionstatus Toggles the rebellion status of a selected planet. None.
ShowDifficulties showdifficulties Print the galaxy and AI difficulties to debug.err. None.
ShowCounters showcounters List all the counters on the selected object. None.
SetFlag setflag <flag name> Set a flag on the selected object. <flag name> - Name of the flag to set.
ClearFlag clearflag <flag name> Clear a flag on the selected object. <flag name> - Name of the flag to clear.
HasFlag hasflag <flag name> Checks for a flag on the selected object. <flag name> - Name of the flag to check.
SetCounter setcounter <counter name> <new value> Set a counter on the selected object. <counter name> - Name of the counter. <new value> - Value to set.
ClearCounter clearcounter <counter name> Sets a counter on the selected object to 0. <counter name> - Name of the counter.
GetCounterValue getcountervalue <counter name> Gets the value for a counter on the selected object. <counter name> - Name of the counter.
PlaceGovernor placegov Creates and assigns a governor at the selected colony. None.
ToggleBetaWatermark watermark Hides or unhides the Beta Watermark. None.
ToggleAllowColonyPlanetWnd colonyplanetwnd Allows you to bring up colony worlds in the planet wnd. None.
ShowAOEs showaoes Toggle for changing the AOE preview system to show all AOE objects. None.
AddThinktank addthinktank Adds a leader to the specified thinktank. <thinktank internal name> - Internal name of the thinktank.
Clone clone <playerIdx> Clones the selected object, and optionally grants it to another player. <playerIdx> - Index of alternate player.
AIOfferTrade aioffertrade <playerIdx> Forces an AI player to make a trade offer to the local player. <playerIdx> - Index of the AI player.
NodeReport lists the current state of the scene node util Lists the current state of the scene node util. None.
ShowBlockedTiles Shows blocked tiles in radius around the selected ship. None.
ForEachObject owned status> <command> <command params> Attempts to run a command for each object of the specified type. owned status> - Owner status. <command> <command params> - Debug command and parameters.
ListPlayers listplayers List all the players in the game, with their faction name and player index. <major> - List only major players.
BattleEnvironment battleenv <envDefName> Sets the battle viewer environment override. <envDefName> - EnvironmentDef to use as override.
GenBaseLUT genbaselut Generates a base lut texture. None.
SetLUT setlut Sets the current lut texture. None.
LoadScenario loadscenario Loads the specified scenario. <scenario> - Internal name of the scenarioDef.
LoadCampaign loadcampaign Loads the specified campaign. <campaign> - Internal name of the campaignDef.
HighlightSelection highlightselection Chooses the highlighted index within your selection. <index> - Index of the object within your selection.
ReportNodes reportnodes Generates report showing how many of each type of node are rendered. None.
DebugStats debugstats [dump] Enables debug stats in the timeline views. dump - (optional) Include to save each debug stat.
DumpObjGfxIDs dumpobjgfxids Dumps obj gfx Ids debug data to debug.err file. None.
DumpShipDesigns dumpshipdesigns Dumps ship designs to a csv file. None.
SceneDesc scenedesc [dump] Dumps scene description debug data to debug.err file. None.
DumpResources dumpresources [type] [sort] [sorttype] Dumps the resources currently in memory. type - (optional) Resource type. sort - (optional) Sort resources. sorttype - (optional) Criterion for sorting.
Asserts off | once> Enables or disables asserts. on - Asserts on. off - Asserts off. once - Asserts on, but skip duplicates.
TraceRandom off> Enables or disables logging for random streams. on - Enables logging. off - Disables logging.
PointLightBounds pointlightbounds Toggles the bound boxes for point lights. None.