Example: .Bindings=(Name="M", Command="GiveCash 1000", Alt=True) . Method 2: The Full Dev Console (Long War or PatcherGUI)
Search for [Engine.PlayerInput] and add your bind there.
Search for [XComGame.XComTacticalInput] and add your bind below it. xcom enemy within dev console full
Example: .Bindings=(Name="U", Command="restartlevel", Alt=True)
You can use PatcherGUI to apply a "Developer Console Activation" patch (often found as a .txt file on Nexus Mods) to your game. Essential Console Commands Example:
Once enabled, these commands can drastically alter your campaign: Dev Console (Long War) - UFOpaedia
Navigate to your installation folder: Steam/steamapps/common/XCom-Enemy-Unknown/XEW/XcomGame/Config/ . xcom enemy within dev console full
To get the actual "type-to-command" prompt (~ or ), you typically need a modified file.
The Long War mod on Nexus includes a "Dev Console" option in its misc files.