linpingchun Posted December 20, 2013 Share Posted December 20, 2013 linpingchun, can you upload your XComStrategyGame.upk somewhere so I can check it? Are you editing XComGame/Config/DefaultInput.ini? Try exit command if you can please :smile: Also could be worth changing key to F12. Recently I had problems with F11, as it is set to switch between windowed and fullscreen.I edit the DefaultInput.ini, but Mac has the Default files in one folder I posted earlier.I try the "Exit", it doesn't work. The line under uses F12, will it mix up if I use F12?=================================================.Bindings=(Name="F4", Command="ALT_F4_QUIT", Alt=True).Bindings=(Name="F9”, Command=“Exit”).Bindings=(Name="F12", Command="F12_Key_Press | onrelease F12_Key_Release")================================================== how to upload the file? I cannot find the icon for attachment. Link to comment Share on other sites More sharing options...
Amineri Posted December 20, 2013 Share Posted December 20, 2013 Oh, one more thing to try ... In the PC version there are two separate places in the executable the DGC.ini path is referenced (and its in unicode, not ASCII). It is the second occurence that needs to be mangled. Changing the first may cause unpredictable effects :) Link to comment Share on other sites More sharing options...
linpingchun Posted December 20, 2013 Share Posted December 20, 2013 If you use money, make sure you go to the labs or somewhere and back out, so that it properly updates. Also, make sure you're editing the correct ini, should you have both EW and EU.I did move around the lab and work shop and control room, but it still not work. I only have EU Link to comment Share on other sites More sharing options...
Drakous79 Posted December 21, 2013 Author Share Posted December 21, 2013 I edit the DefaultInput.ini, but Mac has the Default files in one folder I posted earlier.I try the "Exit", it doesn't work. The line under uses F12, will it mix up if I use F12?=================================================.Bindings=(Name="F4", Command="ALT_F4_QUIT", Alt=True).Bindings=(Name="F9”, Command=“Exit”).Bindings=(Name="F12", Command="F12_Key_Press | onrelease F12_Key_Release")================================================== You're right, it will mix, unless you change F12 command to Exit. Let's do something different. Open DefaultInput.ini (Application Support > Steam >SteamApps > common > XCom-Enemy-Unlnown > XCOMData > XComGame > Config) in an editor. Navigate to the end of the file, put there one empty line and this: [Engine.PlayerInput] .Bindings=(Name="F12", Command="Exit") [XComGame.XComTacticalInput] .Bindings=(Name="F12", Command="Exit")This should overwite any previous binds for strategic and tactical layer of the game and will help us with troubleshooting. Now F12 anywhere should exit the game so start the game and hit F12. If it doesn't work, open XComInput.ini (XCOM Enemy Unknown > Maclnit ?) in an editor and search for: Bindings=(Name="F12", Command="Exit")It should be listed 2 times, always at the end of a section ([Engine.PlayerInput], [XComGame.XComTacticalInput]). If not found, add it there. Start the game and hit F12. If it doesn't work, than it is a mystery to solve :smile: Thinking about it, Exit is Unreal Engine command and should work, unless there's an error in bindings. how to upload the file? I cannot find the icon for attachment. I use Dropbox, but any internet file sharing service will be good. Pack it to zip or 7z please. I'd like to inspect XComStrategyGame.upk, if it contains exec functions. Link to comment Share on other sites More sharing options...
linpingchun Posted December 21, 2013 Share Posted December 21, 2013 I edit the DefaultInput.ini, but Mac has the Default files in one folder I posted earlier.I try the "Exit", it doesn't work. The line under uses F12, will it mix up if I use F12?=================================================.Bindings=(Name="F4", Command="ALT_F4_QUIT", Alt=True).Bindings=(Name="F9”, Command=“Exit”).Bindings=(Name="F12", Command="F12_Key_Press | onrelease F12_Key_Release")================================================== You're right, it will mix, unless you change F12 command to Exit. Let's do something different. Open DefaultInput.ini (Application Support > Steam >SteamApps > common > XCom-Enemy-Unlnown > XCOMData > XComGame > Config) in an editor. Navigate to the end of the file, put there one empty line and this: [Engine.PlayerInput] .Bindings=(Name="F12", Command="Exit") [XComGame.XComTacticalInput] .Bindings=(Name="F12", Command="Exit")This should overwite any previous binds for strategic and tactical layer of the game and will help us with troubleshooting. Now F12 anywhere should exit the game so start the game and hit F12. If it doesn't work, open XComInput.ini (XCOM Enemy Unknown > Maclnit ?) in an editor and search for: Bindings=(Name="F12", Command="Exit")It should be listed 2 times, always at the end of a section ([Engine.PlayerInput], [XComGame.XComTacticalInput]). If not found, add it there. Start the game and hit F12. If it doesn't work, than it is a mystery to solve :smile: Thinking about it, Exit is Unreal Engine command and should work, unless there's an error in bindings. how to upload the file? I cannot find the icon for attachment. I use Dropbox, but any internet file sharing service will be good. Pack it to zip or 7z please. I'd like to inspect XComStrategyGame.upk, if it contains exec functions. https://www.dropbox.com/s/u2d1nkyenmqu2ah/XComStrategyGame.upki will try if i can zip it Link to comment Share on other sites More sharing options...
linpingchun Posted December 21, 2013 Share Posted December 21, 2013 here is the Zip file, it is 0.4MB smaller https://www.dropbox.com/s/szyjy8s333pr6tf/XComStrategyGame.upk.zip Link to comment Share on other sites More sharing options...
Drakous79 Posted December 22, 2013 Author Share Posted December 22, 2013 Thank you linpingchun. The file you uploaded contains exec functions like GiveItem. Link to comment Share on other sites More sharing options...
linpingchun Posted December 22, 2013 Share Posted December 22, 2013 I edit the DefaultInput.ini, but Mac has the Default files in one folder I posted earlier.I try the "Exit", it doesn't work. The line under uses F12, will it mix up if I use F12?=================================================.Bindings=(Name="F4", Command="ALT_F4_QUIT", Alt=True).Bindings=(Name="F9”, Command=“Exit”).Bindings=(Name="F12", Command="F12_Key_Press | onrelease F12_Key_Release")================================================== You're right, it will mix, unless you change F12 command to Exit. Let's do something different. Open DefaultInput.ini (Application Support > Steam >SteamApps > common > XCom-Enemy-Unlnown > XCOMData > XComGame > Config) in an editor. Navigate to the end of the file, put there one empty line and this: [Engine.PlayerInput] .Bindings=(Name="F12", Command="Exit") [XComGame.XComTacticalInput] .Bindings=(Name="F12", Command="Exit")This should overwite any previous binds for strategic and tactical layer of the game and will help us with troubleshooting. Now F12 anywhere should exit the game so start the game and hit F12. If it doesn't work, open XComInput.ini (XCOM Enemy Unknown > Maclnit ?) in an editor and search for: Bindings=(Name="F12", Command="Exit")It should be listed 2 times, always at the end of a section ([Engine.PlayerInput], [XComGame.XComTacticalInput]). If not found, add it there. Start the game and hit F12. If it doesn't work, than it is a mystery to solve :smile: Thinking about it, Exit is Unreal Engine command and should work, unless there's an error in bindings. how to upload the file? I cannot find the icon for attachment. I use Dropbox, but any internet file sharing service will be good. Pack it to zip or 7z please. I'd like to inspect XComStrategyGame.upk, if it contains exec functions. I edited the lines as you stated, and when I run the game, the XComInput.ini does appear to have 2 commends as you mentioned. When I press F12, it increase my sound volume. When I press fn+F12, it exit the game and switch to my dash board. The game does not ended, I can switch back to the game. I am not sure if this means the command is working. Link to comment Share on other sites More sharing options...
whcl Posted December 22, 2013 Share Posted December 22, 2013 However, I am unable to use the KB as I am using a GamePad (in XBOX 360 mode). I would like to insert these commands for the GamePad, but do not know how to modify these instruction and where I should insert them for a GamePad. Any help would be very much appreciated!! I am guessing that it would be esiest to assign these functions to R3/Right Stick Click (which currently has no function in XCOM). I'm not sure if there is a way for it to function like a toggle switch so that 1st press slows down the game by 50%; 2nd press brings it back to 100%. I am guessing that "XboxTypeS_RightShoulder" is referring to R3/Right Stick Click button in the DefaultInput.ini. Thank you for your kind help in advance. No idea, if XboxTypeS_RightShoulder is the right one. You can try some command with other binds under ;CONSOLE bindings. I'd start by putting: [Engine.PlayerInput] .Bindings=(Name="XboxTypeS_RightShoulder", Command="Exit")at the end of DefaultInput.ini. It will exit the game, if the correct button is pressed. Having it at the end is good, because it overwrites earlier binds. When you find the right button, create key bind toggle: [Engine.PlayerInput] .Bindings=(Name="SlowMotion",Command="slomo 0.5 | SetBind XboxTypeS_RightShoulder NormalMotion") .Bindings=(Name="NormalMotion",Command="slomo 1 | SetBind XboxTypeS_RightShoulder SlowMotion") .Bindings=(Name="XboxTypeS_RightShoulder", Command="SlowMotion")Tested it with Name="F12" and works as intended. Maybe you would like to use lower value than slomo 0.5. The toggle uses SetBind in chain of commands. // SetBind KeyName AliasName SetBind F12 MyName1Hi Drakous79 Just wanted to report back on SUCCESS with your advice. In order to use the R3/Right Stick Click to control the speed of the game, I inserted the following lines in the section title "CONSOLE bindings" in DefaultInput.ini: .Bindings=(Name="SlowMotion",Command="slomo 0.01 | SetBind XboxTypeS_RightThumbStick NormalMotion").Bindings=(Name="NormalMotion",Command="slomo 1 | SetBind XboxTypeS_RightThumbStick SlowMotion").Bindings=(Name="XboxTypeS_RightThumbStick", Command="SlowMotion") Worked like a charm!! Link to comment Share on other sites More sharing options...
Drakous79 Posted December 23, 2013 Author Share Posted December 23, 2013 I edited the lines as you stated, and when I run the game, the XComInput.ini does appear to have 2 commends as you mentioned. When I press F12, it increase my sound volume. When I press fn+F12, it exit the game and switch to my dash board. The game does not ended, I can switch back to the game. I am not sure if this means the command is working. I fear that means it is not working, if the game is stil running. Increasing sound volume may be a feature of Mac or some other programm - nothing like that on PC. Let's try different keys. Please put this into DefaultInput.ini and hit B and F4 in the game. F4 should either exit the game or select a soldier, if you're in a mission. [Engine.PlayerInput] .Bindings=(Name="B", Command="Exit") .Bindings=(Name="F4", Command="Exit", bPrimaryBinding=True) [XComGame.XComTacticalInput] .Bindings=(Name="B", Command="Exit") .Bindings=(Name="F4", Command="Exit", bPrimaryBinding=True)Please try those keys in the base and in a mission. Hi Drakous79 Just wanted to report back on SUCCESS with your advice. In order to use the R3/Right Stick Click to control the speed of the game, I inserted the following lines in the section title "CONSOLE bindings" in DefaultInput.ini: .Bindings=(Name="SlowMotion",Command="slomo 0.01 | SetBind XboxTypeS_RightThumbStick NormalMotion").Bindings=(Name="NormalMotion",Command="slomo 1 | SetBind XboxTypeS_RightThumbStick SlowMotion").Bindings=(Name="XboxTypeS_RightThumbStick", Command="SlowMotion") Worked like a charm!! Glad I could help :smile: Great job with finding the right button's name. Link to comment Share on other sites More sharing options...
Recommended Posts