These work on the Ant Farm / Geoscape (strategic layer).
| Command | Effect |
|---------|--------|
| GiveResource cash <amount> | Adds money (spacebucks / credits). |
| GiveResource alloys <amount> | Adds Weapon Fragments (Alloys). |
| GiveResource elerium <amount> | Adds Elerium. |
| GiveItem MELD <amount> | Adds MELD (up to 99). |
| GiveEngineers <num> | Sets engineer count (e.g., GiveEngineers 50). |
| GiveScientists <num> | Sets scientist count. |
| GivePerkPoints <amount> | Adds ability points for soldier training (but mainly works with certain mods; use GivePerkPointsToSelectedSoldier). |
| SetSatelliteCountries <num> | Fake coverage – not often useful; better to just GiveResource cash and build. |
Note: After using GiveResource, go to the Situation Room or build menu to refresh the display.
Beyond simple cheats, the console allows for some truly weird experiments.
Console commands in XCOM: Enemy Within are a powerful way to reshape the game to your liking—whether you’re a modder, a storyteller, or just someone who wants to build a base without bankruptcy. Use them to enhance your fun, not diminish the challenge. After all, the aliens still hit hard, even with unlimited ammo.
Now get out there, Commander. And remember: that Meld is still going to expire.
Enabling console commands in XCOM: Enemy Within (EW) is different from the base game because the standard developer console is hidden. To use cheats, you must either bind commands to specific keys in the configuration files or use a mod like Activate Dev Console from Nexus Mods. How to Enable via Keybindings console commands xcom enemy within
This method allows you to use specific commands without installing external mods. Locate the File : Go to your installation directory, typically:
...\Steam\steamapps\common\XCom-Enemy-Unknown\XEW\XComGame\Config\ DefaultInput.ini : Open this file with a text editor (like Notepad). Add Your Binds
: Scroll to the section corresponding to when you want the command to work: Base/Strategy Commands : Look for [Engine.PlayerInput] Tactical/Combat Commands : Look for [XComGame.XComTacticalInput] : Add lines at the bottom of the section. Use to prevent accidental triggers. .Bindings=(Name="U", Command="restartlevel", Alt=True) Common Console Commands
Once bound to a key, these commands can be triggered in-game. Steam Community Keybind commands - Enemy Unknown - Nexus Mods Forums
XCOM: Enemy Within , there is no single "piece" command. However, you can use the
command to add various "pieces" of equipment or resources, such as Weapon Fragments Alien Alloys Steam Community Enabling the Console These work on the Ant Farm / Geoscape (strategic layer)
Unlike XCOM 2, XCOM: Enemy Within requires more than a simple launch option to enable the developer console. Direct Binding Method : You must edit your DefaultInput.ini file located in XEW\XcomGame\Config Add Commands : Search for the section [XComGame.XComTacticalInput] (for battle) or [Engine.PlayerInput] (for the base) and add a line like:
.Bindings=(Name="U", Command="GiveItem WeaponFragment 100", Alt=True) Third-Party Tool : Alternatively, download a modified Engine.upk file (often from the Nexus page) to enable the standard tilde key access. Resource & Item "Piece" Commands
If you have the console enabled, use these commands to add specific items or resources: Command Example Add Weapon Fragments GiveItem WeaponFragment [amount] Add Alien Alloys GiveItem AlienAlloys [amount] GiveItem Meld [amount] Add Elerium GiveItem Elerium115 [amount] GiveCash [amount] Steam Community Common Gameplay Commands GivePerk [PerkID]
: Adds a specific ability to the soldier currently under your cursor. RestartLevel : Restarts the current mission from the beginning. LevelUpBarracks [number]
: Levels up all soldiers in your barracks by the specified number of ranks. Steam Community or help finding the exact file path for your version of the game?
Unlocking the Secrets of XCOM: Enemy Within with Console Commands Beyond simple cheats, the console allows for some
XCOM: Enemy Within, the critically acclaimed expansion to the original XCOM: Enemy Unknown, is a game that prides itself on its challenging gameplay and deep strategy. However, for those who crave more control over their gaming experience or wish to experiment with the game's mechanics, console commands offer a fascinating avenue. In this review, we'll explore the utility and excitement of using console commands in XCOM: Enemy Within, highlighting how they can enhance, or in some cases, completely transform your playthrough.
XCOM: Enemy Within relies heavily on soldier stats (Aim, Health, Will). The console allows you to edit these on the fly.
Psionic Testing:
Do you hate waiting 20 days for Carapace Armor? Use these.
| Command | Effect |
| :--- | :--- |
| GiveTech [TechName] | Instantly gives you a specific technology. |
| GiveAllTechs | Unlocks every research project in the game. Warning: This can break the story progression. |
| GiveItem [ItemName] [amount] | Adds equipment to your inventory (e.g., GiveItem SkeletonSuit 5). |
Common TechNames: