Commands Better - Xcom 2 Lwotc Console
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.
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. xcom 2 lwotc console commands better
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 XCOM 2: Long War of the Chosen (LWotC)
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
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:
1. The Problem: Long War is a Marathon, Not a Sprint
LWOTC is brilliant, but it is designed for a specific type of player: one who enjoys managing exhaustion, logistical nightmares, and crushing RNG. The "Better" aspect of using console commands usually stems from mitigating the excessive time-sinks that don't add tactical depth, just administrative tedium.
Without commands, you might spend hours managing the Avenger, staring at the "Haven" screen, or reloading saves because a 99% shot missed and wiped your best squad. Use log files:
2. The Mission Crasher: ForceCompleteMission
You killed the last alien. The objective says "Clear the remaining enemies." There are none. The mission won't end.
- Command:
ForceCompleteMission - What it does: Instantly ends the tactical mission, flags it as a success, and returns you to the Avenger.
- Warning: You do not get bonus loot from corpses if you use this. Use it only when the game logic fails.
Part 5: The Ethical Approach – Setting "House Rules"
To use LWOTC console commands better, you need a contract with yourself. Here is the "Commander’s Code":
- The Ironman Exception: If you play Ironman, the console is your emergency break. Use
restartlevelonly if a bug occurs. If you misclick a move and lose a soldier, accept the loss. That is LWOTC. - The "One Save Scum" Rule: Before a difficult mission, save manually. If the mission goes horribly wrong due to RNG (four 95% shots missed in a row), use the console to
ForceCompleteCurrentMissionand reload your save. You are saving time, not cheating the war. - Resource Accountability: If you use
GiveResourceto bypass a bug, immediately write down what you gave yourself. At the end of the month, "donate" that amount to the Black Market by buying useless stuff and selling it back at a loss.
XCOM 2 LWotC Console Commands: A Practical Guide
AddFacility [FacilityName]
Building the Avenger in LWOTC takes forever due to increased excavation costs and build times.
- Usage:
AddFacility AdvancedWarfareCenter(Check code names for specific rooms). - Effect: Instantly builds a facility. Use this if you want to skip the "excavation" phase of the game to get straight to the tactical depth.
How to find LWOTC blueprint names, tags, and IDs
Many commands require internal names (unlocalized class names, blueprint paths). Methods to discover them:
- Use log files:
- XComGame.log (in AppData\Local\Firaxis\XCom2\Logs) lists blueprint loads. Search for “Blueprint” or specific LWOTC mod folder names.
- Use in-game debugging: developer mode windows sometimes list loaded objects.
- Inspect mod files:
- Steam Workshop: find the LWOTC mod folder in Steamapps\workshop\content<AppID>\ and open .uasset or .ini files (some names in plain text). Tools like UnrealPak or third-party viewers help extract names.
- Use the 'Dump' console commands (listed below) to enumerate objects (may be slow).
Recommended approach: when unsure of a blueprint name, look it up in LWOTC documentation or community threads—modders often publish lists of new class/weapon names.
LWotC Specific / Modded
| Command | Effect |
|---------|--------|
| LWForceInfiltrationComplete | Forces current infiltrating squad to 100% infiltration. |
| LWSetInfiltration [0-100] | Sets infiltration percentage for selected squad. |
| LWForceHavenRebelMission | Triggers a haven mission (useful for testing). |
| LWGiveHavenRebels [region] [number] | Adds rebels to a specific region. |
| LWSetAlertLevel [region] [1-5] | Adjusts Advent alert level in a region. |
Soldier Management
| Command | Effect |
|---------|--------|
| LevelUpBarracks X | Promotes all soldiers in barracks by X ranks. |
| GiveSoldier [class] | Spawns a random rookie of a specific class. Example: GiveSoldier Ranger |
| MakeSoldierAClass [class] | Changes selected soldier’s class (select on Avenger first). |
| RemoveInfantryPoints [X] | Removes fatigue/wound time from selected soldier. |