Jump to content

Recommended Posts

Posted

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 = 57
0F 35 E3 FA FF FF A8 F9 FF FF 00 01 00 B7 4E 00 00 2C 39

This 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:

Posted

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-

Posted

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?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...