Console — Commands Xcom Enemy Within
| Command | Effect | | :--- | :--- | | SpawnUnit ePawnType_Sectoid 0 | Spawns a friendly Sectoid. (Change 0 to 1 for enemy). | | SpawnUnit ePawnType_Cyberdisc 1 | Spawns an enemy Cyberdisc. Good luck. | | SpawnUnit ePawnType_Mechtoid 1 | Spawns an enemy Mechtoid (requires a Sectoid commander nearby to shield it). | | SpawnUnit ePawnType_Berserker 1 | Spawns an enemy Berserker. It will charge you immediately. | | SpawnUnit ePawnType_Ethereal 1 | Spawns the final boss type. Insanely dangerous. |
| Command | Effect | | :--- | :--- | | giveresource credits 5000 | Adds 5,000 Spacebucks to your treasury. Change the number as desired. | | giveresource alloys 500 | Adds 500 Alien Alloys. Essential for late-game armor. | | giveresource elyrium 500 | Adds 500 Elerium. (Note: elyrium is the internal spelling, not "Elerium"). | | giveresource meld 500 | Adds 500 Meld. Go crazy with genetic modifications. | | givescientist 50 | Adds 50 Scientists to speed up research. | | giveengineer 50 | Adds 50 Engineers to unlock workshops and satellites. | | GiveTech [TechName] | Instantly researches a technology. Example: GiveTech "Carapace Armor" | | GiveFoundryProjects | Unlocks every Foundry upgrade instantly. Your SHIVs will be terrifying. | | Command | Effect | | :--- | :--- | | LevelUpBarracks 7 | Promotes every soldier in your barracks to the rank of Colonel (Rank 7). | | GivePerk [PerkName] | Gives a specific perk to the currently selected soldier. (More on this below). | | SetSoldierStat eStat_Will 999 1 | Sets the selected soldier's Will to 999. The "1" means "active soldier." | | SetSoldierStat eStat_Offense 150 1 | Sets Aim to 150. Never miss a shot again (except against Hardened targets). | | RemovePerk [PerkName] | Removes a perk if you messed up. | D. Monster Factory (Spawning Units) Warning: Spawning enemies on the strategy layer can corrupt your save. Only use these in a tactical mission . Warning 2: Spawned units are neutral at first. You must get close to activate them. console commands xcom enemy within
| Command | Effect | | :--- | :--- | | God | Your soldiers take zero damage. They can still be stunned or panicked, but health never drops. | | UnlimitedMoves | Toggle. Your selected soldier can move any distance and act infinitely. Breaking line of sight? Not anymore. | | KillAliens | Instant Win. All hostile aliens currently on the map die instantly. Mission ends successfully. Warning: Does not work on "Kill the Alien Commander" type missions sometimes. Use with caution. | | RestartLevel | Restarts the current tactical mission from the very beginning (same map, same squad loadout). Useful if a Meld canister explodes due to a bug. | | SkipAI | Toggle. Aliens will not move or shoot on their turn. They stand still. Great for training rookies or lining up 100% flank shots. | | PowerUp | An older command. Gives all soldiers in mission maxed stats (Aim, Will, HP) and infinite ammo. Often broken in EW; prefer God + UnlimitedMoves . | B. Base Management & Resources (The "Cheat Engine" Commands) These work on the Geoscape (the holographic globe view). | Command | Effect | | :--- |
Save your game before spawning. Nothing ruins a run like a Chryssalid appearing directly inside your Support's skull. Part 4: The "Give Perk" Deep Dive One of the coolest uses of the console is creating hybrid super-soldiers. Want a Heavy with Squad Sight ? A Sniper with Run & Gun ? You can do that. Good luck
Firaxis’ XCOM: Enemy Unknown and its explosive expansion, Enemy Within , are celebrated for their brutal difficulty and unforgiving permadeath. Losing a seasoned Colonel to a lucky Critical Hit from a Sectoid is a rite of passage. However, sometimes you don’t want to fight the RNG gods. Sometimes, you want to test a strategy, fix a game-breaking bug, skip the grind, or simply unleash god-like power upon the alien menace.
the moment you type a command. Even if you just type God to see if it works and then quit, Steam flags that session as "Cheats Enabled."