hristi Posted November 16, 2013 Posted November 16, 2013 On 11/15/2013 at 10:02 PM, Drakous79 said: Okay, I can confirm keybind commands are working with EW. Put this at the end of DefaultInput.ini:[XComGame.XComTacticalInput] .Bindings=(Name="F12", Command="exec tactical.txt") [Engine.PlayerInput] .Bindings=(Name="F12", Command="exec strategy.txt")Create tactical.txt and strategy.txt files in XCom-Enemy-Unknown\XEW\Binaries\ and put commands into them. Then press F12 in the game. Detailed info in Wiki's article Keybind Commands - XCOM:EU 2012. http://i.imgur.com/LNMFpnD.jpg Btw GiveResource Meld 321. Happy testing :smile: So that's how you do it! Thank you! :dance:
Rasann Posted November 17, 2013 Posted November 17, 2013 (edited) I might be missing something...but I added it all where it needs to be, but its not adding any of the resources I put into the Strategy.txt, I thought I had put the command lines in the DefaultInput.ini correctly, but it still isn't added the resources (elerium, etc...) :/ I have EW but I tried it first in EU, to see if I did it right, but its not working in EU... I'm not sure what I'm doing wrong :/ Edited November 17, 2013 by Rasann
Drakous79 Posted November 17, 2013 Author Posted November 17, 2013 Try going to Research and back after using GiveResource command, so UI gets updated.
NecroRaizo Posted November 30, 2013 Posted November 30, 2013 Where would I find the classes XGStategyActor and XGGame Data, inside the files or is it a downloadable file?
Krazyguy75 Posted November 30, 2013 Posted November 30, 2013 They're in the XComGame.upk, but for keybind commands you don't need any of that, that just tells the game where the variables are for.
gabari0219 Posted December 5, 2013 Posted December 5, 2013 I can not figure this out .Bindings=(Name="F9", Command="GiveItem UFOFlightComputer 100" nothing happen when i press F9. Am I doing something wrong?
dubiousintent Posted December 5, 2013 Posted December 5, 2013 (edited) On 12/5/2013 at 5:51 AM, gabari0219 said: I can not figure this out .Bindings=(Name="F9", Command="GiveItem UFOFlightComputer 100" nothing happen when i press F9. Am I doing something wrong?You should post the complete relevant entries from your 'DefaultInput.ini' file (in a spoiler, please). From this we can't tell if you put it in the correct section ( [Engine.PlayerInput] or [XComGame.XComTacticalInput] ), and you must preserve spacing and punctuation. (You are missing a closing parentheses: ")" above; and I believe it belongs in the [Engine.PlayerInput] section because that is a strategic reward, but I'm not an expert.) -Dubious- Edited December 5, 2013 by dubiousintent
gabari0219 Posted December 5, 2013 Posted December 5, 2013 On 12/5/2013 at 6:08 AM, dubiousintent said: On 12/5/2013 at 5:51 AM, gabari0219 said: I can not figure this out .Bindings=(Name="F9", Command="GiveItem UFOFlightComputer 100" nothing happen when i press F9. Am I doing something wrong?You should post the complete relevant entries from your 'DefaultInput.ini' file (in a spoiler, please). From this we can't tell if you put it in the correct section ( [Engine.PlayerInput] or [XComGame.XComTacticalInput] ), and you must preserve spacing and punctuation. (You are missing a closing parentheses: ")" above; and I believe it belongs in the [Engine.PlayerInput] section because that is a strategic reward, but I'm not an expert.) -Dubious- Sorry I added it to the [Engine.PlayerInput] section of 'DefaultInput.ini' file
Drakous79 Posted December 5, 2013 Author Posted December 5, 2013 gabari0219, it is UFONavigation = UFO Flight Computer. Also Dubious is right about the missing bracket. List of items (not including Enemy Within additions) is in this post. I'll try to update it soon.[Engine.PlayerInput] .Bindings=(Name="F9", Command="GiveItem UFONavigation 100")You can put those lines at the end of DefaultInput.ini before starting the game. After hitting F9 in Gray Market, mouseover some item to see new count of UFO Flight Computers. If you edit commands in DefaultInput.ini on the fly, restart of the game is required to apply changes. I like to use Command="exec MyFile.txt" - MyFile.txt contains commands I can change of the fly and is located inside XCom-Enemy-Unknown\XEW\Binaries\ folder. If you're playing Enemy Unknown, than the file is in XCom-Enemy-Unknown\Binaries\ folder.
Recommended Posts