Console Commands Xcom Enemy Within • Secure & Ultimate
| Command | Effect |
|---------|--------|
| GiveItem <itemname> <amount> | Adds item to inventory (works only in base, not during mission). |
| GiveWeapon <weaponname> <amount> | Adds a specific weapon. |
| RemoveItem <itemname> <amount> | Removes item. |
Useful item names:
SCOPE, Medikit, FragGrenade, AlienGrenade, ArcThrower, CarapaceArmor, TitanArmor, GhostArmor, PsiArmor, SkeletonArmor, ReaperRounds, AlloyPlating, ChitinPlating, MECCloseCombat, MECFlamethrower, MECKineticStrikeModule, MinePayload, etc.
Weapon names:
AssaultRifle, LaserRifle, PlasmaRifle, SniperRifle, LaserSniper, PlasmaSniper, Shotgun, AlloyCannon, HeavyLaser, HeavyPlasma, RocketLauncher, ShredderRocket (consumable), BlasterLauncher.
Example: Give 2 Alien Grenades:
GiveItem AlienGrenade 2
By default, the console is hidden. To enable it: console commands xcom enemy within
If the console doesn’t appear, try:
Start XCOM: Enemy Within. On the main menu or during a tactical mission, press the tilde key (~) (usually below the Esc key and left of the 1 key).
If you did it correctly, a semi-transparent white text box will slide down from the top of the screen. Congratulations, you’ve unlocked the developer’s toolkit.
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. | Command | Effect | |---------|--------| | GiveItem
That is where Console Commands come in.
Enabling the developer console in XCOM: Enemy Within opens a treasure trove of cheats, debug tools, and quality-of-life fixes. This guide will walk you through everything: from enabling the console to the most useful commands, and the risks involved.
Before you start spawning Sectopods for fun, you need to understand how the engine reads commands.
For the uninitiated, console commands are a series of codes that can be entered into a game's developer console to manipulate various aspects of the game. In XCOM: Enemy Within, enabling the console involves a simple tweak in the game's configuration file or pressing a designated key (often ~ or ctrl + shift + ~ on PC) during gameplay. Once the console is accessible, players can input a range of commands to affect everything from the game's difficulty to individual soldier stats and enemy spawn rates. By default, the console is hidden
Here is the definitive list, categorized by what they do.
XCOM: Enemy Within is a masterpiece, but it has bugs. The console is often the only fix.
Bug: "My soldier fell through the world/Teleported into a wall."
Bug: "The door to the Alien Base won't open."
Bug: "I accidentally sold all my Elerium and cannot build the final item."