XCOM 2 Console Commands
XCOM 2 Console Commands
Version 1.3
Introduction 6
Warning 6
Note 6
Getting started 7
Steam 7
Windows (Non-Steam) 7
Opening the console 8
Enable command execution 8
Commands 9
Avenger 9
AddItem (ItemName, Amount) 9
Example(s) 9
Resources (vanilla) 9
Weapons (vanilla) 10
Heavy weapons (vanilla) 11
Grenades (vanilla) 11
Rounds (vanilla) 11
Vests (vanilla) 12
Armor (vanilla) 12
Utility (vanilla) 13
Corpse (vanilla) 14
Weapon upgrade (vanilla) 15
Personal Combat Sim (PCS) (vanilla) 15
Grenades (Alien Hunters) 18
Armor (Alien Hunters) 18
Corpse (Alien Hunters) 18
Resources (War of the Chosen) 20
Weapons (War of the Chosen) 20
Armor (War of the Chosen) 21
Utility (War of the Chosen) 21
Corpse (War of the Chosen) 21
Weapons (War of the Chosen - Tactical Legacy Pack) 22
Weapons (War of the Chosen - Tactical Legacy Pack) 23
GiveTech (Research) 24
Example(s) 24
Mission (vanilla) 24
Armor (vanilla) 24
Autopsy (vanilla) 25
Proving grounds (vanilla) 26
Weaponry (vanilla) 27
Mission (Shen’s Last Gift) 27
Proving grounds (Shen’s Last Gift) 27
Autopsy (Alien Hunters) 27
Weaponry (Alien Hunters) 28
Autopsy (War of the Chosen) 28
MakeSoldierAClass (Class, SoldierName) 29
Example(s) 29
Classes (vanilla) 29
Classes (Shen’s Last Gift) 29
Classes (War of the Chosen) 29
GiveFacility (Facility, Position) 30
Example(s) 30
Positions 30
Facilities (vanilla) 30
GiveResources (Resource, Amount) 31
Example(s) 31
Resources (vanilla) 31
Resources (War of the Chosen) 31
Example(s) 32
Resources (vanilla) 32
GiveScientist (Amount) 33
Example(s) 33
GiveEngineer (Amount) 33
Example(s) 33
SetSoldierStat (Stat, Amount, SoldierName) (BaseStat) 34
Example(s) 34
Stats (vanilla) 34
BondSoldiers (SoldierName, SoldierName, Bonded) 35
Example(s) 35
RemoveFortressDoom (Amount) 35
Example(s) 35
LevelUpBarracks (Amount) 35
Example(s) 35
Others 35
Mission 36
GiveHackReward (Hack) 36
Hack rewards (vanilla) 36
Hack rewards (War of the Chosen - Tactical Legacy Pack) 39
GiveActionPoints (Amount) 40
Example(s) 40
Other 40
Credits 41
Version history
Version 1.3
- Added continent bonus
- Added hacking bonus (stub, untested)
- Added missing Shen’s Last Gift items
Version 1.2
- Changed document layout
- Changed document styling
- Reworked the Getting Started chapter
- Added missing vanilla items
- Added missing War of the Chosen items
- Added missing Alien Hunters research
- Added more notes to the GiveResearch
- Added War of the Chosen - Tactical Legacy Pack items (stub, untested)
- Added mission commands
Version 1.1
- Added GiveFacility
- Added SetSoldierStat
Version 1.0
- Initial version
Introduction
This document contains information about the console commands in XCOM 2. It’s more or less
a collection of commands and values found online on many websites, and all are tested by me
to confirm that they work. It might not include all values and commands available online, so I
encourage you to search online for more information about the command and/or values.
Warning
Using commands does NOT disable achievements (for those who use a legal version of the
game), and may also cause hangs, crashes, and unexpected behaviour ingame. It is cannot
guaranteed that the behaviour is the same when mods (such as Long War) are enabled. Use at
your own risk. And yes, this document contains spoilers (obviously).
Note
This list is incomplete and will be updated over time. Feel free to let me know what’s missing or
if a command isn’t working for you!
Steam
There isn’t much more to it than adding the ‘-allowconsole’ command to the launch options.
Windows (Non-Steam)
Once your game is loaded, you can now open the console. To do this, press the ‘~’ key
(QWERTY). You’ll now see a screen similar to this:
To get the console to the bottom of the screen, press ‘\’ (QWERTY) while the console isn’t open.
To close the console, press the key you opened it with (either ‘~’ or ‘\’).
You can copy-paste commands by using the default key shortcuts (ctrl-c, ctrl-v). To execute a
command, press ‘RETURN’ (aka your enter key).
Avenger
These command only work when used within the avenger.
Example(s)
AddItem Supplies 100 Receive 100 supplies
Resources (vanilla)
Intel Intel
Supplies Supplies
Weapons (vanilla)
Flamethrower Flamethrower
Grenades (vanilla)
Rounds (vanilla)
Vests (vanilla)
Hellweave Hellweave
Armor (vanilla)
Medikit Medikit
NanoMedikit Nanomedikit
Skulljack Skulljack
Corpse (vanilla)
AimUpgrade_bsc Scope
FreeKillUpgrade_bsc Repeater
MissDamageUpgrade_bsc Stock
ReloadUpgrade_bsc Auto-Loader
CommonPCSAgility Agility
CommonPCSConditioning Conditioning
CommonPCSFocus Focus
CommonPCSPerception Perception
CommonPCSSpeed Speed
AlienHunterPistol_CV Shadowkeeper
ChosenShotgun_XCOM Arashi
ChosenSniperPistol_XCOM Darkclaw
ChosenSniperRifle_XCOM Darklance
ChosenSword_XCOM Katana
Reaper_Claymore Claymore
TLE_Shotgun_CV Scattergun
RangerPoweredArmor ...
SpecialistPoweredArmor ...
GrenadierPoweredArmor ...
SharpshooterPoweredArmor ...
PsiOperativePoweredArmor ...
GiveTech (Research)
Completes specified research. For example, you could research plasma weapons early on,
provided that you researched the required research. The console doesn’t give an error when
using an incorrect value. You might need to switch between screens (from armory to Geoscape
and back for example) to see the changes. The chance is very high that cinematics are NOT
triggered. Using the command a second time will result in a duplicate entry in the research
archives. Some research might not be visible until you completed the preceding research.
Example(s)
GiveTech AutopsyViper Makes Viper Autopsy available for research*
* (you first need to do the Alien Biotech research before you can research it)
Mission (vanilla)
Skulljack Skulljack
Armor (vanilla)
Psionics Psionics
Tech_Elerium Elerium
Shadowkeeper Shadowkeeper
Frostbomb Frostbomb
Example(s)
Classes (vanilla)
Grenadier Grenadier
Ranger Ranger
Rookie Rookie
Sharpshooter Sharpshooter
Specialist Specialist
Spark Spark
Reaper Reaper
Templar Templar
Skirmisher Skirmisher
GiveFacility (Facility, Position)
Create the specified facility at the specified position. It cannot create a facility at a place
that contains debris, is under construction or already has a facility. Please don’t attempt to do so
either. You might need to switch between screens (from armory to Geoscape and back for
example) to see the changes.
Example(s)
Positions
3 4 5
6 7 8
9 10 11
12 13 14
Facilities (vanilla)
Laboratory Laboratory
Workshop Workshop
GiveResources (Resource, Amount)
Gives the specified resource the specified amount. You must have at least one unit of this
resource in order to receive it.
Example(s)
Resources (vanilla)
Intel Intel
Supplies Supplies
Example(s)
Resources (vanilla)
ContinentBonus_AllIn All In
ContinentBonus_SuitUp Suit Up
Example(s)
GiveEngineer (Amount)
Gives one engineer with specified level. The level cannot be negative.
Example(s)
GiveEngineer 100 Receive 1 max level engineer
SetSoldierStat (Stat, Amount, SoldierName) (BaseStat)
Set the specified stat to the specified amount for the specified soldier. In case you playing War
of the Chosen, you also need to specify whenever it’s for the base stat or not.
Example(s)
Stats (vanilla)
eStat_ArmorMitigation Armor
eStat_Hacking Hacking
eStat_HP Health
eStat_Mobility Mobility
eStat_Offense Aim
Example(s)
BondSoldiers “Jhon Doe” “Jane Bonds Jhon Doe with Jane Doe
Doe” true
RemoveFortressDoom (Amount)
Removes specified amount of doom from the avatar project. You cannot remove progress
caused by the extra avatar facilities.
Example(s)
LevelUpBarracks (Amount)
Removes specified amount. Depending on the soldier’s learning speed, they might (not)
promote.
Example(s)
Others
These are single-line commands with no parameters.
GiveHackReward (Hack)
Text here.
Blitz_T1 ...
Blitz_T2 ...
DisguisedSignals_T1 ...
DisguisedSignals_T2 ...
IntegratedComms_T1 ...
IntegratedComms_T2 ...
Targeting_AimAndCrit_T1 ...
Targeting_AimAndCrit_T2 ...
Targeting_Dodge_T1 ...
Targeting_Dodge_T2 ...
Targeting_Crit_T2 ...
Targeting_Crit_T2 ...
VideoFeed_T1 ...
VideoFeed_T2 ...
Hypnography_T1 ...
Hypnography_T2 ...
Override_T1 ...
Override_T2 ...
Distortion_T1 ...
Distortion_T2 ...
Deception_T1 ...
Deception_T2 ...
Intrusion_T1 ...
Intrusion_T2 ...
Disorient_T1 ...
Disorient_T2 ...
CentralCommand_T1 ...
CentralCommand_T2 ...
PriorityData_T1 ...
PriorityData_T2 ...
WatchList_T1 ...
WatchList_T2 ...
Insight_T1 ...
Insight_T2 ...
SatelliteData_T1 ...
SatelliteData_T2 ...
ResistanceBroadcast_T1 ...
ResistanceBroadcast_T2 ...
EnemyProtocol_T1 ...
EnemyProtocol_T2 ...
MapAlert_T0 ...
SquadConceal_Intel ...
IndividualProtocol_Intel ...
DarkEvent_ViperRounds ...
Hack rewards (War of the Chosen - Tactical Legacy Pack)
WaterfrontRadio ...
PilotSeat ...
RotorMechanism ...
UFOPowerGrid ...
AvalanceMissles ...
OperatorsManual ...
GiveActionPoints (Amount)
Gives the specified amount of action points to the currently selected unit.
Example(s)
Other
These are single-line commands with no parameters.
Command Effect
TakeNoDamage No damage
The old reddit console commands thread for all the basic console commands, some of the Alien
Hunter’s command values, and the shortcut command parameters required to get the console
working.
Ginrikuzuma for correcting me about the wrong maximum value for GiveScientist and
GiveEngineer (was first 10 in this document, but it had to be 100) and also for explaining how
setSoldierStat works.
This topic on NexusMods with a list of useful eStats, and explains what they actually do.
...and all the other fantastic people who helped out and/or are reading this document!.