To activate the console, you must first add the following as a command line parameter to XCOM 2: -allowconsole Rightclick the XCOM 2 shortcut, select properties and add it at the end of the "Target"-field so that it looks something like this: "C:\Games\XCOM 2\Binaries\Win64\XCom2.exe" -allowconsole. If using Steam, rightclick the game in your Library, select Properties and add it under "Set launch options". Open the console in-game using the ~ button (the usual button for console). Note: For the following commands, replace # with a number.
Code | Effect
|
---|
| - x number of BattleScanners.
|
| - x number of Hazmat Vests.
|
| - x number of Mind Shields.
|
| - x number of Stasis Vests.
|
| - Gives X amount of Scopes.
|
| - Gives X amount of Extended Mags.
|
| - Gives X amount of Laser Sights.
|
| - All hits will be criticals.(Beware AI can use this too).
|
| - Gives X amount of Hair Triggers.
|
| - Gives X amount of Repeaters.
|
| - x number of Stasis Vests.
|
| - x number of Stasis Vests.
|
| - Gives the specified tech, replace [techname] with the tech you want.
|
| - Heals all soldiers while in the Avenger. (Does not work during mission)
|
| - x number of E.X.O. suit's.
|
| - x number of W.A.R. suit's.
|
| - Levels up all soldiers in Avenger Barracks by X levels.
|
| - x number of Spider suit's.
|
| - x number of Wraith suit's.
|
- MakeSoldierAClass "X" Specialist
| - Makes named soldier named class.
|
| - x number of Predator armor.
|
| - x number of Warden armor.
|
| - Gives X amount of Stocks.
|
| - All units invincible with unlimited ammo.
|
| - Gives X amount of Auto Loaders.
|
| - Restarts the current mission.
|
- SetStratagyFacilitiesFree
| - All facilities free, toggle with on/off.
|
- SetStratagyFacilitiesInstantBuild
| - Ability to build facilities instantly, toggle with on/off.
|
- SetStratagyFacilitiesSuperSpree
| - Ability to build all facilities instantly for free, toggle with on/off.
|
- SetStrategyFacilitiesUnlockAll
| - Ability to build all facilities, toggle with on/off.
|
| |
| |
| - Forces squad into concealment. (AI will still be alerted)
|
| - Allows for unlimited actions. (Beware AI can use this too)
|
| - Makes entire map visible. (You will still need to "discover" enemies)
|
| - Gives # amount of Superior Scopes.
|
- additem ClipSizeUpgrade_Sup #
| - Gives # amount of Superior Expanded Magazines.
|
- additem CritUpgrade_Sup #
| - Gives # amount of Superior Laser Sights.
|
| - Gives # amount of PCS: Superior Agility.
|
- additem EpicPCSConditioning #
| - Gives # amount of PCS: Superior Conditioning.
|
| - Gives # amount of PCS: Superior Focus.
|
- additem EpicPCSPerception #
| - Gives # amount of PCS: Superior Perception.
|
| - Gives # amount of PCS: Superior Speed.
|
- additem FreeFireUpgrade_Sup #
| - Gives # amount of Superior Hair Triggers.
|
- additem FreeKillUpgrade_Sup #
| - Gives # amount of Superior Repeaters.
|
- additem MissDamageUpgrade_Sup #
| - Gives # amount of Superior Stocks.
|
- additem ReloadUpgrade_Sup #
| - Gives # amount of Superior Auto-Loaders.
|
- additem heavyplatedarmor #
| - Gives # amount of E.X.O. Suits.
|
- additem heavypoweredarmor #
| - Gives # amount of W.A.R. Suits.
|
- additem lightplatedarmor #
| - Gives # amount of Spider Suits.
|
- additem lightpoweredarmor #
| - Gives # amount of Wraith Suits.
|
| - Enables the use of commands.
|
| - Gives an Engineer with skill level #.
|
- giveresource AlienAlloy #
| - Gives # amount of Alien Alloys.
|
- giveresource CorpseAdventMEC #
| - Gives # amount of Advent MEC corpses.
|
- giveresource CorpseAdventOfficer #
| - Gives # amount of Advent Officer corpses.
|
- giveresource CorpseAdventTrooper #
| - Gives # amount of Advent Trooper corpses.
|
- giveresource CorpseArchon #
| - Gives # amount of Archon corpses.
|
- giveresource CorpseBerserker #
| - Gives # amount of Berserker corpses.
|
- giveresource CorpseFaceless #
| - Gives # amount of Faceless corpses.
|
- giveresource CorpseMuton #
| - Gives # amount of Muton corpses.
|
- giveresource CorpseSectoid #
| - Gives # amount of Sectoid corpses.
|
- giveresource CorpseSectoid #
| - Gives x number of corpses.
|
- giveresource CorpseViper #
| - Gives # amount of Viper corpses.
|
- giveresource EleriumCore #
| - Gives # amount of Elerium Cores.
|
- giveresource EleriumDust #
| - Gives # amount of Elerium Crystals.
|
| |
| - Gives # amount of Supplies.
|
| - Gives a Scientist with skill level #.
|