Jump to content

X-COM EU Slingshot edit Zhang's starting stats


AxlDave

Recommended Posts

Sorry for the delay in responding. I didn't realize you had responded to your own post.

 

I think you misunderstood the instructions. The mod XCOM:EU Change Zhang's class referred to by the DIY article is an example of how to change a "council reward soldier", but it was specific to EW patch 3. You are playing EU, so the code may not work for it. However, as noted in the article and code, that was not tested against EU so give it a try. "PatcherGUI" code is more forgiving in determining the correct location than using absolute hex addresses.

 

The code given in that article, and in the DIY article, are "PatcherGUI" inputs. Just copy into a text file and run "PatcherGUI" against it. Let me know how that works out, as I may need to change the description and article name.

 

The code in <angle brackets> is "pseudo-code" specific to that tool so you won't find it in hex. However, the UPKUtils package of tools (of which PatcherGUI is a part) do have the ability to convert between the "pseudo-code" and the hex code. The UPKUtils package documentation covers "pseudo-code". If you wish to understand how the "PatcherGUI" mods work you will need to dig into that. It is also recommended that you look at the linked forum threads that the articles are derived from. Lots of details as to how things were discovered there.

 

-Dubious-

Edited by dubiousintent
Link to comment
Share on other sites

I tried running it through PatchUPK (the closest thing in UPKUtils to PatcherGUI) and it did nothing, there is no change to the starting stats.

 

I also am not having any luck getting the pseudo code converter to work, as the readme instructions are very unclear. All I really want is the unique hex string that allows me to locate his health, aim, and will so I can edit those values. Are there no resources with this information out there? Or at least a simple way to find that hex string myself?

Link to comment
Share on other sites

Nothing I am aware of other than what I have already pointed you to. Your best bet now is to go back through the "Toolboks" forum thread referenced in the article and see if the original discoverer listed it. But because the addresses and hex code changed every time a new patch was released, the code-divers didn't bother to list them if they had another way to get the job done (such as UPKUtils and "pseudo-code"). (If you aren't aware, most coders HATE documenting anyway, as in "whip-and-chair-before-it's-the-last-thing-I'll-do".) And when EW came out, practically no efforts were directed to back-porting new EW mods to be EU compatible.

 

Not sure if you are confused or made a deliberate choice, but "PatcherGUI" is the first file on the downloads page of the UPKUtils Nexus page. The rest of the UPKUtils are "command line" tools. The release thread with discussion about the package's capabilities (and it's evolution) is here. You can also search the "Mod Talk" section of the forum for "pseudo-code" references.

 

The whole art of code-diving is figuring out how to find what you are looking for. If you are incredibly lucky there is a text string you can look for. Otherwise you have to interpret hex codes. In which case you try to figure out which UPK and functions are related to the purpose. The "hex2pseudocode" tool is a big help as the pseudo-code is much easier to interpret.

 

Sad to say, but virtually nothing is simple about modding EU, and EW is only a little better because by then we had developed some tools.

 

-Dubious-

Edited by dubiousintent
Link to comment
Share on other sites

  • Recently Browsing   0 members

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