XCOM: Enemy Unknown

XCOM: Enemy Unknown

View Stats:
This topic has been locked
XCOM Enemy Within Developer Console
Greeting Steam users this is sj0525 and I was wondering, does eny one know how to activate Enemy Within's Developer Console
< >
Showing 1-15 of 48 comments
Tyrrin Nov 13, 2013 @ 2:26pm 
I want to know this myself!
Kajih Nov 13, 2013 @ 5:56pm 
Modifying the executable with hex tool doesn't work with this exe, at least not the same keys as before. You can use the keybinding trick though, it doesn't open the dev console but you can attach commands to key binds. Look up the info here:

http://keops.fr.yuku.com/topic/250/XCOM-Enemy-Unknown-Developer-Console#.UoQp3vk_tyV

Method 2 with key bindings work, although I've only tested reducing panic, unsure about the rest.
Tyrrin Nov 13, 2013 @ 6:34pm 
Thanks, ill give it a shot! I dont really want to play through the whole game again. I just want to give the new stuff a spin.
Imperator1125 Nov 13, 2013 @ 7:45pm 
tried it, didnt work, need a vid walkthrough (if there is one)
Kajih Nov 13, 2013 @ 8:06pm 
hmm are you sure you modified the right file? and entered the keybinding you wanted in the correct spot. I tried a few more and they worked so I'm not sure what you are not doing correctly.

First off the file that needs to be modified is located here:
C:\Program Files (x86)\Steam\SteamApps\common\XCom-Enemy-Unknown\XEW\XComGame\Config\DefaultInput.ini

Secondly depending on if you want a Base command or a Field command your bindings need to be inserted like so:
Base command : underneath the [Engine.PlayerInput] line
Field command : underneath the [XcomGame.XcomTacticalInput] line

Now for the actual binding it goes .Bindings=(Name="KEY",Command="CONSOLE COMMAND",SECONDARY KEY).

So for example if I wanted to reduce panic from every country (because it's really annoying), my command would be:

.Bindings=(Name="U",Command="lowerpanic",Alt=True)

so when I am in the Base screen, I just press the ALT and U key together and it reduces the panic. If it doesn't work for you then you need to check your settings as per the instructions above. I didn't test all the commands but the 2-3 I've randomly tested work so I assume everything else works.
Imperator1125 Nov 13, 2013 @ 9:11pm 
I have been trying the other way by putting all cheats I want into one file and directing it too file with no success, but will try this method......can you link multiple commands to one key
Imperator1125 Nov 13, 2013 @ 9:46pm 
Just tried the cheats didnt work, and this is what i put .Bindings=(Name="-", Command="LowerPanic", Alt=True) .Bindings=(Name="*", Command="GiveResource Money 100000", Alt=True) .Bindings=(Name="/", Command="GiveResource Meld 1000", Alt=True) in [Engine/PlayerInput] and .Bindings=(Name="\", Command="TakeNoDamage", Alt=True) in [XcomGame.XcomTacticalInput], did I do something wrong.

P.S. I copied and pasted these straight from my file
DoktorNik Nov 14, 2013 @ 1:01pm 
DarthRaven, and anyone else who is interested, I was having a problem getting this working, then i realized how silly I was.

C:\Program Files (x86)\Steam\SteamApps\common\XCom-Enemy-Unknown\XEW\XComGame\Config\DefaultInput.ini

Make note of the XEW before the XComGame, it works, completely well, i have gotten scientists, and all reasourses besids meld working.

Edit: Actually got meld working, i typo'ed and realized my mistake

.Bindings=(Name="T", Command="GiveResource Mel 10", Alt=True)

is what I use to get 10 meld.
Last edited by DoktorNik; Nov 14, 2013 @ 1:05pm
Imperator1125 Nov 14, 2013 @ 1:27pm 
still not working, I swear I am putting it in the right place, could it be the keys I am using?
DoktorNik Nov 14, 2013 @ 1:50pm 
Darth could You upload your ini file so I could take a look at it?
Imperator1125 Nov 14, 2013 @ 2:06pm 
sure just tinkered with it, have fun reading
P.S. got rid of the stuff not mattering


[Configuration]
BasedOn=..\Engine\Config\BaseInput.ini

[UnrealEd.EditorViewportInput]
.Bindings=(Command="SAVE",Name=S,Control=True)
.Bindings=(Command="SAVEAS",Name=S,Control=True,Shift=True)
.Bindings=(Command="ACTOR SYNCBROWSER",Name="F6")
.Bindings=(Command="ACTOR SYNCBROWSERARCHETYPE",Name="F6",Alt=True)
.Bindings=(Command="MODE WIDGETTRANSLATE",Name="W")
.Bindings=(Command="MODE WIDGETROTATE",Name="E")
.Bindings=(Command="MODE WIDGETSCALE",Name="R")
.Bindings=(Command="SHOWBROWSER",Name="B")
.Bindings=(Command="VIEWPORT PERSPECTIVE",Name="P",Alt=True)
.Bindings=(Command="VIEWPORT TOP",Name="T",Alt=True)
.Bindings=(Command="VIEWPORT SIDE",Name="S",Alt=True)
.Bindings=(Command="VIEWPORT FRONT",Name="F",Alt=True)

[Engine.PlayerInput]
bEnableMouseSmoothing=false
;----------------------------------------------------------------------------------------
; GENERAL PC bindings - Used in evey menu
; IMPORTANT: primary and secondary keys must reference the same command in order to be considered the same Action
;----------------------------------------------------------------------------------------
; Universal, don't mess with me
.Bindings=(Name="MouseX", Command="Count bXAxis | Axis aMouseX")
.Bindings=(Name="MouseY", Command="Count bYAxis | Axis aMouseY")
.Bindings=(Name="LeftMouseButton", Command="Left_Mouse_Button_Press | onrelease Left_Mouse_Button_Release")
.Bindings=(Name="ThumbMouseButton", Command="Tab_Key_Press | onrelease Tab_Key_Release")
.Bindings=(Name="ThumbMouseButton2",Command="Left_Shift_Key_Press | Left_Shift_Key_Release")
.Bindings=(Name="MiddleMouseButton",Command="Middle_Mouse_Button_Press | onrelease Middle_Mouse_Button_Release")
.Bindings=(Name="MouseScrollUp", Command="Mouse_Scroll_Up | onrelease Mouse_Scroll_Up_Release")
.Bindings=(Name="MouseScrollDown", Command="Mouse_Scroll_Down | onrelease Mouse_Scroll_Down_Release")
.Bindings=(Name="u", Command="GiveCash 20000")
.Bindings=(Name="u", Command="GiveItem Meld 1000")
.Bindings=(Name="u", Command="GiveItem Elerium115 1000")
.Bindings=(Name="u", Command="GiveItem AlienAlloys 1000")
.Bindings=(Name="u", Command="GiveItem WeaponFragment 1000")
; Confirm / Cancel binds, secondary
.Bindings=(Name="Enter", Command="Enter_Key_Press | onrelease Enter_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="SpaceBar", Command="Enter_Key_Press | onrelease Enter_Key_Release", bSecondaryBinding=True)
; Confirm / Cancel binds, primary
.Bindings=(Name="Escape", Command="Escape_Key_Press | onrelease Escape_Key_Release | CANCELMATINEE 1", bPrimaryBinding=True)
.Bindings=(Name="RightMouseButton", Command="Escape_Key_Press | onrelease Escape_Key_Release | CANCELMATINEE 1", bSecondaryBinding=True)
; Navigation binds, primary
.Bindings=(Name="Up", Command="Arrow_Up | onrelease Arrow_Up_Release", bPrimaryBinding=True)
.Bindings=(Name="Down", Command="Arrow_Down | onrelease Arrow_Down_Release", bPrimaryBinding=True)
.Bindings=(Name="Left", Command="Arrow_Left | onrelease Arrow_Left_Release", bPrimaryBinding=True)
.Bindings=(Name="Right", Command="Arrow_Right | onrelease Arrow_Right_Release", bPrimaryBinding=True)
; Navigation binds, secondary
.Bindings=(Name="W", Command="Arrow_Up | onrelease Arrow_Up_Release", bSecondaryBinding=True)
.Bindings=(Name="A", Command="Arrow_Left | onrelease Arrow_Left_Release", bSecondaryBinding=True)
.Bindings=(Name="S", Command="Arrow_Down | onrelease Arrow_Down_Release", bSecondaryBinding=True)
.Bindings=(Name="D", Command="Arrow_Right | onrelease Arrow_Right_Release", bSecondaryBinding=True)
; Fast Number Access
.Bindings=(Name="One", Command="N1_Key_Press | onrelease N1_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Two", Command="N2_Key_Press | onrelease N2_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Three", Command="N3_Key_Press | onrelease N3_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Four", Command="N4_Key_Press | onrelease N4_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Five", Command="N5_Key_Press | onrelease N5_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Six", Command="N6_Key_Press | onrelease N6_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Seven", Command="N7_Key_Press | onrelease N7_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Eight", Command="N8_Key_Press | onrelease N8_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Nine", Command="N9_Key_Press | onrelease N9_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="Zero", Command="N0_Key_Press | onrelease N0_Key_Release", bPrimaryBinding=True)

; NON-BINDABLE - Shortcuts to switch soldiers in the barracks.
.Bindings=(Name="Tab", Command="Tab_Key_Press | onrelease Tab_Key_Release")
.Bindings=(Name="LeftShift", Command="Left_Shift_Key_Press | Left_Shift_Key_Release")

.Bindings=(Name="F4", Command="ALT_F4_QUIT", Alt=True)
.Bindings=(Name="F12", Command="F12_Key_Press | onrelease F12_Key_Release")
.Bindings=(Name="F1", Command="F1_Key_Press | onrelease F1_Key_Release")

;----------------------------------------------------------------------------------------

[XComGame.XComTacticalInput]
; Universal, don't mess with me
.Bindings=(Name="t", Command="TakeNoDamage")
.Bindings=(Name="MouseX", Command="Count bXAxis | Axis aMouseX")
.Bindings=(Name="MouseY", Command="Count bYAxis | Axis aMouseY")
.Bindings=(Name="LeftMouseButton", Command="Left_Mouse_Button_Press | onrelease Left_Mouse_Button_Release")
;----------------------------------------------------------------------------------------
; CONSOLE bindings - Update these when you modify gamepad bindings
;----------------------------------------------------------------------------------------
.Bindings=(Name="XboxTypeS_A", Command="A_Button_Press | onrelease A_Button_Release | onrelease CANCELMATINEE 1 | SingleStepAdvance")
.Bindings=(Name="XboxTypeS_B", Command="B_Button_Press | onrelease B_Button_Release | CANCELMATINEE 1")
.Bindings=(Name="XboxTypeS_X", Command="X_Button_Press | onrelease X_Button_Release")
.Bindings=(Name="XboxTypeS_Y", Command="Y_Button_Press | onrelease Y_Button_Release")
.Bindings=(Name="XboxTypeS_Start", Command="Forward_Button_Press | onrelease Forward_Button_Release | CANCELMATINEE 1")
.Bindings=(Name="XboxTypeS_Back", Command="Back_Button_Press | onrelease Back_Button_Release | CANCELMATINEE 1")
.Bindings=(Name="XboxTypeS_DPad_Down", Command="DPad_Down_Press | onrelease DPad_Down_Release")
.Bindings=(Name="XboxTypeS_DPad_Up", Command="DPad_Up_Press | onrelease DPad_Up_Release")
.Bindings=(Name="XboxTypeS_DPad_Left", Command="DPad_Left_Press | onrelease DPad_Left_Release")
.Bindings=(Name="XboxTypeS_DPad_Right", Command="DPad_Right_Press | onrelease DPad_Right_Release")
.Bindings=(Name="XboxTypeS_LeftThumbstick", Command="Thumb_Left_Press | onrelease Thumb_Left_Release")
.Bindings=(Name="XboxTypeS_RightThumbstick",Command="Thumb_Right_Press | onrelease Thumb_Right_Release")
.Bindings=(Name="XboxTypeS_LeftShoulder", Command="Shoulder_Left_Press | onrelease Shoulder_Left_Release | CheckDebugMenu")
.Bindings=(Name="XboxTypeS_RightShoulder", Command="Shoulder_Right_Press | onrelease Shoulder_Right_Release | CheckDebugMenu")
.Bindings=(Name="XboxTypeS_LeftTrigger", Command="Trigger_Left_Press | onrelease Trigger_Left_Release")
.Bindings=(Name="XboxTypeS_RightTrigger", Command="Trigger_Right_Press | onrelease Trigger_Right_Release")
.Bindings=(Name="XboxTypeS_LeftX", Command="Axis aStrafe Speed=1.0 DeadZone=0.3")
.Bindings=(Name="XboxTypeS_LeftY", Command="Axis aBaseY Speed=1.0 DeadZone=0.3")
.Bindings=(Name="XboxTypeS_RightX", Command="Axis aTurn Speed=1.0 DeadZone=0.2")
.Bindings=(Name="XboxTypeS_RightY", Command="Axis aLookup Speed=0.8 DeadZone=0.2")

;----------------------------------------------------------------------------------------
; TACTICAL binds
;----------------------------------------------------------------------------------------
.Bindings=(Name="Escape", Command="Escape_Key_Press | onrelease Escape_Key_Release | CANCELMATINEE 1", bPrimaryBinding=True)

; Confirm / Cancel binds, secondary
.Bindings=(Name="Enter", Command="SpaceBar_Key_Press | onrelease SpaceBar_Key_Release", bPrimaryBinding=True)
.Bindings=(Name="SpaceBar", Command="SpaceBar_Key_Press | onrelease SpaceBar_Key_Release", bSecondaryBinding=True)

; Pathing
.Bindings=(Name="RightMouseButton", Command="Right_Mouse_Button_Press | onrelease Right_Mouse_Button_Release", bPrimaryBinding=True)
Last edited by Imperator1125; Nov 14, 2013 @ 2:07pm
DoktorNik Nov 14, 2013 @ 3:40pm 
okay you have the code in the right Location, but you can't bind more than one thing to a key, and without either Alt (nothing is bound to alt's), shift, or ctrl, it won't know to pull up the dev console.

Also the key has to be upper case,

I recommend doing something like :

.Bindings=(Name="U", Command="GiveCash 20000",Alt=True)
.Bindings=(Name="Y", Command="GiveItem Meld 1000",Alt=True)
.Bindings=(Name="T", Command="GiveItem Elerium115 1000",Alt=True)
.Bindings=(Name="I", Command="GiveItem AlienAlloys 1000",Alt=True)
.Bindings=(Name="O", Command="GiveItem WeaponFragment 1000",Alt=True)

that should work, just hold Alt ,and then tap T-> O

Also for clarity's sake, and priority sake put them directly below

; Universal, don't mess with me

that way the game doesn't override it

Sorry for the late delay, had to go take an exam
Last edited by DoktorNik; Nov 14, 2013 @ 3:40pm
JiMMy Nov 14, 2013 @ 5:06pm 
i want to use this command
.Bindings=(Name="U",Command="lowerpanic",Alt=True)

where i should exactly put it? can sombody clear it please?
look from top i scroll down and i see "Engine.playerinput" i know i have to put in this section but dont know which line
Last edited by JiMMy; Nov 14, 2013 @ 5:07pm
Kajih Nov 14, 2013 @ 5:52pm 
Look for [Engine.PlayerInput] and just put the bindings line right underneath that.
NextGame Nov 15, 2013 @ 1:37pm 
anyone know what the commands for scientists and engineers would be?
< >
Showing 1-15 of 48 comments
Per page: 1530 50

Date Posted: Nov 12, 2013 @ 1:06pm
Posts: 48