XCOM 2

Introduction to XCOM 2

XCOM 2 is developed by Firaxis Games and published by 2K Games in 2016 for Microsoft Windows, Linux, and Mac OS X. Following the prior success of XCOM: Enemy Unknown, this game opens up a new whole new set of stories, which are quite interesting to uncover. This game has received a decent rating on the Steam platform alone.

Like the previous release, XCOM 2 is a turn-based strategy game where you take control of the human force. Under your command, the human resistance slowly fights off the Advent, an alien regime that has been on Earth for over 20 years since the event of the original X-COM.

How to open the console to input commands?

Like the majority of video games on Steam, the developers of XCOM 2 has included the console feature. From here, you can type commands to get an edge in your gameplay or to fix a bug in the gaming process. Via the -allowconsole launch option, you can trigger the action box from within the game. You can find out more here.

How to use console commands?

After you’ve enabled the console, the next question pops up. While it’s evident than this debugging window will let you input commands or debug your game, it’s essential to know how to do it. First, you need to open the console. On your keyboard, two keys should get the job done. Find the ~ key or the \ key, hit it, and the console will open. After finishing whatever you need to do with it, press ESC or the key that you used earlier to close the window.

The format is simple: just type console command and press Enter for it to take effect. Sometimes, they require arguments or numbers and words to complete data input. For instance, take a look at the giveactionpoints [amount] command. The [amount] tells the console how many actions points you need, so if you replace it with 5, the game will give you 5 action points.

Xcom 2 Console Commands List

Name Effect Example/Comment
giveresource giveresource [resource id] [amount] Give you the resource with the specified ID. Specify an amount of the resource you wish to add - e.g. 100. You must have at least one of the resource you wish to add in order for this to work.(Note: Avenger)
additem additem [item id] [amount] Give you the item with the specified ID. Can optionally specify an amount of the item that you wish to add. (Note: Avenger)
givehackreward givehackreward [hack reward id] Give you the hack reward with the specified ID. Note: Mission
giveactionpoints giveactionpoints [amount] Give the unit that you currently have selected the specified amount of action points. Note: Mission
givescientist givescientist [level] Give you a scientist of the specified level. Note that can only have one scientist at once, so this will replace your existing scientist. (Note: Avenger)
giveengineer giveengineer [level] Give you an engineer of the specified level. Note that can only have one scientist at once, so this will replace your existing scientist. (Note: Avenger)
givetech givetech [tech id] Research the technology with the specified ID. Note: Avenger
givefacility givefacility [facility id] [avenger/map index] Give you the facility with the specified ID at the specified position. If there is an existing facility, debris, or ongoing construction at the position you specify, This console command will not do anything. The game may not update instantly after using This console command - switching screens (e.g. going into the Geoscape and back) will apply changes.(Note: Avenger)
setsoldierstat setsoldierstat [stat id] [value] [soldier name] [0 / 1] Set the stat of the specified solider to the specified value. If are using the WOTC DLC, also need to specify the 0/1 argument at the end of the command.(Note: Avenger)
makesoldieraclass makesoldieraclass ['soldier name'] [class id] Sets the class of the soldier with the specified name. Note that this will demote soldier to squaddie rank, and that you should make a save before using This console command.(Note: Avenger)
removefortressdoom removefortressdoom [amount] Removes the specified amount of doom from the Avatar Project. Note: Avenger
forcecompleteobjective forcecompleteobjective [objective id] Complete the specified objective for your current mission. Complete all of mission objectives with this command before using the endbattle command to win your current mission.(Note: Mission)
endbattle endbattle [0 / 1] End your current mission. If all objectives are completed, you will win the mission, otherwise you will fail.
bondsoldiers bondsoldiers ['soldier name'] ['soldier name'] [true / false] This console command bonds, or unbonds , the two specified soldiers. Note: Avenger, War of the Chosen.
skipai skipai Makes the AI skip a turn. I.e. this will end the AIs turn and make it your turn.(Note: Mission)
powerup powerup Enables and disables god mode for all of your squad (not AI). When in god mode, quad will not have to reload, and will not take any damage.(Note: Mission)
takenodamage takenodamage Enables and disables invincibility for all of your soliders. Note: Mission
toggleunlimitedactions toggleunlimitedactions Enables and disables unlimited action points for both you and the AI. Well, APs will not be used up. Note that if use this on the AIs turn, the AI will not run out of action points.(Note: Mission)
forcecrithits forcecrithits Enables and disables 100% chance for both your squad and the AI to hit critical hits. With this enabled, every hit will be a critical hit.(Note: Mission)
givecontinentbonus givecontinentbonus [continent bonus id] Give you the specified continent bonus. Note: Avenger
toggleunlimitedammo toggleunlimitedammo Enables and disables unlimited ammunition for both squad and the AI. Turn on at the start of your turn, and off at the end, to avoid giving the AI unlimited ammo.(Note: Mission)
togglefow togglefow Enables and disables Fog of War (FoW). Fog of War is the fog that covers the map in out-of-reach places.(Note: Mission)
togglesquadconcealment togglesquadconcealment Enables and disables the concealment of your squad. Aliens that are already aware of any solider(s) location, will remain aware regardless of whether this is on or off.(Note: Mission)
ttc ttc Teleport the unit that currently have selected to the location in the game that your mouse cursor is over. Note: Mission
tatc tatc Teleport all units to the location in the map that your mouse cursor is over. Note: Mission
levelupbarracks levelupbarracks [amount] Level up all soldiers in barracks by the specified amount of levels. Note: Avenger
healallsoldiers healallsoldiers Heals all soldiers currently in your barracks to full HP. Note: Avenger
givefactionsoldiers givefactionsoldiers Give you a soldier from each Faction in the War of the Chosen. The three Factions are Reaper, Skirmisher, and Templar.(Note: Avenger) (War of the Chosen)
giveabilitycharges giveabilitycharges Add 100 charges to all of your abilities, excluding class abilities. NOTE: This command has been reported as 'buggy' - make sure you save your game before using it.
restartlevel restartlevel Restart your current mission. Note: Mission
restartlevelwithsameseed restartlevelwithsameseed Restart your current mission with the same seed that it was generated with. All of the random aspects of the game (e.g. spawn locations) will be the exact same as they were when you first started.(Note: Mission)
pause pause Toggle the pause state for the game. I.e. if paused, it will unpause, if not paused, it will pause.
slomo slomo [multiplier] Fast forward or slow down the game. Change the speed the game runs at. A multiplier of 2 would make everything in the game be twice as fast, a multiplier of 0.5 would make the game run in slowmotion.
screenshot screenshot Take a screenshot of your game. Save to Documents\my games\XCOM2\XComGame\Screenshots\PCConsole.
listtextures listtextures Lists all texture files that are currently loaded by the game.
listsounds listsounds Lists all sound files that are currently loaded by the game.
togglerain togglerain Enable or disable (toggle) rain. Note: Mission
changelist changelist Print to the console log a list of the most recent changes in the game.

giveresource Copy

giveresource [resource id] [amount]

Give you the resource with the specified ID.

Specify an amount of the resource you wish to add - e.g. 100. You must have at least one of the resource you wish to add in order for this to work.(Note: Avenger)

additem Copy

additem [item id] [amount]

Give you the item with the specified ID.

Can optionally specify an amount of the item that you wish to add. (Note: Avenger)

givehackreward Copy

givehackreward [hack reward id]

Give you the hack reward with the specified ID.

Note: Mission

giveactionpoints Copy

giveactionpoints [amount]

Give the unit that you currently have selected the specified amount of action points.

Note: Mission

givescientist Copy

givescientist [level]

Give you a scientist of the specified level.

Note that can only have one scientist at once, so this will replace your existing scientist. (Note: Avenger)

giveengineer Copy

giveengineer [level]

Give you an engineer of the specified level.

Note that can only have one scientist at once, so this will replace your existing scientist. (Note: Avenger)

givetech Copy

givetech [tech id]

Research the technology with the specified ID.

Note: Avenger

givefacility Copy

givefacility [facility id] [avenger/map index]

Give you the facility with the specified ID at the specified position.

If there is an existing facility, debris, or ongoing construction at the position you specify, This console command will not do anything. The game may not update instantly after using This console command - switching screens (e.g. going into the Geoscape and back) will apply changes.(Note: Avenger)

setsoldierstat Copy

setsoldierstat [stat id] [value] [soldier name] [0 / 1]

Set the stat of the specified solider to the specified value.

If are using the WOTC DLC, also need to specify the 0/1 argument at the end of the command.(Note: Avenger)

makesoldieraclass Copy

makesoldieraclass ['soldier name'] [class id]

Sets the class of the soldier with the specified name.

Note that this will demote soldier to squaddie rank, and that you should make a save before using This console command.(Note: Avenger)

removefortressdoom Copy

removefortressdoom [amount]

Removes the specified amount of doom from the Avatar Project.

Note: Avenger

forcecompleteobjective Copy

forcecompleteobjective [objective id]

Complete the specified objective for your current mission.

Complete all of mission objectives with this command before using the endbattle command to win your current mission.(Note: Mission)

endbattle Copy

endbattle [0 / 1]

End your current mission.

If all objectives are completed, you will win the mission, otherwise you will fail.

bondsoldiers Copy

bondsoldiers ['soldier name'] ['soldier name'] [true / false]

This console command bonds, or unbonds , the two specified soldiers.

Note: Avenger, War of the Chosen.

skipai Copy

skipai

Makes the AI skip a turn.

I.e. this will end the AIs turn and make it your turn.(Note: Mission)

powerup Copy

powerup

Enables and disables god mode for all of your squad (not AI).

When in god mode, quad will not have to reload, and will not take any damage.(Note: Mission)

takenodamage Copy

takenodamage

Enables and disables invincibility for all of your soliders.

Note: Mission

toggleunlimitedactions Copy

toggleunlimitedactions

Enables and disables unlimited action points for both you and the AI.

Well, APs will not be used up. Note that if use this on the AIs turn, the AI will not run out of action points.(Note: Mission)

forcecrithits Copy

forcecrithits

Enables and disables 100% chance for both your squad and the AI to hit critical hits.

With this enabled, every hit will be a critical hit.(Note: Mission)

givecontinentbonus Copy

givecontinentbonus [continent bonus id]

Give you the specified continent bonus.

Note: Avenger

toggleunlimitedammo Copy

toggleunlimitedammo

Enables and disables unlimited ammunition for both squad and the AI.

Turn on at the start of your turn, and off at the end, to avoid giving the AI unlimited ammo.(Note: Mission)

togglefow Copy

togglefow

Enables and disables Fog of War (FoW).

Fog of War is the fog that covers the map in out-of-reach places.(Note: Mission)

togglesquadconcealment Copy

togglesquadconcealment

Enables and disables the concealment of your squad.

Aliens that are already aware of any solider(s) location, will remain aware regardless of whether this is on or off.(Note: Mission)

ttc Copy

ttc

Teleport the unit that currently have selected to the location in the game that your mouse cursor is over.

Note: Mission

tatc Copy

tatc

Teleport all units to the location in the map that your mouse cursor is over.

Note: Mission

levelupbarracks Copy

levelupbarracks [amount]

Level up all soldiers in barracks by the specified amount of levels.

Note: Avenger

healallsoldiers Copy

healallsoldiers

Heals all soldiers currently in your barracks to full HP.

Note: Avenger

givefactionsoldiers Copy

givefactionsoldiers

Give you a soldier from each Faction in the War of the Chosen.

The three Factions are Reaper, Skirmisher, and Templar.(Note: Avenger) (War of the Chosen)

giveabilitycharges Copy

giveabilitycharges

Add 100 charges to all of your abilities, excluding class abilities.

NOTE: This command has been reported as 'buggy' - make sure you save your game before using it.

restartlevel Copy

restartlevel

Restart your current mission.

Note: Mission

restartlevelwithsameseed Copy

restartlevelwithsameseed

Restart your current mission with the same seed that it was generated with.

All of the random aspects of the game (e.g. spawn locations) will be the exact same as they were when you first started.(Note: Mission)

pause Copy

pause

Toggle the pause state for the game.

I.e. if paused, it will unpause, if not paused, it will pause.

slomo Copy

slomo [multiplier]

Fast forward or slow down the game.

Change the speed the game runs at. A multiplier of 2 would make everything in the game be twice as fast, a multiplier of 0.5 would make the game run in slowmotion.

screenshot Copy

screenshot

Take a screenshot of your game.

Save to Documents\my games\XCOM2\XComGame\Screenshots\PCConsole.

listtextures Copy

listtextures

Lists all texture files that are currently loaded by the game.

listsounds Copy

listsounds

Lists all sound files that are currently loaded by the game.

togglerain Copy

togglerain

Enable or disable (toggle) rain.

Note: Mission

changelist Copy

changelist

Print to the console log a list of the most recent changes in the game.

More about XCOM 2

⦁XCOM 2 plot

The event of XCOM 2 happens in 2035, 20 years after what went on in the first release. XCOM proved that they weren’t capable of handling the alien threats, and was betrayed by the council nations who surrendered to the Advent not long after the invasion. XCOM is now just a resistance force and must fight their way to eliminate the alien occupation.

Through effective propaganda of Advent – the puppet of the alien force, most of the people believe that they came in peace. Those who are involved with XCOM either had their identity erased or went into hiding.

⦁Gameplay

Like its successor, XCOM 2 places you to the role of a commander of a human military organization. You take control of the Avenger – the new base for XCOM. The things you can do involves commanding troops against alien fighters and giving directions to the research department. The engineers in the Avenger are in charge of developing new weapons and supplies for your soldiers in the front line.

Your soldiers can be recruited, and each class has its unique ability and skillset. For example, the Ranger class can use melee weapons, or the Grenadier class utilizes grenade launchers and explosive matters. Each map has a distinguish terrain and buildings. The environment is powered by world’s state, so every campaign requires you to use different tactics.

For the majority of missions in XCOM 2, get ready for guerrilla warfare as your squad will be concealed. It’s crucial to place your troops efficiently to ambush your enemies and gain an advantage in your progress. Enemy’s corpses may contain precious materials, so it’s necessary to loot them for extra equipment. You can also command your squad to hack into the Advent’s structures like turrets to fight against themselves.

All in all, there are a lot of ways you can think of to succeed in a mission. The multiplayer option of the game is also an excellent feature. You can get to see how other players develop their own strategies – that way, you can adapt and change yours for the better.

Conclusion

XCOM 2 is a fantastic strategy game, and I love how the creators shape up their ideas about this game. With the assistance of console commands, you can either skip a part of the game or get more items for your quest to human race survival. While overusing them can ruin your gameplay experience, a little cheating won’t hurt!