To enable console commands in XCOM: Enemy Within (EW), you cannot simply use a launch command like in XCOM 2. Instead, you must manually bind specific commands to keys by editing the game's configuration files. Steam Community Step 1: Locate the Configuration File Navigate to the following directory on your PC:
| Command | Effect | | :--- | :--- | | God | Toggles invincibility. Your soldiers will never take damage, panic, or get mind controlled. | | UnlimitedAmmo | Toggles infinite ammo for all weapons. Great for testing heavy builds. | | PowerUp | God + UnlimitedAmmo + Infinite ability usage (cooldowns removed). | | KillAllEnemies | Instantly kills every hostile unit on the current map. This breaks mission scripting sometimes. Save first. | | Suicide | Kills your currently selected soldier. (Why? To fix a stuck animation bug). | | FlyCam | Unlocks the camera from the grid. Use WASD to fly anywhere, Mouse Wheel to change speed. Press Tab again to exit. | xcom enemy within enable console commands
Once the command is saved, launch the game. Once you are loaded into the main menu or a tactical mission, press the on your keyboard. This is usually located above the Tab key and to the left of the 1 key. To enable console commands in XCOM: Enemy Within