XCOM 2 has been out for some time now, and we suspect you have put a lot of hours into playing this game. Because of replayability of the game, the game has continued to receive overwhelming response from enthusiasts as well as the modding community. If you want to remove some boring elements from the game or just want to give it a fresh coat of paint, you can do that via the command console.
You can access various game features via cheat codes that are not usable by default like the ability to teleport your unit to whichever location you want, enabling and disabling fog of war, enable or disable invincibility for all your soldiers and many more using about 38 different commands. In addition to that, you can add items like pistols, rifles and hair triggers using the hundreds of item commands.
Some commands are marked with Avenger and Mission Tags, the Avenger commands only work in Avenger and commands with Mission tag only work when you are in Mission. Some commands are DLC specific and only work if you have that DLC installed.
In order for these features to work, you need to have command console enabled.
How to Enable command console in XCOM 2 (Steam Version)?
To enable command console in xcom 2, in the steam version of the game, follow these steps:
- Launch Steam
- Go to your Library
- Find XCOM 2
- Right click and then select properties
- In properties, Go to the General Tab at the top
- Now click Set Launch options
- When the launch option box opens, type the following
-allowconsole
- Press ok
The command option has now been added to the game
If you want debug feature to work with the game, you can type -autodebug and if you want a log window to open with the game, you can type -log in the same launch option box
Once enabled, you can access the command console by pressing the ~ key located below the Esc key
If ~ key doesn’t work try the \ key
How to Enable command console in XCOM 2 (Non-Steam Verion)?
To enable command console in xcom 2, in the non-steam version of the game, Go to the Install location of the game, if you don’t know where you installed the game, the default location is
- C:\Program Files\XCOM 2 or
- C:\Program Files (x86)\XCOM 2
Now find the following folder
- Binaries\Win64\Launcher
Open this folder and find
- ModLauncherWPF.exe The file name may also be ModLauncherWPF
Right click on it and select ‘Create Shortcut’ from the menu
The new shortcut will be created and look like ModLauncherWPF.exe – Shortcut
Right click this Shortcut file and select properties
When the properties window opens, in the Target section, go to the end of the text, place a space and then type
–allowconsole
Now click Apply and close the properties window.
Always launch the game from this newly created shortcut and the game will launch with the console enabled. If you previously had a shortcut to launch the game on your desktop, you can replace that shortcut with this new one.
You can then use the ~ key located below the Esc key to access command console in the game. If it doesn’t work, you can try the \ key.
XCOM 2 Console Commands (Cheat Codes)
Name | Syntax | Description |
---|---|---|
GiveResource | giveresource [resource id] [amount] | The giveresource console command will give you the resources in the game. But you must have a one particular resource available at your side in order to get the new one. And you are able to provide the number of required resources. For example, if you need 8 particular resources then you can write 10 in the syntax. |
AddItem | additem [item id] [amount] | The additem console command will provide you with the game item. You can give the required number of that particular item in the syntax of the command. |
GiveHackReward | givehackreward [hack reward id] | The give hack reward console command is used to get the hack rewards of the tiers of game. You can write the hack reward and tier number in syntax to get the hack reward of that specific tier. |
GiveActionPoints | giveactionpoints [amount] | The give action points will provide the action points to your hero or your team. You have the option to give the required number of action points. |
GiveScientist | givescientist [level] | The give scientist console command is used to get a scientist of the game level. You can specify the level for which you want the scientist. But keep in mind that this scientist will replace your current scientist. |
GiveEngineer | giveengineer [level] | The give engineer console command is used to get an engineer of the game level. You can specify the level for which you want the scientist. But the most important thing to note is that this engineer will replace your current engineer. |
GiveTech | givetech [tech id] | This command helps you to research a particular technology in the game. You can write the name of desired technology to research in the syntax. |
GiveFacility | givefacility [facility id] [avenger/map index] | The give facility console command will provide you the facility with in the game. You can specify the position where you want to get the facility. Buy you must not have a facility available on the same position. Otherwise the command will be useless. |
SetSoldierStat | setsoldierstat [stat id] [value] [soldier name] [0 / 1] | The SetSoldierStat console command is used to set any particular stat of your hero. You have to provide hero name, id and stat in the syntax of command, you want to set the value for. And you ca also specify that what value to set. |
MakeSoldierAClass | makesoldieraclass ["soldier name"] [class id] | The MakeSoldierAClass console command helps you to give a name to a soldier or to make a new class of the soldier. You must specify the soldier name and class id in the syntax. |
RemoveFortressDoom | removefortressdoom [amount] | The RemoveFortressDoom console command is used to wipe out the doom. You can specify the desired doom number to remove. |
ForceCompleteObjective | forcecompleteobjective [objective id] | The ForceCompleteObjective helps to complete a particular objective or puzzle during the game mission. You have to specify ID of that particular objective. |
endbattle | endbattle [0 / 1] | If you have completed all the quests and objectives of the mission then you can use the endbattle console command to finish the mission. But point to be noted is that you must have complete the objectives otherwise you will be considered as a loser. |
BondSoldiers | bondsoldiers ["soldier name"] ["soldier name"] [true / false] | The BondSoldiers command is used to make a bond between two soldiers. Or you have the option to end their bond using this command. You have to write true to make bond and false the end the bond in the syntax of command. |
SkipAI | skipai | The SkipAI command is mainly used in turn-based battles. By using this command, you can skip the turn of artificial intelligence and it turns out to be your turn again. |
PowerUp | powerup | The PowerUp console command helps you to enable or disable the god mode in the game. If you have already disabled the god mode than the command will enable it. |
TakeNoDamage | takenodamage | Bu using the TakeNoDamage console command, you can disable the toggles. This way your soldiers will not take any damage from the enemies. And if you have already disabled it, the command will then enable the toggles for you. |
ToggleUnlimitedActions | toggleunlimitedactions | You can turn on the unlimited actions with the help of this console command without being using the action points. Nd the same goes for the artificial intelligence’s turn. |
ForceCritHits | forcecrithits | ForceCritHits console command is used to enable the critical hits for you and your team. If you have already enabled it, the command will disable the critical hits. |
GiveContinentBonus | givecontinentbonus [continent bonus id] | The GiveContinentBonus command will help you in getting the continent bonus. You have to specify the name of desired bonus you are looking for in the command syntax. |
ToggleUnlimitedAmmo | toggleunlimitedammo | ToggleUnlimitedAmmo is used to get the unlimited ammo for your weaponry and the artificial intelligence will also get the unlimited ammo once you use this command. |
ToggleFOW | togglefow | There may be a Fog of War appears on your game screen and you will not be able to see the distant locations. ToggleFOW command helps you to disable or enable the Fog of War toggles. |
ToggleSquadConcealment | togglesquadconcealment | ToggleSquadConcealment is used to hide the location of your soldiers from the enemies to get yourself protected from them. |
TTC | ttc | The TTC helps to transport your soldiers from one point of the map to the other with just one touch. |
TATC | tatc | The TATC console command is used to transport all the units of soldiers from one point of the map to the other in a rapid instant. |
LevelUpBarracks | levelupbarracks [amount] | LevelUpBarracks console command is used to level up the soldiers of your squad. You have to specify the barrack number of soldiers in the syntax to increase their level. |
HealAllSoldiers | healallsoldiers | HealAllSoldiers command will provide healing to your soldiers which will improve their health points. |
GiveFactionSoldiers | givefactionsoldiers | By using the GiveFactionSoldiers command, you can call the soldiers from different units or groups for the battle. |
GiveAbilityCharges | giveabilitycharges | You can use the GiveAbilityCharges console command to get the new abilities for your soldiers. |
RestartLevel | restartlevel | If you think that you are not up to the mark in a particular mission, then you can use the RestartLevel command to start the mission again from the starting point. |
RestartLevelWithSameSeed | restartlevelwithsameseed | The RestartLevelWithSameSeed command will restart the mission from your current point or location. |
pause | pause | The pause console command is used to pause or unpause the current mission of your game. |
sloMo | slomo [multiplier] | The sloMo command will slow down or fasten the speed of the game. It depends on you that what you want. You can specify the figure of speed in the syntax. |
screenshot | screenshot | If you want to take a screenshot on any point of the game, then you can use this command. This will take a screenshot and saves into your system. |
listtextures | listtextures | The listtextures console command is used to load the texture files of the game. |
listsounds | listsounds | If you want to load the sound files of the game, then you can use the listsounds console command. |
ToggleRain | togglerain | If there is raining in the game then you can use this console command to disable the rain and can be enabled as well if needed. |
ChangeList | changelist | If you want to see the recent changes being made in the game, Changelist command will help you out. |
XCOM 2 AddItem ID List
Item Name | Item ID |
---|---|
Alien Alloys | AlienAlloy |
Elerium Core | EleriumCore |
Elerium Crystals | EleriumDust |
Intel | Intel |
Supplies | Supplies |
Magnetic Rifle | AssaultRifle_MG |
Plasma Rifle | AssaultRifle_BM |
Mag Cannon | Cannon_MG |
Beam Cannon | Cannon_BM |
GREMLIN Mark II | Gremlin_MG |
GREMLIN Mark III | Gremlin_BM |
Mag Pistol | Pistol_MG |
Beam Pistol | Pistol_BM |
Advanced Psi Amp | PsiAmp_MG |
Alien Psi Amp | PsiAmp_BM |
Shard Shotgun | Shotgun_MG |
Storm Shotgun | Shotgun_BM |
Gauss Rifle | SniperRifle_MG |
Plasma Lance | SniperRifle_BM |
Arc Blade | Sword_MG |
Fusion Blade | Sword_BM |
Advanced Grenade Launcher | GrenadeLauncher_MG |
Blaster Launcher | BlasterLauncher |
Flamethrower | Flamethrower |
Hellfire Porjector | FlamethrowerMk2 |
Plasma Blaster | PlasmaBlaster |
Shredder Gun | ShredderGun |
Shredstorm Cannon | ShredstormCannon |
Plasma Grenade | AlienGrenade |
Acid Grenade | AcidGrenade |
Acid Bomb | AcidGrenadeMk2 |
EMP Grenade | EMPGrenade |
EMP Bomb | EMPGrenadeMk2 |
Incendiary Grenade | Firebomb |
Incendiary Bomb | FirebombMk2 |
Flashbang Grenade | FlashbangGrenade |
Gas Grenade | GasGrenade |
Gas Bomb | GasGrenadeMk2 |
Proximity Mine | ProximityMine |
Smoke Grenade | SmokeGrenade |
Smoke Bomb | SmokeGrenadeMk2 |
AP Rounds | ApRounds |
Bluescreen Rounds | BluescreenRounds |
Dragon Rounds | IncendiaryRounds |
Talon Rounds | TalonRounds |
Tracer Rounds | TracerRounds |
Venom Rounds | VenomRounds |
Hazmat Vest | HazmatVest |
Hellweave | Hellweave |
Nanoscale Vest | NanoFibreVest |
Plated Vest | PlatedVest |
Stasis Vest | StasisVest |
EXO Suit | HeavyPlatedArmor |
Spider Suit | LightPlatedArmor |
Predator Armor | MediumPlatedArmor |
W.A.R. Suit | HeavyPoweredArmor |
Wraith Suit | LightPoweredArmor |
Warden Armor | MediumPoweredArmor |
Battle Scanner | BattleScanner |
Overdrive Serum | CombatStims |
Medikit | Medikit |
Mind Shield | MindShield |
Mimic Beacon | MimicBeacon |
Nanomedikit | NanoMedikit |
Skulljack | Skulljack |
Advent MEC Wreck | CorpseAdventMEC |
Advent Officer Corpse | CorpseAdventOfficer |
Avatar Corpse | CorpseAdventPsiWitch |
Advent Shieldbearer Corpse | CorpseAdventShieldbearer |
Advent Stun Lancer Corpse | CorpseAdventStunLancer |
Advent Trooper Corpse | CorpseAdventTrooper |
Advent Turret Wreck | CorpseAdventTurret |
Andromedon Corpse | CorpseAndromedon |
Archon Corpse | CorpseArchon |
Berserker Corpse | CorpseBerserker |
Chryssalid Corpse | CorpseChryssalid |
Codex Brain | CorpseCyberus |
Faceless Corpse | CorpseFaceless |
Gatekeeper Corpse | CorpseGatekeeper |
Muton Corpse | CorpseMuton |
Sectoid Corpse | CorpseSectoid |
Sectopod Corpse | CorpseSectopod |
Viper Corpse | CorpseViper |
Advanced Scope | AimUpgrade_adv |
Scope | AimUpgrade_bsc |
Superior Scope | AimUpgrade_sup |
Advanced Expanded Magazine | ClipsizeUpgrade_adv |
Expanded Magazine | ClipsizeUpgrade_bsc |
Superior Expanded Magazine | ClipsizeUpgrade_sup |
Advanced Laser Sight | CritUpgrade_adv |
Laser Sight | CritUpgrade_bsc |
Superior Laser Sight | CritUpgrade_sup |
Advanced Hair Trigger | FreeFireUpgrade_adv |
Hair Trigger | FreeFireUpgrade_bsc |
Superior Hair Trigger | FreeFireUpgrade_sup |
Advanced Repeater | FreeKillUpgrade_adv |
Repeater | FreeKillUpgrade_bsc |
Superior Repeater | FreeKillUpgrade_sup |
Advanced Stock | MissDamageUpgrade_adv |
Stock | MissDamageUpgrade_bsc |
Superior Stock | MissDamageUpgrade_sup |
Advanced Auto-Loader | ReloadUpgrade_adv |
Auto-Loader | ReloadUpgrade_bsc |
Superior Auto-Loader | ReloadUpgrade_sup |
Agility | CommonPCSAgility |
Conditioning | CommonPCSConditioning |
Focus | CommonPCSFocus |
Perception | CommonPCSPerception |
Speed | CommonPCSSpeed |
Epic Agility | EpicPCSAgility |
Epic Conditioning | EpicPCSConditioning |
Epic Focus | EpicPCSFocus |
Epic Perception | EpicPCSPerception |
Epic Speed | EpicPCSSpeed |
Advanced Agility | RarePCSAgility |
Advanced Conditioning | RarePCSConditioning |
Advanced Focus | RarePCSFocus |
Advanced Perception | RarePCSPerception |
Advanced Speed | RarePCSSpeed |
SPARK BIT Shen's Last Gift | SparkBit_CV |
SPARK BIT Mark II Shen's Last Gift | SparkBit_MG |
SPARK BIT Mark III Shen's Last Gift | SparkBit_BM |
Hunter���s Axe Alien Hunters | AlienHunterAxe_CV |
Ionic Axe Alien Hunters | AlienHunterAxe_MG |
Fusion Axe Alien Hunters | AlienHunterAxe_BM |
Shadowkeeper Alien Hunters | AlienHunterPistol_CV |
Enhanced Shadowkeeper Alien Hunters | AlienHunterPistol_MG |
Powered Shadowkeeper Alien Hunters | AlienHunterPistol_BM |
Bolt Caster Alien Hunters | AlienHunterRifle_CV |
Magnetic Bolt Caster Alien Hunters | AlienHunterRifle_MG |
Powered Bolt Caster Alien Hunters | AlienHunterRifle_BM |
Frost Bomb Alien Hunters | Frostbomb |
R.A.G.E. Suit Alien Hunters | HeavyAlienArmor |
R.A.G.E. Armor Alien Hunters | HeavyAlienArmorMk2 |
Serpent Suit Alien Hunters | LightAlienArmor |
Serpent Armor Alien Hunters | LightAlienArmorMk2 |
Icarus Armor Alien Hunters | MediumAlienArmor |
Icarus Armor (Grounds Upgrade) Alien Hunters | MediumAlienArmorMk2 |
Archon King Corpse Alien Hunters | CorpseArchonKing |
Berserker Queen Corpse Alien Hunters | CorpseBerserkerQueen |
Viper King Corpse Alien Hunters | CorpseViperKing |
Ability Point WOTC | Abilitypoint |
Disruptor Rifle WOTC | ChosenRifle_XCOM |
Arashi WOTC | ChosenShotgun_XCOM |
Darkclaw WOTC | ChosenSniperPistol_XCOM |
Darklance WOTC | ChosenSniperRifle_XCOM |
Katana WOTC | ChosenSword_XCOM |
Claymore WOTC | Reaper_Claymore |
Temnotic Rifle WOTC | VektorRifle_MG |
Shadow Lance WOTC | VektorRifle_BM |
Kal-15 Bullpup WOTC | Bullpup_MG |
Kal-90 Bullpup WOTC | Bullpup_BM |
Ionic Ripjack WOTC | WristBlade_MG |
Fusion Ripjack WOTC | WristBlade_BM |
Tempest Gauntlets WOTC | ShardGauntlet_MG |
Celestial Gauntlets WOTC | ShardGauntlet_BM |
Plated Reaper Armor WOTC | PlatedReaperArmor |
Powered Reaper Armor WOTC | PoweredReaperArmor |
Plated Skirmisher Armor WOTC | PlatedSkirmisherArmor |
Powered Skirmisher Armor WOTC | PoweredSkirmisherArmor |
Plated Templar Armor WOTC | PlatedTemplarArmor |
Powered Templar Armor WOTC | PoweredTemplarArmor |
Refraction Field WOTC | RefractionField |
Sustaining Sphere WOTC | SustainingSphere |
Ultrasonic Lure WOTC | UltrasonicLure |
Advent Priest Corpse WOTC | CorpseAdventPriest |
Advent Purifier Corpse WOTC | CorpseAdventPurifier |
Spectre Corpse WOTC | CorpseSpectre |
The Lost Corpse WOTC | CorpseTheLost |
Old-world Assault Rifle WOTC: Tactical Legacy | TLE_AssaultRifle_CV |
Improvised Magnetic Rifle WOTC: Tactical Legacy | TLE_AssaultRifle_MG |
Prototype Plasma Rifle WOTC: Tactical Legacy | TLE_AssaultRifle_BM |
Light machine Gun WOTC: Tactical Legacy | TLE_Cannon_CV |
Magnetic Support Cannon WOTC: Tactical Legacy | TLE_Cannon_MG |
Energy Cannon WOTC: Tactical Legacy | TLE_Cannon_BM |
Traditional Handgun WOTC: Tactical Legacy | TLE_Pistol_CV |
Rail Pistol WOTC: Tactical Legacy | TLE_Pistol_MG |
Energy Pistol WOTC: Tactical Legacy | TLE_Pistol_BM |
Marksman Rifle WOTC: Tactical Legacy | TLE_SniperRifle_CV |
Anti-Materiel Rifle WOTC: Tactical Legacy | TLE_SniperRifle_MG |
Energy AMR WOTC: Tactical Legacy | TLE_SniperRifle_BM |
Scattergun WOTC: Tactical Legacy | TLE_Shotgun_CV |
Augmented Shotgun WOTC: Tactical Legacy | TLE_Shotgun_MG |
Energy Sweeper WOTC: Tactical Legacy | TLE_Shotgun_BM |
Traditional Sword WOTC: Tactical Legacy | TLE_Sword_CV |
Experimental Blade WOTC: Tactical Legacy | TLE_Sword_MG |
Advanced Blade WOTC: Tactical Legacy | TLE_Sword_BM |
Improvised Ranger Field Armor WOTC: Tactical Legacy | RangerKevlarArmor |
Enhanced Ranger Field Armor WOTC: Tactical Legacy | RangerPlatedArmor |
Powered Ranger Field Armor WOTC: Tactical Legacy | RangerPoweredArmor |
Improvised Specialist Field Armor WOTC: Tactical Legacy | SpecialistKevlarArmor |
Enhanced Specialist Field Armor WOTC: Tactical Legacy | SpecialistPlatedArmor |
Powered Specialist Field Armor WOTC: Tactical Legacy | SpecialistPoweredArmor |
Improvised Grenadier Field Armor WOTC: Tactical Legacy | GrenadierKevlarArmor |
Enhanced Grenadier Field Armor WOTC: Tactical Legacy | GrenadierPlatedArmor |
Powered Grenadier Field Armor WOTC: Tactical Legacy | GrenadierPoweredArmor |
Improvised Sharpshooter Field Armor WOTC: Tactical Legacy | SharpshooterKevlarArmor |
Enhanced Sharpshooter Field Armor WOTC: Tactical Legacy | SharpshooterPlatedArmor |
Powered Sharpshooter Field Armor WOTC: Tactical Legacy | SharpshooterPoweredArmor |
Improvised Psi Operative Field Armor WOTC: Tactical Legacy | PsiOperativeKevlarArmor |
Enhanced Psi Operative Field Armor WOTC: Tactical Legacy | PsiOperativePlatedArmor |
Powered Psi Operative Field Armor WOTC: Tactical Legacy | PsiOperativePoweredArmor |
More Cheats: