Xcom 2 Lwotc Console Commands May 2026

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. xcom 2 lwotc console commands


| Command | Syntax Example | Notes | | :--- | :--- | :--- | | GiveResource Supplies | GiveResource "Supplies" 1000 | Standard. Be cautious—over-inflating supplies trivializes the strategic layer. | | GiveResource Intel | GiveResource "Intel" 250 | Intel is the king of LWOTC. Use sparingly. | | GiveResource EleriumDust | GiveResource "EleriumDust" 100 | This is LWOTC's "Elerium Cores" equivalent for proving ground projects. | | GiveResource AlienBiotech | GiveResource "AlienBiotech" 30 | Alien materials for autopsies and军官 training. | | GiveResource Corpses | GiveResource "Corpses" 50 | Adds generic corpses. For specific types, see below. |

Unlike the base game, LWOTC modifies the launch behavior. You cannot simply press the tilde (~) key anymore. You must manually enable the console.

Step-by-Step Activation:

  • Open XComInput.ini with a text editor (like Notepad++).
  • Find the line: ;Engine.Console
  • Add the following line directly underneath it: +ConsoleKeys=Tilde
  • Save the file and close it.
  • Launch LWOTC. You will need to add a launch argument:
  • Launch the game. When on the Avenger or in a tactical mission, press the ~ (Tilde) key. A grey text box will appear at the top of your screen.
  • If it doesn't work, try ² (the key below ESC on UK keyboards) or \. Some LWOTC modlists rebind this key. Infiltration is the heart of LWOTC


    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.

    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. | Command | Syntax Example | Notes |


    | Command | Effect | |---------|--------| | ToggleGodMode | God mode for all soldiers (can break AI) | | GiveResource [Resource] [Amount] | Add supplies, intel, alloys, etc. | | GiveEngineer [Number] | Add engineers | | GiveScientist [Number] | Add scientists | | LevelUpBarracks [Number] | Levels up all soldiers in barracks | | HealAllSoldiers | Fully heals everyone |


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


    You cannot spawn "any" corpse. You must use the exact internal name.

    It is crucial to understand that Long War of the Chosen is a total overhaul mod.

    Standard console commands found in vanilla XCOM 2 often work, but some may have unintended consequences. The LWOTC codebase changes how soldiers, promotions, and resources are calculated.