Galardron Posted June 3, 2014 Share Posted June 3, 2014 Hi, guys. I want only to make my rookies start with Tac Armor instead of Tac Vest. I have received some instructions from Amineri: The more direct (but a bit more advanced) way to go about this is to download a copy of UE Explorer, which will allow you to "open" the XComStrategyGame.upk so you can examine the code/hex yourself. The relevant code/hex line is in XGStorage.AutoEquip, and is://kRookieLoadout.iArmor = 570F 35 E3 FA FF FF A8 F9 FF FF 00 01 00 B7 4E 00 00 2C 39This directly sets the armor for rookies to Item ID 57, which is what we use for the Tac Vest. Broken down, the 0F is the assignment operator, the 35 E3 FA FF FF A8 F9 FF FF 00 01 00 B7 4E 00 00 is the kRookieLoadout.iArmor, and the 2C 39 represents integer value 57. 2C is the opcode for "integer value", and 39 is the hexadecimal value for decimal 57. The Tac Armor ID is 59, which in hexadecimal is 3B, which is why only the last value of the line is changing. I suspect the most likely issue is that you are looking at the wrong UPK, or are using the hex editor incorrectly. You have to use the XEW/XComGame/CookedPCConsole/XComStrategyGame.upk. Good luck! I have installed UE Explorer and HxD, but as I don't have any experience with it, I can't do anything. I am totally lost! Anyone could - PLEASE! - help me with a step-by-step-for-stupid-dummies? Something like: 1- Open the file X with program Y......N - Start the game and enjoy it! It should be simple to many of you, but I just can't do it alone. Help me, please. Thanks! :smile: Link to comment Share on other sites More sharing options...
dubiousintent Posted June 4, 2014 Share Posted June 4, 2014 Start by reading the wiki article "Hex editing UPK files". It's a tutorial that walks you through using HxD and all the other related steps to making such changes. Just substitute the files and hex values Amineri pointed you to for any mentioned in the article. -Dubious- Link to comment Share on other sites More sharing options...
Galardron Posted June 5, 2014 Author Share Posted June 5, 2014 Many thanks, Dubious. The magic is done! By any chance you know what I must change to make gender ratio something like 90% men and 10% women? Link to comment Share on other sites More sharing options...
dubiousintent Posted June 8, 2014 Share Posted June 8, 2014 Take a look at "XCOM Interface and Gameplay Tweaks". It has a "Soldier Gender Probability" customization, though I'm not sure you can get that high a male to female ratio. But the code should point you to what needs changing. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts