Console Commands Xcom Enemy Within _best_ Online

Here’s a comprehensive, long-form guide on console commands for XCOM: Enemy Within, covering activation, syntax, and detailed command lists with practical examples.


Recommended safe workflow

  1. Backup save files before using commands.
  2. Use a separate test profile or install the game on a secondary Steam account.
  3. Start with non-destructive queries (help, list) to discover available commands.
  4. Apply commands incrementally and save frequently.

Step 1: Navigate to the Config Folder

Go to your XCOM installation directory. If you are using Steam, the default path is: C:\Program Files (x86)\Steam\steamapps\common\XCOM Enemy Unknown\XEW\XComGame\Config

Note: You are looking for the XEW folder (XCOM Enemy Within), not the base XComGame folder for Enemy Unknown, though the commands work in both.

Research & Engineering

| Command | Effect | |--------|--------| | GiveTech <tech name> | Instantly researches a technology (e.g., GiveTech BeamWeapons) | | GiveFacility <facility name> | Adds a base facility instantly | | SetStrategyResearchComplete X | Completes current research | console commands xcom enemy within

Tactical / Battle Commands

| Command | Effect | |--------|--------| | ToggleGodMode | Selected soldier becomes invincible (but can still be stunned) | | ToggleUnlimitedAmmo | Infinite ammo | | ToggleNoGrazed | Removes grazed shots (full hits only) | | TeleportToCursor | Moves selected soldier to mouse cursor position | | KillAliens | Instantly kills all visible aliens on current map | | RestartLevel | Restarts current tactical mission |

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.

First, you need the internal perk names. You cannot guess them. Here are some fan-favorites: Recommended safe workflow

  • Perk_SquadSight
  • Perk_RunAndGun
  • Perk_DoubleTap (Sniper: Fire twice per turn)
  • Perk_InTheZone (Sniper: Free shot on flanked/uncovered enemies)
  • Perk_BulletSwarm (Heavy: Fire primary weapon twice if you didn't move)
  • Perk_HeatAmmo (Double damage to robotic enemies)
  • Perk_LowProfile (Cover counts as full cover)
  • Perk_DeepPockets (Extra inventory slot)
  • Perk_LeU (Snapshot: Fire after moving without penalty)

How to use it:

  1. Select your soldier on the battlefield.
  2. Open console.
  3. Type: GivePerk Perk_SquadSight
  4. Hit Enter.

Your sniper now has Squad Sight on top of their existing skills. This can break the game's balance, but it is incredibly fun.


Enhancing Gameplay

Console commands in XCOM: Enemy Within can significantly enhance your gameplay experience in several ways: Backup save files before using commands

  • Customizing Difficulty on the Fly: Want to adjust the game's difficulty mid-mission? With console commands, you can increase or decrease the challenge to keep things interesting or to test strategies under different conditions.

  • Manipulating Soldier Stats: Need a soldier to have a bit more oomph? Console commands allow you to tweak health, armor, and skill levels, effectively creating super-soldiers or experimenting with builds that are normally out of reach.

  • Controlling Enemy Waves: Tired of the same old enemy patterns? You can use commands to adjust the types of enemies that spawn, their numbers, and their aggression levels, providing an almost endless variety of tactical challenges.

Base Management & Resources

Resource IDs: Use these with the giveresource command. Example: giveresource Elerium 1000.

  • Elerium (Elerium Crystals)
  • Alloys (Alien Alloys)
  • WeaponFragment (Weapon Fragments)
  • EleriumCore (Elerium Cores)
  • EleriumJet (Flight Computers)
  • EleriumPower (Power Sources)
  • AlienFood (Alien Food)
  • AlienStasisTank (Stasis Tanks)