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)

NameSyntaxDescription
GiveResourcegiveresource [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.
AddItemadditem [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.
GiveHackRewardgivehackreward [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.
GiveActionPointsgiveactionpoints [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.
GiveScientistgivescientist [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.
GiveEngineergiveengineer [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.
GiveTechgivetech [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.
GiveFacilitygivefacility [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.
SetSoldierStatsetsoldierstat [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.
MakeSoldierAClassmakesoldieraclass ["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.
RemoveFortressDoomremovefortressdoom [amount]The RemoveFortressDoom console command is used to wipe out the doom. You can specify the desired doom number to remove.
ForceCompleteObjectiveforcecompleteobjective [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.
endbattleendbattle [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.
BondSoldiersbondsoldiers ["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.
SkipAIskipaiThe 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.
PowerUppowerupThe 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.
TakeNoDamagetakenodamageBu 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.
ToggleUnlimitedActionstoggleunlimitedactionsYou 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.
ForceCritHitsforcecrithitsForceCritHits 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.
GiveContinentBonusgivecontinentbonus [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.
ToggleUnlimitedAmmotoggleunlimitedammoToggleUnlimitedAmmo 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.
ToggleFOWtogglefowThere 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.
ToggleSquadConcealmenttogglesquadconcealmentToggleSquadConcealment is used to hide the location of your soldiers from the enemies to get yourself protected from them.
TTCttcThe TTC helps to transport your soldiers from one point of the map to the other with just one touch.
TATCtatcThe 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.
LevelUpBarrackslevelupbarracks [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.
HealAllSoldiershealallsoldiersHealAllSoldiers command will provide healing to your soldiers which will improve their health points.
GiveFactionSoldiersgivefactionsoldiersBy using the GiveFactionSoldiers command, you can call the soldiers from different units or groups for the battle.
GiveAbilityChargesgiveabilitychargesYou can use the GiveAbilityCharges console command to get the new abilities for your soldiers.
RestartLevelrestartlevelIf 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.
RestartLevelWithSameSeedrestartlevelwithsameseedThe RestartLevelWithSameSeed command will restart the mission from your current point or location.
pausepauseThe pause console command is used to pause or unpause the current mission of your game.
sloMoslomo [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.
screenshotscreenshotIf 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.
listtextureslisttexturesThe listtextures console command is used to load the texture files of the game.
listsoundslistsoundsIf you want to load the sound files of the game, then you can use the listsounds console command.
ToggleRaintogglerainIf 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.
ChangeListchangelistIf you want to see the recent changes being made in the game, Changelist command will help you out.

XCOM 2 AddItem ID List

Item NameItem ID
Alien AlloysAlienAlloy
Elerium CoreEleriumCore
Elerium CrystalsEleriumDust
IntelIntel
SuppliesSupplies
Magnetic RifleAssaultRifle_MG
Plasma RifleAssaultRifle_BM
Mag CannonCannon_MG
Beam CannonCannon_BM
GREMLIN Mark IIGremlin_MG
GREMLIN Mark IIIGremlin_BM
Mag PistolPistol_MG
Beam PistolPistol_BM
Advanced Psi AmpPsiAmp_MG
Alien Psi AmpPsiAmp_BM
Shard ShotgunShotgun_MG
Storm ShotgunShotgun_BM
Gauss RifleSniperRifle_MG
Plasma LanceSniperRifle_BM
Arc BladeSword_MG
Fusion BladeSword_BM
Advanced Grenade LauncherGrenadeLauncher_MG
Blaster LauncherBlasterLauncher
FlamethrowerFlamethrower
Hellfire PorjectorFlamethrowerMk2
Plasma BlasterPlasmaBlaster
Shredder GunShredderGun
Shredstorm CannonShredstormCannon
Plasma GrenadeAlienGrenade
Acid GrenadeAcidGrenade
Acid BombAcidGrenadeMk2
EMP GrenadeEMPGrenade
EMP BombEMPGrenadeMk2
Incendiary GrenadeFirebomb
Incendiary BombFirebombMk2
Flashbang GrenadeFlashbangGrenade
Gas GrenadeGasGrenade
Gas BombGasGrenadeMk2
Proximity MineProximityMine
Smoke GrenadeSmokeGrenade
Smoke BombSmokeGrenadeMk2
AP RoundsApRounds
Bluescreen RoundsBluescreenRounds
Dragon RoundsIncendiaryRounds
Talon RoundsTalonRounds
Tracer RoundsTracerRounds
Venom RoundsVenomRounds
Hazmat VestHazmatVest
HellweaveHellweave
Nanoscale VestNanoFibreVest
Plated VestPlatedVest
Stasis VestStasisVest
EXO SuitHeavyPlatedArmor
Spider SuitLightPlatedArmor
Predator ArmorMediumPlatedArmor
W.A.R. SuitHeavyPoweredArmor
Wraith SuitLightPoweredArmor
Warden ArmorMediumPoweredArmor
Battle ScannerBattleScanner
Overdrive SerumCombatStims
MedikitMedikit
Mind ShieldMindShield
Mimic BeaconMimicBeacon
NanomedikitNanoMedikit
SkulljackSkulljack
Advent MEC WreckCorpseAdventMEC
Advent Officer CorpseCorpseAdventOfficer
Avatar CorpseCorpseAdventPsiWitch
Advent Shieldbearer CorpseCorpseAdventShieldbearer
Advent Stun Lancer CorpseCorpseAdventStunLancer
Advent Trooper CorpseCorpseAdventTrooper
Advent Turret WreckCorpseAdventTurret
Andromedon CorpseCorpseAndromedon
Archon CorpseCorpseArchon
Berserker CorpseCorpseBerserker
Chryssalid CorpseCorpseChryssalid
Codex BrainCorpseCyberus
Faceless CorpseCorpseFaceless
Gatekeeper CorpseCorpseGatekeeper
Muton CorpseCorpseMuton
Sectoid CorpseCorpseSectoid
Sectopod CorpseCorpseSectopod
Viper CorpseCorpseViper
Advanced ScopeAimUpgrade_adv
ScopeAimUpgrade_bsc
Superior ScopeAimUpgrade_sup
Advanced Expanded MagazineClipsizeUpgrade_adv
Expanded MagazineClipsizeUpgrade_bsc
Superior Expanded MagazineClipsizeUpgrade_sup
Advanced Laser SightCritUpgrade_adv
Laser SightCritUpgrade_bsc
Superior Laser SightCritUpgrade_sup
Advanced Hair TriggerFreeFireUpgrade_adv
Hair TriggerFreeFireUpgrade_bsc
Superior Hair TriggerFreeFireUpgrade_sup
Advanced RepeaterFreeKillUpgrade_adv
RepeaterFreeKillUpgrade_bsc
Superior RepeaterFreeKillUpgrade_sup
Advanced StockMissDamageUpgrade_adv
StockMissDamageUpgrade_bsc
Superior StockMissDamageUpgrade_sup
Advanced Auto-LoaderReloadUpgrade_adv
Auto-LoaderReloadUpgrade_bsc
Superior Auto-LoaderReloadUpgrade_sup
AgilityCommonPCSAgility
ConditioningCommonPCSConditioning
FocusCommonPCSFocus
PerceptionCommonPCSPerception
SpeedCommonPCSSpeed
Epic AgilityEpicPCSAgility
Epic ConditioningEpicPCSConditioning
Epic FocusEpicPCSFocus
Epic PerceptionEpicPCSPerception
Epic SpeedEpicPCSSpeed
Advanced AgilityRarePCSAgility
Advanced ConditioningRarePCSConditioning
Advanced FocusRarePCSFocus
Advanced PerceptionRarePCSPerception
Advanced SpeedRarePCSSpeed
SPARK BIT Shen's Last GiftSparkBit_CV
SPARK BIT Mark II Shen's Last GiftSparkBit_MG
SPARK BIT Mark III Shen's Last GiftSparkBit_BM
Hunter���s Axe Alien HuntersAlienHunterAxe_CV
Ionic Axe Alien HuntersAlienHunterAxe_MG
Fusion Axe Alien HuntersAlienHunterAxe_BM
Shadowkeeper Alien HuntersAlienHunterPistol_CV
Enhanced Shadowkeeper Alien HuntersAlienHunterPistol_MG
Powered Shadowkeeper Alien HuntersAlienHunterPistol_BM
Bolt Caster Alien HuntersAlienHunterRifle_CV
Magnetic Bolt Caster Alien HuntersAlienHunterRifle_MG
Powered Bolt Caster Alien HuntersAlienHunterRifle_BM
Frost Bomb Alien HuntersFrostbomb
R.A.G.E. Suit Alien HuntersHeavyAlienArmor
R.A.G.E. Armor Alien HuntersHeavyAlienArmorMk2
Serpent Suit Alien HuntersLightAlienArmor
Serpent Armor Alien HuntersLightAlienArmorMk2
Icarus Armor Alien HuntersMediumAlienArmor
Icarus Armor (Grounds Upgrade) Alien HuntersMediumAlienArmorMk2
Archon King Corpse Alien HuntersCorpseArchonKing
Berserker Queen Corpse Alien HuntersCorpseBerserkerQueen
Viper King Corpse Alien HuntersCorpseViperKing
Ability Point WOTCAbilitypoint
Disruptor Rifle WOTCChosenRifle_XCOM
Arashi WOTCChosenShotgun_XCOM
Darkclaw WOTCChosenSniperPistol_XCOM
Darklance WOTCChosenSniperRifle_XCOM
Katana WOTCChosenSword_XCOM
Claymore WOTCReaper_Claymore
Temnotic Rifle WOTCVektorRifle_MG
Shadow Lance WOTCVektorRifle_BM
Kal-15 Bullpup WOTCBullpup_MG
Kal-90 Bullpup WOTCBullpup_BM
Ionic Ripjack WOTCWristBlade_MG
Fusion Ripjack WOTCWristBlade_BM
Tempest Gauntlets WOTCShardGauntlet_MG
Celestial Gauntlets WOTCShardGauntlet_BM
Plated Reaper Armor WOTCPlatedReaperArmor
Powered Reaper Armor WOTCPoweredReaperArmor
Plated Skirmisher Armor WOTCPlatedSkirmisherArmor
Powered Skirmisher Armor WOTCPoweredSkirmisherArmor
Plated Templar Armor WOTCPlatedTemplarArmor
Powered Templar Armor WOTCPoweredTemplarArmor
Refraction Field WOTCRefractionField
Sustaining Sphere WOTCSustainingSphere
Ultrasonic Lure WOTCUltrasonicLure
Advent Priest Corpse WOTCCorpseAdventPriest
Advent Purifier Corpse WOTCCorpseAdventPurifier
Spectre Corpse WOTCCorpseSpectre
The Lost Corpse WOTCCorpseTheLost
Old-world Assault Rifle WOTC: Tactical LegacyTLE_AssaultRifle_CV
Improvised Magnetic Rifle WOTC: Tactical LegacyTLE_AssaultRifle_MG
Prototype Plasma Rifle WOTC: Tactical LegacyTLE_AssaultRifle_BM
Light machine Gun WOTC: Tactical LegacyTLE_Cannon_CV
Magnetic Support Cannon WOTC: Tactical LegacyTLE_Cannon_MG
Energy Cannon WOTC: Tactical LegacyTLE_Cannon_BM
Traditional Handgun WOTC: Tactical LegacyTLE_Pistol_CV
Rail Pistol WOTC: Tactical LegacyTLE_Pistol_MG
Energy Pistol WOTC: Tactical LegacyTLE_Pistol_BM
Marksman Rifle WOTC: Tactical LegacyTLE_SniperRifle_CV
Anti-Materiel Rifle WOTC: Tactical LegacyTLE_SniperRifle_MG
Energy AMR WOTC: Tactical LegacyTLE_SniperRifle_BM
Scattergun WOTC: Tactical LegacyTLE_Shotgun_CV
Augmented Shotgun WOTC: Tactical LegacyTLE_Shotgun_MG
Energy Sweeper WOTC: Tactical LegacyTLE_Shotgun_BM
Traditional Sword WOTC: Tactical LegacyTLE_Sword_CV
Experimental Blade WOTC: Tactical LegacyTLE_Sword_MG
Advanced Blade WOTC: Tactical LegacyTLE_Sword_BM
Improvised Ranger Field Armor WOTC: Tactical LegacyRangerKevlarArmor
Enhanced Ranger Field Armor WOTC: Tactical LegacyRangerPlatedArmor
Powered Ranger Field Armor WOTC: Tactical LegacyRangerPoweredArmor
Improvised Specialist Field Armor WOTC: Tactical LegacySpecialistKevlarArmor
Enhanced Specialist Field Armor WOTC: Tactical LegacySpecialistPlatedArmor
Powered Specialist Field Armor WOTC: Tactical LegacySpecialistPoweredArmor
Improvised Grenadier Field Armor WOTC: Tactical LegacyGrenadierKevlarArmor
Enhanced Grenadier Field Armor WOTC: Tactical LegacyGrenadierPlatedArmor
Powered Grenadier Field Armor WOTC: Tactical LegacyGrenadierPoweredArmor
Improvised Sharpshooter Field Armor WOTC: Tactical LegacySharpshooterKevlarArmor
Enhanced Sharpshooter Field Armor WOTC: Tactical LegacySharpshooterPlatedArmor
Powered Sharpshooter Field Armor WOTC: Tactical LegacySharpshooterPoweredArmor
Improvised Psi Operative Field Armor WOTC: Tactical LegacyPsiOperativeKevlarArmor
Enhanced Psi Operative Field Armor WOTC: Tactical LegacyPsiOperativePlatedArmor
Powered Psi Operative Field Armor WOTC: Tactical LegacyPsiOperativePoweredArmor
0 Shares:
Leave a Reply

Your email address will not be published.