Xcom 2 Lwotc Console Commands Guide

Unlocking the Full Potential of XCOM 2: War of the Chosen with Console Commands

XCOM 2: War of the Chosen (LWOTC) is a highly acclaimed turn-based strategy game that challenges players to save humanity from an alien invasion. While the game offers a rich and immersive experience, some players may want to experiment with console commands to enhance their gameplay or explore new possibilities. In this article, we'll delve into the world of XCOM 2 LWOTC console commands, explaining what they are, how to enable them, and providing a comprehensive list of useful commands.

What are Console Commands?

Console commands are a set of instructions that can be entered into the game's console to modify various aspects of the game. These commands can be used to tweak game settings, manipulate game mechanics, or even cheat. Console commands are commonly used in PC games, but some console versions may also have access to these commands.

Enabling Console Commands in XCOM 2 LWOTC

To access console commands in XCOM 2 LWOTC, you'll need to enable the console first. The process is relatively straightforward:

  1. Open the game's configuration file: Navigate to the game's installation directory (usually C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 War of the Chosen) and find the XComGame\Config\DefaultEngine.ini file. Open this file with a text editor like Notepad.
  2. Add the console command: In the DefaultEngine.ini file, add the following line: Console=True. Save the file and close it.
  3. Launch the game: Start XCOM 2 LWOTC, and you should see a console window appear. You can now enter console commands.

Basic Console Commands

Here are some essential console commands to get you started:

Gameplay-Related Commands

These commands allow you to manipulate gameplay mechanics:

Debugging Commands

These commands are useful for debugging and testing purposes:

Cheat Commands

Here are some popular cheat commands:

Other Useful Commands

Tips and Tricks

Conclusion

XCOM 2 LWOTC console commands offer a wealth of possibilities for players looking to enhance their gameplay experience. From simple tweaks to more complex manipulations, these commands can help you explore new strategies or simply have fun. Remember to use these commands responsibly and at your own risk. Happy gaming!

Additional Resources

By mastering XCOM 2 LWOTC console commands, you'll unlock a new level of depth and replayability in this critically acclaimed game. So don't be afraid to experiment, try out new commands, and push the boundaries of what's possible in this thrilling turn-based strategy game.

Here’s a practical guide to using console commands in XCOM 2: Long War of the Chosen (LWotC).

LWotC retains most of the vanilla War of the Chosen console commands but adds new variables and class names. Use these carefully—they can break your campaign or cause bugs if misused.


3. Soldier & Barracks Commands

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. |

Example: MakeSoldierAClass "Shinobi"


God Mode & Visibility

3. LWotC-Specific Class Names for GiveSoldier

| 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"


8. Safe Command Example (Fixing a Stuck Infiltration)

  1. Select your squad on the Geoscape.
  2. Open console, type LW_GetInfiltration. Confirm the stuck value.
  3. Type LW_SetInfiltration 100.
  4. Launch the mission normally.

Soldier Management

LWOTC changes class names. Here are the correct class templates for the MakeSoldierAClass command.

First, select a rookie in the barracks. Then type:

Remove negative traits: GiveSoldierWillPts -X (where X is the negative will penalty value shown on their info card).


Final Recommendation

For debugging only: Use RestartLevel, WhoseTurnIsItAnyway, ToggleGodMode, and LW_SetInfiltration.

Avoid resource cheats or mass rank-ups if you value the LWotC experience. The mod is meticulously balanced, and console commands can easily corrupt the 50+ hour campaign logic.

For a full list of all base-game commands (many still work), see the XCOM 2 console commands page on the UFOpaedia. For LWotC-specific templates and debug tools, join the Long War of the Chosen Discord and check the #lwotc-tech-support channel.

Here’s a list of useful console commands for XCOM 2: Long War of the Chosen (LWOTC). xcom 2 lwotc console commands

Important:


Part 5: Infiltration & Covert Actions (The Tricky Part)

Infiltration is the heart of LWOTC. You can modify it, but you must save before doing so.

To instantly infiltrate a selected squad on the Geoscape: ForceInfiltrationInstant

To add a specific amount of infiltration progress: InfiltrationAdd 50 (Adds 50% to current infiltration)

To complete a Covert Action instantly: FinishCurrentCovertAction

Warning: Never use ForceCompleteResearch or ForceCompleteBuild while a unique LWOTC story event is pending. It can skip essential narrative triggers that unlock new factions or alien types.


Safety & troubleshooting

If you want a ready-to-post formatted version for a specific forum (Reddit, Steam, etc.) or a short TL;DR, tell me which platform and target audience and I’ll format it.

Related search suggestions sent.

Long War of the Chosen (LWotC) is a massive mod for that significantly increases complexity, making console commands essential for both debugging mod conflicts and managing its steep difficulty. Enabling the Console

To use commands, you must first enable the developer console: : Right-click in your library right arrow Properties right arrow right arrow Launch Options -allowconsole Alternative (AML) : If using the XCOM 2 Alternative Mod Launcher , check the "Allow Console" box in the settings. : Press the key to open the command line. Essential Tactical Commands (During Combat)

These commands are used while on a mission to recover from bugs or get an edge. Steam Community Take To Cursor

: Teleports the currently selected unit to your mouse cursor. Take All To Cursor : Teleports your entire squad to the cursor. Grants invincibility and unlimited ammo. ToggleUnlimitedActions Allows a unit to move and fire indefinitely in one turn. KillAllAIs Instantly kills every enemy on the map. Removes the "Fog of War" to see the entire map. RestartLevel Restarts the current mission from the beginning. Strategy Layer Commands (The Avenger)

Use these while on the Avenger to manage your campaign's resources and roster. 1. Resource Generation with the desired amount (e.g., GiveResource Supplies 500 GiveResource Supplies # GiveResource Intel # GiveResource EleriumDust # (Elerium Crystals) GiveResource EleriumCore # GiveResource AlienAlloy # GiveResource AbilityPoint # (WotC-specific) 2. Roster Management

XCOM 2:All console commands and IDs [WOTC] - Steam Community

Long War of the Chosen (LWotC) is a massive overhaul of XCOM 2 that significantly increases the game's difficulty and complexity. Whether you are testing a new build, recovering from a game-breaking bug, or simply want to feel like a god among aliens, console commands are essential tools. How to Enable the Console

Before you can use commands, you must enable the developer console in your game launcher.

Steam: Right-click XCOM 2 > Properties > General > Launch Options. Type -allowconsole.

Alternative Mod Launcher (AML): Go to Settings > Edit > Active Arguments. Add -allowconsole.

In-game: Press the tilde key (~) or backtick (`) to open the input field. 🛠️ Essential Utility Commands

These commands help manage the technical side of your campaign.

ToggleDebugCamera: Allows you to fly the camera anywhere. Great for screenshots.

RestartLevel: Restarts the current mission from the beginning.

DisconnectFromServer: Use this if the game hangs during the "Enemy Activity" phase.

PowerUp: Makes your units invincible and removes the need to reload. 🎖️ Soldier and Class Management

LWotC introduces complex class systems. These commands help you skip the grind or fix promotion errors.

MakeSoldierAClass "Name" ClassName: Changes a specific soldier to a new class.

Examples: L_Templar, L_Reaper, L_Skirmisher, L_Technical, L_Shinobi.

LevelUpBarracks [Number]: Levels up every soldier in your barracks by the specified number of ranks.

GiveExperience [Number]: Adds XP to the currently selected soldier.

SetSoldierStat StatType [Value] "Name": Permanently changes a soldier's stats.

Stats: eStat_Offense (Aim), eStat_Mobility, eStat_Will, eStat_Hacking. 💰 Resource and Strategy Commands

Managing Haven resistance and supplies is the hardest part of LWotC. Use these to balance your economy.

GiveResource Supplies [Number]: Adds supplies to your inventory. Unlocking the Full Potential of XCOM 2: War

GiveResource Intel [Number]: Adds intel for contacting regions. GiveResource EleriumDust [Number]: Adds Elerium Crystals. GiveResource EleriumCore [Number]: Adds Elerium Cores. GiveResource AlienAlloy [Number]: Adds Alien Alloys.

GiveResource CorpseAdventTrooper [Number]: Adds specific corpses for research. 🔫 Combat and Mission Cheats

If a mission is going south due to a "XCOM baby" moment, use these to level the playing field.

TTC (Teleport To Cursor): Moves the selected unit to where your mouse is pointing.

TTA (Teleport To Alien): Moves your unit directly next to an enemy.

KillAllEnemies: Instantly completes the combat portion of a mission. ForceEndTurn: Skips the AI turn if it gets stuck.

SetStrategyFacilitiesFree [True/False]: Makes all room construction on the Avenger instant and free. 🧬 Research and Tech Unlock the tech tree without waiting weeks in-game.

GiveTech [TechName]: Instantly completes a specific research project.

GiveFacility [FacilityName]: Instantly builds a facility in a selected slot.

RemoveFortressDoom [Number]: Reduces the Avatar Project progress bar. Important Tips for LWotC Users

Case Sensitivity: Most commands are not case-sensitive, but soldier names in quotes must match exactly.

Mod Compatibility: Some LWotC-specific items require their internal template names (e.g., L_Technical instead of Technical).

Stability: Using KillAllEnemies on missions with specific objectives (like capturing a VIP) can sometimes cause the mission script to break. Use with caution!

To help you get the exact results you need, could you tell me:

Are you trying to fix a specific bug or just experiment with gameplay?

Do you need the internal ID names for specific LWotC items or corpses? Are you playing on the Steam Deck or a Windows PC?

I can provide a custom list of Item IDs or help you troubleshoot a stuck campaign if you provide those details!

To use console commands, you must first enable the console through your game launcher: Steam Library and right-click on Properties Launch Options -allowconsole into the text box. In-game, press the key to open the command interface. Core Strategic Commands (Avenger View)

These commands allow you to manage resources and soldier progression directly from the strategy layer. giveresource [ResourceID] [Amount]

. Note that you must already own at least one unit of the resource for this command to work. giveresource supplies 1000 giveresource intel 500 Alien Alloys: giveresource alienalloy 100 Elerium Crystals: giveresource eleriumdust 100 Soldier Management MakeSoldierAClass "[Name]" [ClassName] : Forces a soldier into a specific class (e.g., PsiOperative HealAllSoldiers : Instantly removes all wound timers from your roster. GiveScientist/GiveEngineer : Adds a staff member of a specific level (e.g., GiveEngineer 1 Steam Community Tactical Combat Commands

Use these commands during missions to manipulate the battlefield or bypass glitches.

: Grants the current squad invincibility and unlimited ammo. : Removes the "Fog of War," revealing the entire map. ToggleUnlimitedActions

: Allows units to move and attack without ending their turn. Unit Control KillClosestUnitToCursor : Instantly kills the unit nearest to your mouse pointer. DropUnit [TemplateName] [Team] : Spawns a unit. Use for XCOM and for ADVENT (e.g., DropUnit Sectoid 1 GiveActionPoints [Amount]

: Grants the selected unit extra actions for the current turn. LWOTC-Specific Item IDs

LWOTC often uses specific internal names for items. For a complete list of IDs, refer to the XCOM 2 Console Commands Guide on Steam Steam Community Steam Workshop::[WOTC] Additional Soldier Console Commands

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.

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 Open the game's configuration file : Navigate to

Use these to customize your heroes or fix an "unfair" RNG result that ruins your narrative. WOTC] Additional Soldier Console Commands

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.

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 XCOM 2: Long War of the Chosen (LWOTC)

, you first need to enable the developer console through your game launcher or shortcut. How to Enable the Console

Depending on how you launch the game, use one of the following methods: : Right-click in your library, select Properties , and in the -allowconsole Launch Options Alternative Mod Launcher (AML) -allowconsole Active Arguments Non-Steam/Shortcut : Right-click your game shortcut, select Properties -allowconsole at the end of the field (after the quotes). Once enabled, press the backslash (\) key in-game to open the console. Common LWOTC Console Commands

These commands are particularly useful for managing the increased difficulty or technical glitches often found in large mods like LWOTC. 🛠️ Strategy Layer (Avenger) Use these while viewing the Geoscape or Avenger base. GiveResource Supplies [Quantity]

— Adds specified supplies (requires having at least one already). AddItem [ItemName] [Quantity] — Adds specific items like EleriumDust AlienAlloy GiveEngineer [Level] GiveScientist [Level] — Adds a new staff member at the chosen level. HealAllSoldiers — Instantly heals every soldier in your barracks. RemoveFortressDoom [Number]

— Reduces the Avatar Project progress bar by the specified amount. ⚔️ Tactical Layer (In-Mission) Use these during combat to fix misclicks or bypass bugs.

(Teleport To Cursor) — Teleports the currently selected unit to your mouse pointer.

— Enables "God Mode" (invincibility, no reloads, infinite ammo) for your squad. ToggleUnlimitedActions

— Gives your units infinite action points for the current turn. RestartLevel — Restarts the current mission from the beginning. — Skips the enemy's turn entirely. KillAllAIs — Instantly kills all enemies currently on the map. 📈 Soldier Management