Master Guide to XCOM 2: Long War of the Chosen (LWOTC) Console Commands
Long War of the Chosen (LWOTC) is widely considered the definitive way to play XCOM 2, but its complexity and length can sometimes lead to technical hiccups or "XCOM moments" that feel more unfair than challenging. Whether you need to fix a bugged mission, test a new build, or simply balance the scales against the ADVENT coalition, console commands are your primary tool for customization. How to Enable the Console in LWOTC
Before you can input any commands, you must enable the developer console. The method varies slightly depending on whether you use the standard launcher or the community-favored Alternative Mod Launcher (AML).
Steam/Standard Launcher: Right-click XCOM 2 in your library > Properties > General. In the Launch Options box, type -allowconsole.
Alternative Mod Launcher (AML): Go to Settings > Edit Columns > check "Arguments." Then, in the arguments field for XCOM 2, add -allowconsole.
In-Game: Press the Tilde (~) key or the backslash () key to open the command overlay. Essential Tactical Commands (During Missions)
Tactical commands are used while you are on the ground controlling your squad. These are perfect for fixing line-of-sight bugs or "unstucking" an AI that refuses to end its turn.
TTC (Teleport To Cursor): Moves the currently selected unit to wherever your mouse is pointing. This is the gold standard for fixing units stuck in terrain. TTA (Teleport To Armor): Teleports all units to the cursor.
RestartLevel: Restarts the current mission from the beginning.
PowerUp: Grants the selected unit infinite health and ammo, and removes cooldowns. Type it again to disable.
WhoseTurnIsItAnyway: Useful if the game hangs during the alien turn; it forces the turn back to the player.
KillAllAliens: Immediately kills every enemy currently active on the map. Use this sparingly, as it can sometimes break mission-completion triggers if objectives haven't been met. Strategy Layer Commands (On the Avenger)
Managing the resistance in LWOTC is a marathon. If you find your campaign spiraling due to a lack of resources or a mismanaged roster, these commands can help you pivot. xcom 2 lwotc console commands
GiveResource [ResourceID] [Amount]: The primary way to boost your supplies. Common IDs include: Supplies AlienAlloy EleriumDust Intel
AddItem [ItemName] [Quantity]: Adds specific items to your inventory. Note that for LWOTC, some item names differ from base WOTC. For example, AddItem CorpseAdventTrooper 10.
LevelUpSoldier [Amount]: Select a soldier in the armory and use this to increase their rank. In LWOTC, this is helpful for testing high-level perk synergies without a 40-hour time investment.
HealAllSoldiers: Instantly removes the "Tired" or "Wounded" status from your entire roster. LWOTC-Specific Debugging
LWOTC introduces complex mechanics like Infiltration and Liberation. While standard XCOM 2 commands work, you should use them with caution regarding these new systems.
ForceInfiltrate: Can be used to instantly complete the infiltration percentage on a chosen mission.
GiveFacility [FacilityName]: Instantly builds a facility on the Avenger. Use names like ResistanceRing or Laboratory. A Note on Fairness and "XCOM Style"
While the console is a powerful tool, the developers of LWOTC designed the mod to be a grueling test of strategy. Using GiveResource might save a failing run, but many players find that the most satisfying victories come from overcoming those deficits naturally.
Pro-Tip: Always save your game before using a console command. Some commands can cause the game to crash or corrupt a save state if used during sensitive animation sequences.
To use console commands in Long War of the Chosen (LWOTC) , you must first enable the developer console by adding -allowconsole to your game's launch options in Steam.
Once in-game, press the tilde key (~) to open the console and enter the following commands to bypass bugs, test builds, or tailor your story experience. 🛠️ Tactical & Utility Commands
These are essential for fixing common glitches or speeding up repetitive gameplay during tactical missions. Master Guide to XCOM 2: Long War of
TTC: Teleports the currently selected soldier to your cursor's location. TATC: Teleports your entire squad to the cursor.
RestartLevel: Restarts the current mission from the beginning.
ToggleFOW: Toggles the Fog of War, revealing the entire map. SkipAI: Forces all AI-controlled units to skip their turns.
PowerUp: Grants the selected unit invincibility and unlimited ammo.
Slomo [Number]: Changes game speed (e.g., Slomo 3 for faster movement, Slomo 1 for normal). 🎖️ Soldier & Stat Management
Use these to customize your heroes or fix an "unfair" RNG result that ruins your narrative. WOTC] Additional Soldier Console Commands
Here’s a list of useful console commands for XCOM 2: Long War of the Chosen (LWOTC).
Important:
- Enable the console by adding
-allowconsoleto your launch options (Steam → Properties).- In-game, press the tilde key (
~) or\(depending on keyboard layout) to open the console.- Commands are case-sensitive.
- Some commands may break balance or missions—save first.
The console in XCOM 2: Long War of the Chosen is a scalpel, not a sledgehammer. Used wisely, it can recover a campaign ruined by a corrupted save file, a line-of-sight bug that leaves a Sectopod invincible, or the heartbreak of a single missed 99% shot that wipes your best squad.
But the true magic of LWOTC is the hard-fought victory—the extraction where three soldiers carry the fourth to the skyranger under plasma fire. Use console commands to enable more of those moments, not to replace them.
Save often, back up your files, and when all else fails, remember the most powerful command of all:
ToggleGodMode + PowerUp + KillAIPlayer = A new campaign starting tomorrow.
Good luck, Commander. The aliens continue to make progress on the Avatar Project. Important:
Have a specific LWOTC console command question? Check the "Long War of the Chosen" Discord’s #mod-help channel. The developers themselves often provide updated command lists for the latest beta versions.
Long War of the Chosen (LWotC) for XCOM 2 supports standard console commands, enabled via the -allowconsole
launch argument, to manage soldiers, resources, and fix mission bugs. Key commands include SetSoldierStat for stats, GiveResource for supplies and intel, and ForceCompleteObjective to resolve stalled missions. For more details, visit Steam Community Steam Community
XCOM 2:All console commands and IDs [WOTC] - Steam Community
| Command | Effect | Example |
|---------|--------|---------|
| GiveResource [resource] [amount] | Adds supplies, alloys, elerium, etc. | GiveResource Supplies 500 |
| GiveEngineer / GiveScientist | Adds 1 engineer/scientist | |
| GiveStaff XX | Adds X of a staff type (e.g., Scientist 3) |
| LevelUpBarracks X | Levels every soldier in barracks by X ranks | LevelUpBarracks 1 (be careful—can skip promotions) |
| GiveSoldier [class] [name] | Creates a soldier of given LWotC class | GiveSoldier shinobi "Jane Kelly" |
| HealAllSoldiers | Fully heals all soldiers in barracks | |
| RemoveInfirmaryTimer | Removes wound timers instantly | |
| RemoveGravelyWounded | Heals gravely wounded soldiers instantly | |
| RemoveAbilityCooldowns | Resets cooldowns on abilities in tactical | |
| RestoreAmmo | Refills ammo for all soldiers (tactical) | |
| ToggleGodMode | Invincible & infinite actions for your squad | |
| KillAllAIs | Kills all enemies on current map (debug) | |
| Command | Effect |
|---------|--------|
| KillAllAIs | Kills all enemies |
| KillAIPlayer | Kills only enemy units |
| EndBattle | Ends current tactical mission (win) |
| RestartLevel | Restarts the tactical mission |
| TeleportToCursor | Moves selected soldier to mouse cursor |
| GiveActionPoints [Number] | Adds action points to selected soldier |
Building the Avenger in Long War takes months of in-game time. To speed this up:
InstantFacilityBuild
InstantResearch
LWOTC changes class names. Here are the correct class templates for the MakeSoldierAClass command.
First, select a rookie in the barracks. Then type:
MakeSoldierAClass "LWOTC_Ranger"MakeSoldierAClass "LWOTC_Sharpshooter"MakeSoldierAClass "LWOTC_Grenadier"MakeSoldierAClass "LWOTC_Specialist"MakeSoldierAClass "LWOTC_Gunner"MakeSoldierAClass "LWOTC_Assault"MakeSoldierAClass "LWOTC_Technical"MakeSoldierAClass "LWOTC_Psi" (For the LWOTC Psion)MakeSoldierAClass "LWOTC_Shinobi"Remove negative traits: GiveSoldierWillPts -X (where X is the negative will penalty value shown on their info card).
| Command | Effect |
|---------|--------|
| MakeSoldierAClass [ClassNick] | Changes selected soldier’s class (e.g., ranger, sharpshooter, grenadier, specialist, technical, assault, gunner, shinobi) |
| GiveSoldierPoints [Number] | Gives selected soldier ability points |
| RemoveInfirmarySoldier | Removes selected soldier from infirmary |
| RebuildSoldiers | Rebuilds all soldier abilities (fixes missing perks) |