Jump to content

How to edit defaultproperties?


MPQC

Recommended Posts

I've done this a couple of times, and both times it involved a lot of staring at hex code and guess-and-checking, but I was eventually able to get it to work.

 

To access the hex for the default properties in UE Explorer :

1) Right-click on the root class name (e.g. XGStrategySoldier)

2) Select View Buffer

3) Select Default Properties Buffer

 

This will provide a dump of the hex for all of the default properties for the class. There is no breakdown of this code, no mouse-over hint, just a raw dump of the entire hex buffer.

 

Here is the example hex change I made that change the m_iEnergy default value in XGStrategySoldier from 100 to 0 (this was used for the expanded perk tree):

 

 

Hope -- to change default m_iEnergy value from 100 to 0, change byte at location : 0x3BE3D9 from 0x64 to 00

 

 

Here's a copy of my working notes on how I've broken down the default buffer in other cases:

 

 

 

Default Table entries:

Format:
## ## ## ## 00 00 00 00 -- position 4 (bytes 12-15 in variable table buffer entry)
## ## ## ## 00 00 00 00 -- variable type
-- 9D 3B 00 00 : Integer
-- 66 0B 00 00 : Boolean
-- 45 68 00 00 : String
## ## ## ## 00 00 00 00 -- size default value (e.g. 04 00 00 00 for integer)
## ## ## ## -- value (e.g. 64 00 00 00 for integer 100)
-- for strings contains size of string, followed by 0-terminated string
81 A6 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 00 00 00 00 F8 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 01 00 00 00 F1 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 02 00 00 00 FC 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 03 00 00 00 F5 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 04 00 00 00 EF 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 05 00 00 00 FD 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 06 00 00 00 F6 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 07 00 00 00 F2 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 08 00 00 00 F3 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 09 00 00 00 F9 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0A 00 00 00 FA 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0B 00 00 00 F4 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0C 00 00 00 FB 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0D 00 00 00 FF 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0E 00 00 00 FE 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 0F 00 00 00 F7 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 10 00 00 00 F0 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 11 00 00 00 EE 3B 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 12 00 00 00 F0 10 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 13 00 00 00 EF 10 00 00 00 00 00 00
4E 4F 00 00 00 00 00 00 73 54 00 00 00 00 00 00 08 00 00 00 14 00 00 00 E4 36 00 00 00 00 00 00
60 0D 00 00 00 00 00 00 66 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 50 55 00 00 00 00 00 00

 

 

 

These are quite rough and incomplete because I myself still don't fully understand how the default buffer hex works.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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