Xcom 2 Lwotc Console Commands May 2026

Long War of the Chosen (LWotC) is a massive overhaul mod for XCOM 2: War of the Chosen. While it adds hundreds of new systems, soldiers, items, and enemies, it inherits the underlying console command system from the base game, albeit with some significant changes, restrictions, and new additions.

Important Prerequisites:


Q: I typed a command, and nothing happened. A: You likely missed a space or quotation mark. For multi-word templates, quotes are mandatory: GiveResource "Alien Biotech" (yes, the space matters). Also, ensure your keyboard layout matches the tilde key.

Q: The console says "Command not recognized." A: Many vanilla commands were removed or renamed in LWOTC. For example, ToggleUnlimitedLoot does not work. Instead, use GiveResource "Loot" 5.

Q: I spawned a Chosen, and now they won't leave. A: Never spawn the Chosen via SpawnUnit "ChosenWarlock". Their AI is tied to the Stronghold map. It will break. To remove a bugged Chosen, select them and type DestroyUnit. xcom 2 lwotc console commands

Q: My soldier is stuck as a "Target" icon after using a targeted command. A: Click on the ground to deselect. If that fails, type ClearConsoleTarget.


Very useful for modders or troubleshooting LWotC.

| Command | Effect | | :--- | :--- | | DumpLog | Writes current console log to Documents\My Games\XCOM2 War of the Chosen\XComGame\Logs. | | ListMissions | Shows all active, pending, and expired missions on the geoscape. | | DumpAbilityTree | Outputs the selected soldier’s full ability tree to the log. | | LW_GetInfiltration | Displays the selected squad’s current infiltration percentage. | | LW_SetInfiltration 100 | Sets infiltration to 100% instantly. | | LW_CompleteCurrentActivity | Completes the current Resistance Ring or Covert Action instantly. |


Because LWOTC campaigns often take 100+ hours, you want to fix problems, not create new ones. Here is the "ethical cheater's code" for console commands: Long War of the Chosen (LWotC) is a


| Class | Console Name | |-------|---------------| | Shinobi | Shinobi | | Ranger | Ranger | | Gunner | Gunner | | Grenadier | Grenadier | | Technical | Technical | | Specialist | Specialist | | Assault | Assault | | Sharpshooter | Sharpshooter | | Psi Operative (vanilla) | Psionic | | Hero classes: Skirmisher, Reaper, Templar | Skirmisher, Reaper, Templar |

Example:
GiveSoldier sharpshooter "Deadshot"


These work mostly as in vanilla, but LWotC’s class system (Shinobi, Ranger, Grenadier, Gunner, Specialist, Technical, Assault, Sharpshooter) is more complex.

| Command | Effect | | :--- | :--- | | LevelUpBarracks X | Levels up every soldier in the barracks by X ranks. | | GiveSoldierFieldCommander | Promotes selected soldier to Field Commander rank (above Colonel in LWotC). | | MakeSoldierAClass "ClassName" | Changes selected soldier to the specified LWotC class. Valid names: Shinobi, Ranger, Grenadier, Gunner, Specialist, Technical, Assault, Sharpshooter. | | RemoveSoldierAbility "AbilityName" | Removes a specific ability from selected soldier. | | RebuildSelectedSoldier | Recalculates the soldier’s stats (fixes bugged promotions). | | SetSoldierStat eStat_HP X | Sets selected soldier’s HP to X. Other stats: eStat_Will, eStat_Offense (aim), eStat_Defense (dodge), eStat_Mobility, eStat_Hacking. | Q: I typed a command, and nothing happened

Example: MakeSoldierAClass "Shinobi"


These can break LWotC’s dynamic difficulty and alien reinforcement logic.

| Command | Effect | | :--- | :--- | | GiveActionPoints 4 | Selected soldier gains 4 extra action points this turn. | | EndAIPlayerTurn | Forces the alien turn to end immediately. | | SpawnUnit "UnitName" 0 | Spawns an allied unit (use 0 for XCOM side, 1 for alien). Example: SpawnUnit "AdvTrooperM2" 0 (spawns a friendly Advent Trooper). | | SpawnUnit "UnitName" 1 | Spawns an enemy unit (use for testing LWotC’s new enemies like "Chryssalid_Heavy" or "PriestM3"). |

To find LWotC unit names: Use DumpUnitList – this outputs all valid unit templates to your game log file.