These are toggle commands (type again to disable).
| Command | Effect | |---------|--------| | GivePerk <perkname> | Adds a specific perk to the selected soldier (e.g., GivePerk RapidFire ). | | GivePerkToSquad <perkname> | Gives perk to every soldier in current squad (mission). | | SetSoldierStat eStat_<stat> <value> | Changes stat of selected soldier (HP, Will, Aim, Defense). Example: SetSoldierStat eStat_HP 25 | | LevelUpBarracks <num> | Levels up all soldiers in barracks by <num> ranks (max Colonel). | | PsiTrain any | Completes all Psi training instantly for selected soldier (requires lab). | | MakeSoldierACommand | Removes “Shaken” or negative status effects. | | RemovePerk <perkname> | Removes a perk from selected soldier. |
Add your desired bind. For example, to bind a mission restart to Alt+U, paste: .Bindings=(Name="U", Command="restartlevel", Alt=True) Method 2: The Dev Console Mod console commands xcom enemy within
– Makes your soldiers invisible to aliens. Aliens will not shoot, but they may still patrol randomly.
GiveResource Elerium [Amount] – Grants Elerium crystals to power your late-game tech. These are toggle commands (type again to disable)
| Command | Effect | Example | | :--- | :--- | :--- | | GiveResource 0 [amount] | Adds (Credits) | GiveResource 0 5000 | | GiveResource 1 [amount] | Adds Alloys | GiveResource 1 999 | | GiveResource 2 [amount] | Adds Elerium | GiveResource 2 999 | | GiveResource 3 [amount] | Adds Meld | GiveResource 3 500 | | GiveResource 4 [amount] | Adds Weapon Fragments | GiveResource 4 300 | | GiveEngineer [amount] | Adds Engineer staff | GiveEngineer 25 | | GiveScientist [amount] | Adds Scientist staff | GiveScientist 25 | | GiveActionPoints [amount] | Gives all soldiers extra moves (Tactical) | GiveActionPoints 3 | | SetHQTransferRate [0-5] | Changes panic level globally (0=none, 5=max panic) | SetHQTransferRate 0 |
Instead of waiting weeks for engineering projects to complete, you can instantly manifest weapons, armor, and corpse items for research. | | MakeSoldierACommand | Removes “Shaken” or negative
The developer console in XCOM: Enemy Within is a tremendous asset. With just a few simple tweaks, you have the power to rewind time, save a doomed campaign, or create the ultimate super squad. As a commander, the most important strategic decision is how to best use your tools. Now go forth and show the alien menace the full, awesome power of your command.
Add this line under the [XComGame.XComTacticalInput] section:
Instantly adds the specified number of scientists to your base. GiveEngineer [amount]