Console Commands Xcom Enemy Within !!install!!

This report documents known console command usage, common command categories (debug, cheats, and config), how to enable the console, typical commands, and risks. It focuses on XCOM: Enemy Within (a 2013 Firaxis XCOM: Enemy Unknown expansion) running on PC.

If you have the (often found via Nexus Mods ) installed, you can hit the tilde key ( ~ or \ ) to type these directly. Keybind commands - Enemy Unknown - Nexus Mods Forums console commands xcom enemy within

| Command | Description | |----------|-------------| | ToggleGodMode | Active soldier cannot die (but can still get panicked/flanked). | | UnlimitedMoves | Toggle infinite actions per turn for current soldier. | | TakeAction | Debug – forces current soldier to complete an action (often buggy). Better to use UnlimitedMoves . | | KillAliens | Instantly kills all aliens on the map (ends mission if all eliminated). | | RestartMission | Restarts current tactical mission from load (helpful if triggered accidentally). | | SpawnUnit <unit> <team> | Spawns a unit. Team: 0 = XCOM, 1 = Aliens, 2 = Neutral/Friendly (e.g., Civilians). Example: SpawnUnit Sectopod 1 | | SpawnUnitFromType <name> | Same as above but with technical names – use SpawnUnit usually. | | DropItem <itemname> | Drops a specific item at cursor location during tactical. | | GiveActionPoints 5 | Adds action points to current soldier (0-99). | | DamageUnit <amount> | Damages the selected unit (alien or soldier) by that HP amount. | | SetUnitHP <hp> | Sets current unit’s HP (can heal). | | ExitToSkyranger | Teleports entire squad to the LZ (evac zone) – useful for quick mission ends. | | ForceCompleteMission | Ends mission with current objectives (risky – may break scripted missions). | This report documents known console command usage, common

Navigate to your installation folder: ...\Steam\steamapps\common\XCom-Enemy-Unknown\XEW\XComGame\Config\ . Keybind commands - Enemy Unknown - Nexus Mods

| Command | Effect | | :--- | :--- | | GivePerk [PerkName] | Gives the selected soldier a specific perk. | | SetSoldierClass [ClassName] | Changes the selected soldier's class. | | PsiTest | Immediately makes the selected soldier Psi-positive (if eligible). | | GivePsiXP [amount] | Adds Psi XP to level up Psi abilities. | | LevelUpBarracks [number] | Levels up every soldier in the barracks (e.g., LevelUpBarracks 7 for Colonel). |