Console Commands: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
Line 266: Line 266:
|-
|-
| El Salvador || ELS
| El Salvador || ELS
|-
| France || EUA
|-
| Germany || DEU
|-
|-
| Guatemala || GTM
| Guatemala || GTM
Line 306: Line 310:
|-
|-
| Philippines || PHL
| Philippines || PHL
|-
| Portugal || PRT
|-
|-
| Ratnakaran States || RTK
| Ratnakaran States || RTK
|-
|-
| Singapore || SGP
| Singapore || SGP
|-
| South Korea || KOR
|-
| Spain || ESP
|-
|-
| Sri Lanka || LKA
| Sri Lanka || LKA
|-
| South Korea || KOR
|-
|-
| Suriname || SUR
| Suriname || SUR

Revision as of 20:31, 14 October 2022

The game's console can be enabled by editing the following file in the game's folder with a text editor: TerraInvicta_Data\StreamingAssets\Templates\TIGlobalConfig.json

In the second half there is the following line: "debug_ConsoleActive": false,. Set it to true and save the file. Note that certain game updates might overwrite the file, requiring another edit.

The console can be opened with the ~ key. Commands are not case-sensitive but the parameters are.

Command Effect Parameters Example
help Lists all commands help
addscouncilresources Adds all faction resources to the player faction amount addcouncilresources 100
addspaceresources Adds all space resources to the player faction amount addspaceresources 100
addresource Adds a certain resource to a faction resource,amount,faction internal name addresource Money,100,SubmitCouncil
giveresource Adds a certain resource to a faction resource,amount,faction internal name giveresource Money,100,SubmitCouncil
addtrait Adds a trait to the selected councilor trait internal name addtrait ConspiracyTheorist
aerosols Adds excess stratospheric aerosols to Earth amount aerosols 0.1
completeobjective Completes the written objective for the player faction objective internal name completeobjective ResearchExotics
completeproject Completes the current council engineering project for a faction faction internal name completeproject EscapeCouncil
damageship Damages one ship in the selected fleet, will not fully destroy ships amount damageship 100
dumpfleetgoal Writes the mission of the selected fleet dumpfleetgoal
givealltechs Completes all global research and gives the faction all council engineering projects
Warning: campaign will require using the completeobjective command to proceed unless already at final objective
faction internal name givealltechs ResistCouncil
givecp Gives an unonwned control point in the chosen nation to a faction nation name,faction internal name givecp Afghanistan,ResistCouncil
giveorg Gives a faction certain org faction internal name,org internal name giveorg ResistCouncil,CentralIntelligenceAgency
giveproject Give finished project to council. giveproject dataName, factionName (optional) giveproject Project_CommercialResearch, ResistCouncil
killstate Kills the selected army, councilor, fleet or habitat killstate
modifygdp Adds or removes GDP billions to a certain nation nation name,amount modifygdp Afghanistan,300
nosecrets Reveals all factions' councilors, objectives and council engineering projects nosecrets
nuke Launches a strategic nuclear barrage in the selected nation nuke
propaganda Completes a Public Opinion mission on every nation for a faction faction internal name,strength (optional) propaganda ResistCouncil,10
prospect Prospscts a celestial body celestial body prospect Ganymede
revealsites Prospects all celestial bodies revealsites
revolution Triggers a revolution in the selected nation revolution
regimechange Triggers a regime change for the player faction in the selected nation regimechange
setfation Changes factions, requires a save and reload for full effect
Warning: can switch to the alien faction but certain actions will crash the game
faction internal name setfation ResistCouncil
sight Reveals all current alien phenomena sites sight
startcoup Triggers a coup in the selected nation startcoup
truggerevent Triggers an event event internal name triggerevent event_OneHumanity
unify Trigger nation to unify with absorbing, absorbed datanames unify RUS,USA
unlockallshipparts Unlocks all human and alien ship components for ship design unlockallshipparts
watchfactions Reveals all factions' objectives and council engineering projects watchfactions
alieninfo Writes all resources and the next purchase of the aliens alieninfo
autopilot Plays game automatically
Warning: requires restarting the game to disable
autopilot
musicinfo Writes music info musicinfo
setmusicvolume Sets the music volume amount setmusicvolume 2
setmusicintensity Sets the music intensity amount setmusicintensity 2
killship Destroys the selected player ship killship

Factions have the following internal names:

Faction Internal name
Humanity First DestroyCouncil
Project Exodus EscapeCouncil
The Academy CooperateCouncil
The Initiative ExploitCouncil
The Protectorate AppeaseCouncil
The Resistance ResistCouncil
The Servants SubmitCouncil
Aliens AlienCouncil

There are a couple of other console commands but they currencly either do not work or crash the game (version 0.3.23):

  • forcemissions
  • detainme
  • giveips
  • setmiltech

Nations have the following internal names:

Nation Internal name
Argentina ARG
Australia AUS
Belize BEL
Bolivia BOL
Brazil BRA
Cambodia KHM
Canada CAN
Caribbean States CAB
Chile CHL
Colombia COL
Costa Rica COS
Cuba CUB
Denmark DEN
Ecuador ECU
El Salvador ELS
France EUA
Germany DEU
Guatemala GTM
Guyana GUY
Honduras HON
Iceland ISL
Indonesia IDN
Ireland IRL
Japan JPN
Laos LAO
Madagascar MDG
Malaysia MYS
Mexico MEX
Myanmar MMR
New Zealand NZL
Nicaragua NIC
North Korea PRK
Pacifis States PCS
Panama PAN
Paraguay PRY
Peru PER
Philippines PHL
Portugal PRT
Ratnakaran States RTK
Singapore SGP
South Korea KOR
Spain ESP
Sri Lanka LKA
Suriname SUR
Taiwan TWN
Thailand THA
United Kingdom GBR
United States of America USA
Uruguay URY
Venezuela VEN
Vietnam VNM