| 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. |
These work on the Geoscape (the holographic globe view). console commands xcom enemy within
| 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 | | :--- |
In the brutal, unforgiving world of XCOM: Enemy Within, one wrong move can cost you a veteran soldier or, worse, an entire campaign. While the tension is part of the charm, sometimes you want to test a strategy, recover from a game-breaking bug, or simply experience the power of a fully maxed-out squad. That’s where console commands come in. | | SetSoldierStat eStat_Will 999 1 | Sets
Here’s everything you need to know to unlock the developer console and bend the rules of war.