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.
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.
Now, Commander, the console is open. Type God , press Enter, and show the aliens what real firepower looks like. 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. |
The console has no undo button. If you accidentally give the aliens 500 Meld (impossible, but hypothetically), you cannot reverse it. A note on Long War mod: The massive Long War mod for Enemy Within disables most console commands on purpose to preserve difficulty. However, you can re-enable them by editing the DefaultEngine.ini file (find ConsoleKey and set it to Tab ). Even then, many commands like giveresource will crash the game. Use console commands only for vanilla Enemy Within . Conclusion: To Cheat or Not to Cheat? Using console commands in XCOM: Enemy Within is a personal choice. For a first playthrough, avoid them. The fear of loss and the joy of scrapping by with a squad of wounded rookies is the core experience. Firaxis’ XCOM: Enemy Unknown and its explosive expansion,
Good luck.
| 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. Sometimes, you want to test a strategy, fix
The console requires the ability to save and load freely. If you try to force-allow the console on an Ironman save, you risk corrupting the file or disabling achievements permanently.