Image via Firaxis Games

All console commands in XCOM 2

Get an edge.

XCOM 2’s turn-based tactics gameplay is really exciting and a great way to spend a lot of time, especially with all the new features like procedurally generated maps added. Sometimes, it can be even made more fun through console commands. While these console commands give an edge in gameplay, they are certainly not cheating as the developers have put them in the game. With that in mind, here are all the console commands in XCOM 2.

Recommended Videos

Related: The 10 best strategy games for mobile phones

How to activate the console in XCOM 2

To activate the console in XCOM 2, you need to add the ”-allowconsole” at the end of the Target field. If you are using Steam, then select ”Set Launch Options” under the properties tab when choosing the game in the library and add ”-allowconsole” there. Then press ~ to bring up the console while in the game.

XCOM 2 Console Commands List

CommandFunction
additem [item id] [amount]Will give a specific amount of a specific item. See this list for details.
bondsoldiers [soldier name] [soldier name] [true / false]Will bond or unbond two specific soldiers. This command only works in the Avenger and requires the War of the Chosen DLC.
changelistWill print the most recent changes to the game in the console log.
endbattle [0 / 1]Will end the current mission. If all objectives are completed, the mission will be successful, otherwise, it will fail.
forcecompleteobjective [objective id]Will complete the specific objective for an ongoing mission. See this list for details.
forcecrithitsEnables/disables the 100% critical hit chance for both you and the AI.
giveabilitychargesWill add 100 charges to all abilities, except class abilities.
giveactionpoints [amount]Will give a specific number of action points to the selected unit
givecontinentbonus [continent bonus id]Will give a specific continent bonus. See this list for details.
giveengineer [level]Will give an engineer of a specific level. Only one engineer can be kept at a time. This command only works in the Avenger.
givefacility [facility id] [avenger/map index]Will give a specific facility at a specific location. The location must not be obstructed by anything otherwise the command would not work. See this list for details. This command only works in the Avenger.
givefactionsoldiersWill give a soldier from each faction in War of the Chosen. This command only works in the Avenger and requires the War of the Chosen DLC.
givehackreward [hack reward id]Will give a specific hack reward. See this list for details.
giveresource [resource id] [amount]Will give a specific amount of a specific resource.
givescientist [level]Will give a scientist of a specific level. Only one scientist can be kept at a time. This command only works in the Avenger.
givetech [tech id]Will research a specific technology. See this list for details. This command only works in the Avenger.
healallsoldiersHeals all soldiers in the barracks to full HP. This command only works in the Avenger.
levelupbarracks [amount]Levels up all soldiers in the barracks by the specific levels. This command only works in the Avenger.
listsoundsLists all sound files currently loaded in the game.
listtexturesLists all texture files currently loaded in the game.
makesoldieraclass [“soldier name”] [class id]Will set the class of a specific soldier. This will demote the soldier to Squaddie rank at first. See this list for details.
pauseWill pause the game.
powerupEnables/disables god mode for your squad.
removefortressdoom [amount]Will remove a specific amount of doom from the Avatar project. This command only works in the Avenger.
restartlevelWill restart the current mission.
restartlevelwithsameseedWill restart the current mission with the same seed.
screenshotWill take a screenshot of the game. Screenshots are saved to Documents\my games\XCOM2\XComGame\Screenshots\PCConsole.
setsoldierstat [stat id] [value] [soldier name] [0 / 1]Will set the specific stat of a specific soldier to a specific value. See this list for details. This command only works in the Avenger.
skipaiWill make the AI skip a turn.
slomo [multiplier]Will fast forward or slow down the game depending on the multiplier value.
takenodamageEnables/disables invincibility for all your soldiers.
togglefowEnables/disables the Fog of War.
togglerainEnables/disables rain.
togglesquadconcealmentEnables/disables squad concealment.
toggleunlimitedactionsEnables/disables unlimited action points for both you and the AI.
toggleunlimitedammoEnables/disables unlimited ammo for both you and the AI.
tatcTeleports all units to a specific location.
ttcTeleports a selected unit to a specific location.

Gamepur is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Today’s Coin Master Free Spins & Daily Coins Links (April 2024)
Coin Master free spins and coins daily working links
Read Article Roblox Restaurant Tycoon 2 codes
Read Article Honkai: Star Rail – All HSR Free Codes & How to Claim Them (April 2024)
Honkai Star Rail final beta cover
Read Article Roblox One Fruit Simulator Codes (April 2024)
Read Article Roblox Project New World codes (April 2024) [Haze Piece]
roblox-project-new-world-codes
Related Content
Read Article Today’s Coin Master Free Spins & Daily Coins Links (April 2024)
Coin Master free spins and coins daily working links
Read Article Roblox Restaurant Tycoon 2 codes
Read Article Honkai: Star Rail – All HSR Free Codes & How to Claim Them (April 2024)
Honkai Star Rail final beta cover
Read Article Roblox One Fruit Simulator Codes (April 2024)
Read Article Roblox Project New World codes (April 2024) [Haze Piece]
roblox-project-new-world-codes
Author
Samam Hasan
Samam Hasan is a freelance writer with a strong love for video games. He enjoys playing sim racing and RPG games in his free time along with the occasional FPS. When he’s not writing about or playing video games, you’ll find him watching classic Japanese and European movies or learning about medieval history.