Console Commands: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
Line 7: Line 7:
! Command
! Command
! Effect
! Effect
! Parameters
! Example
! Example
|-
|-
| help
| help
| Lists all commands
| Lists all commands
|
| help
| help
|-
|-
| addspaceresources
| addspaceresources
| Adds an amount of all space resources to the player faction
| Adds space resources to the player faction
| amount
| addspaceresources 100
| addspaceresources 100
|-
|-
| completeobjective
| completeobjective
| Completes [objective internal name] for the player faction
| Completes the written objective for the player faction
| objective internal name
| completeobjective ResearchExotics
| completeobjective ResearchExotics
|-
|-
| giveresource
| giveresource
| Adds a resource by amount to [faction internal name]
| Adds a certain resource to a faction
| resource,amount,faction internal name
| giveresource Money,100,SubmitCouncil
| giveresource Money,100,SubmitCouncil
|-
|-
| givealltechs
| givealltechs
| Completes all global research and gives [faction internal name] all council engineering projects<br><span style="color:red;">'''Warning:'''</span> campaign will require using the completeobjective command to proceed unless already at final objective
| Completes all global research and gives the faction all council engineering projects<br><span style="color:red;">'''Warning:'''</span> campaign will require using the completeobjective command to proceed unless already at final objective
| faction internal name
| givealltechs ResistCouncil
| givealltechs ResistCouncil
|-
| givecp
| Gives an unonwned control point in the chosen nation to a faction
| nation name,faction internal name
| givecp Afghanistan,ResistCouncil
|-
|-
| killstate
| killstate
| Kills the selected army, councilor, fleet or habitat
| Kills the selected army, councilor, fleet or habitat
|
| killstate
| killstate
|-
|-
| propaganda
| propaganda
| Completes a Public Opinion mission on every nation for [faction internal name], optionally can mention the strength and only one nation
| Completes a Public Opinion mission on every nation for a faction
| faction internal name,strength (optional)
| propaganda ResistCouncil,10
| propaganda ResistCouncil,10
|-
|-
| revealsites
| revealsites
| Prospects all celestial bodies
| Prospects all celestial bodies
|
| revealsites
| revealsites
|-
| sight
| Reveals all current alien phenomena sites
|
| sight
|-
|-
| watchfactions
| watchfactions
| Reveals all factions' objectives and council engineering projects
| Reveals all factions' objectives and council engineering projects
|
| watchfactions
| watchfactions
|-
|-
| dumpfleetgoal
| dumpfleetgoal
| Writes the mission of the selected fleet
| Writes the mission of the selected fleet
|
| dumpfleetgoal
| dumpfleetgoal
|-
|-
| musicinfo
| musicinfo
| Writes music info
| Writes music info
|
| musicinfo
| musicinfo
|-
|-
| setmusicvolume
| setmusicvolume
| Sets the music volume
| Sets the music volume
| amount
| setmusicvolume 2
| setmusicvolume 2
|}
|}

Revision as of 14:34, 9 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
addspaceresources Adds space resources to the player faction amount addspaceresources 100
completeobjective Completes the written objective for the player faction objective internal name completeobjective ResearchExotics
giveresource Adds a certain resource to a faction resource,amount,faction internal name giveresource Money,100,SubmitCouncil
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
killstate Kills the selected army, councilor, fleet or habitat killstate
propaganda Completes a Public Opinion mission on every nation for a faction faction internal name,strength (optional) propaganda ResistCouncil,10
revealsites Prospects all celestial bodies revealsites
sight Reveals all current alien phenomena sites sight
watchfactions Reveals all factions' objectives and council engineering projects watchfactions
dumpfleetgoal Writes the mission of the selected fleet dumpfleetgoal
musicinfo Writes music info musicinfo
setmusicvolume Sets the music volume amount setmusicvolume 2

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