If you have clicked into this article, you likely know the pain. You are staring at the Geoscape. It is October. The Chosen are maxed out. The Avatar Project is two pips from completion. You just lost your best Ranger to a Muton crit through full cover. You are playing Long War of the Chosen (LWOTC), and the game has broken you.
But you aren’t ready to quit. You want to fight back. You want to use the developer console.
However, the internet is flooded with old cheats for Vanilla XCOM 2 or standard Long War 2. Using those in LWOTC will crash your game, corrupt your save, or simply do nothing.
This guide is about using XCOM 2 LWOTC console commands better. We aren’t just talking about spawning 100 Sectoids for target practice. We are talking about surgical, intelligent console use that fixes bugs, bypasses grinding, and lets you customize the difficulty without breaking the delicate balance of the Long War overhaul.
Here is how to activate, master, and ethically use the console to make your LWOTC experience better.
These are for when you want to experiment with loadouts, test mechanics, or create cinematic scenarios.
You came here to search "XCOM 2 lwotc console commands better" because you are losing. We all do. XCOM is a game about losing.
The ultimate better command is actually no command at all. But if you must use it, use the Safe Word command:
ResignFirstPerson
This weirdly named command (leftover from the dev build) does two things:
This is the most mature way to use the console. You use it to admit defeat gracefully, learn from the log, and start a new campaign without rage-quitting.
Conclusion: Play Smarter, Not Cheater
Using XCOM 2 LWOTC console commands better means respecting the mod. LWOTC is brutal because it is brilliant. Use the console to skip the boredom (infiltration timers), fix the bugs (stuck missions), and heal the injuries (fatigue). Never use it to aimbot or remove the fog of war.
Use ToggleFOW to scout for glitched enemies.
Use RestartLevel to fix a teleporting civilian.
Use GiveResource to pay for the armor you already earned.
But above all: save your game before you type a single command. The console is a tool, not a toy. Treat it like a wrench, not a sledgehammer.
Now go win the Long War. The Commander is waiting.
To use console commands in XCOM 2: Long War of the Chosen (LWOTC) , you must first enable them by adding -allowconsole
to your game’s launch options in Steam. Once in-game, you can open the console by pressing the
Below is a categorized list of the most effective console commands to improve your gameplay experience, whether for debugging, recovery, or testing. Soldier & Unit Management xcom 2 lwotc console commands better
These commands help you manage your roster and fix issues with specific units. HealAllSoldiers
: Instantly heals all injured soldiers currently in your barracks back to full HP. MakeSoldierAClass "[Name] [Surname]" [ClassName] : Resets a soldier's class. For example, use PsiOperative to convert a soldier into a Psi Op. LevelUpSelectedSoldier [Amount]
: Levels up the currently selected soldier in the Armory by the specified number of ranks. LevelUpBarracks [Amount]
: Levels up every single soldier in your barracks by the specified number of levels. GiveFactionSoldiers
: Grants you one soldier from each War of the Chosen faction (Reaper, Skirmisher, and Templar). SetSoldierStat [StatID] [Value] "[Name] [Surname]" 1 : Directly modifies a specific stat. Common StatIDs include eStat_Offense eStat_Will Tactical Combat Adjustments
Use these during missions to resolve bugs or bypass difficult segments. (Teleport To Cursor)
: Teleports the currently selected unit to where your mouse cursor is pointing. KillAllAIs : Instantly kills every AI unit on the map.
: If a mission requires killing a specific target like an ADVENT General, reveal them first to avoid bugging the mission.
: Removes the Fog of War, making the entire map and all enemies visible. RestartLevel : Restarts the current tactical mission from the beginning. GiveAbilityCharges
: Grants 1,000 charges to all abilities for all units on the field. Steam Community Strategic Resource Injection
Use these in the Avenger to manage your campaign's economy. The syntax is generally GiveResource [ResourceID] [Amount]
XCOM 2: Long War of the Chosen (LWotC) is an incredibly rewarding experience, but its unforgiving mechanics and massive scale can occasionally lead to campaign-breaking bugs or extreme frustration. When standard tactics fail or a glitch robs you of your best squad, the developer console becomes your ultimate tool for survival.
Here is a guide on how to unlock the console and use the most effective commands to smoothly fix, manage, and occasionally overpower your LWotC campaign. 💻 How to Unlock the Console
Before entering commands, you must enable the developer console in the game's launch parameters:
Open your game launcher (such as the standard Steam launcher or the AML Alternative Mod Launcher). Go to the properties or launch options for XCOM 2.
Add the following line exactly as shown: -allowconsole -log -autodebug. If you have clicked into this article, you
Launch the game and press the Tilde key (~) or Backslash (\) to pull up the command interface. 🛠️ The "Bug Fixer" Commands
LWotC features massive battles that can occasionally glitch out. Use these commands to fix line-of-sight bugs, map getting stuck, or broken objective triggers without ruining your ironman-style runs.
TTC — Teleports the selected unit to your mouse cursor. Great for moving soldiers trapped in geometry or fixing vertical movement bugs.
TATC — Teleports your entire squad to the cursor. Perfect for retrieving a squad if the evacuation zone is glitched or inaccessible.
LWOTC_setselectedunitactive — Clears wounds on the currently selected unit instantly.
RestartLevel — Restarts your current mission from the beginning.
X2ResetCooldowns — Refreshes all ability cooldowns on the active unit. 🧬 Tactical Domination Commands
If a mission has completely spun out of control, or you just want to experience the raw power of a god-tier commander, these commands will alter the physical rules of the active battlefield.
PowerUp — Grants total invincibility and removes ammo or cooldown restrictions for your squad.
KillAllAIs — Instantly destroys every enemy active on the map. (⚠️ Note: Use with caution on target assassination missions! Kill the ADVENT General with standard fire first before executing this, or the mission will fail).
GiveAbilityCharges — Adds a massive 100 charges to your consumable active abilities.
SloMo [Value] — Slows down or speeds up game time. Use SloMo 1.0 for normal speed, lower for slow motion, and higher (like 1.5 or 2.0) to fly through slow enemy turns. 🛰️ Strategic & Barracks Commands
Managing the Geoscape in Long War is a full-time job. Skip the intense grind or instantly re-spec your army with these strategic injections.
GiveResource Supplies [Amount] — Grants you raw supplies to fund your resistance. (Works similarly with EleriumDust or AlienAlloy).
LevelUpBarracks [Amount] — Levels up every single soldier sitting in your barracks by the defined amount of levels.
GiveFactionSoldiers — Instantly recruits a hero soldier from each of the three major resistance factions (Reaper, Skirmisher, and Templar) directly into your barracks. ⚠️ A Note on Cheating Responsibly These are for when you want to experiment
LWotC's thrill is found in its brutal difficulty. It is highly recommended to only use these commands to bypass hard-stop software glitches, test out complex mod interactions, or blow off steam on a separate non-serious save file!
To help you get the exact commands or setup you need to continue your campaign, let me know:
The developer console in Long War of the Chosen (LWOTC) is a powerful tool that allows players to bypass technical glitches, manage resource scarcity, and customize their strategic experience. Mastering these commands can turn a campaign from a frustrating slog into a balanced, tailored tactical journey. Enabling the Console
To use console commands, you must first enable the console through your game launcher. library and right-click on Properties , then locate the Launch Options -allowconsole (optionally add -log -autodebug for more detailed info). While in-game, press the backslash (\) key to open the command line. Essential Tactical Fixes
Tactical missions in LWOTC can sometimes be disrupted by bugs or extreme line-of-sight (LOS) issues. These commands help restore fairness: TTC / TATC
: Teleports the selected unit (TTC) or the entire squad (TATC) to your cursor. This is vital if a soldier gets stuck in terrain or a roof. X2ResetCooldowns
: Refreshes all ability cooldowns for the selected unit, useful if a bug causes a skill to hang. HealAllSoldiers : Instantly heals all units on the field to full health. RestartLevel
: Restarts the current mission from the beginning if a glitch makes it impossible to complete. Strategic Resource Management
LWOTC disables some vanilla commands (e.g., GiveTech, GiveEngineering) because they break the mod’s progression. Use the LW... equivalents instead.
If a command doesn’t work, open console and type help to see which LW... commands are active in your version.
Would you like a full exported list of all console commands from your specific LWOTC install? (You can generate it with DumpConsoleCommands > commands.txt in console.)
GiveAbility <abilityName> <firstname_lastname>
Better approach for testing:
LevelUpBarracks 1 (gives 1 level to all soldiers — LWOTC works with this)
GiveSoldierPoints <num> <firstname_lastname>
| Command | Effect |
|---------|--------|
| GiveResource Supplies X | Adds X supplies. |
| GiveResource Intel X | Adds X intel. |
| GiveResource EleriumDust X | Adds X elerium. |
| GiveResource AlienAlloy X | Adds X alloys. |
| GiveCorpses [corpse name] X | Adds X corpses. Names vary; use Help Corpses to list. |
| GiveEngineer / GiveScientist | Adds one engineer/scientist. |
Long War is famous for its grind. Sometimes the strategic layer demands too much, or you simply want to skip the early game "hump." These commands help you manage resources without instantly winning the game.