Jump to content

Customizable Special Soldiers for PatcherGUI


ViperCanel

Recommended Posts

I just want to be able to give special soldiers like Zhang and Annette helmets using PatcherGUI. I already found a mod for this by PeaslyWelbott but unfortunately when he updated his mod for PatcherGUI he only carried over shiv customization and left out special soldiers. I tried my luck changing <IsATank> to <IsASpecialSoldier> and <IsSuperSoldier>, also played around with hexes a little but always ended up with an error. If you could check the PatcherGUI version and add in Zhang/Annette customization I would be grateful.

The code:

MOD_NAME=My SHIV is Special
AUTHOR=Peasly Wellbott
DESCRIPTION=Opens SHIVs to customization.

Version: 1.0

Compatible with XCOM Enemy Within/Enemy Unknown versions:
 - All hopefully


UPK_FILE=XComStrategyGame.upk

OBJECT=XGSoldierUI.UpdateMainMenu
[BEFORE_CODE]
<IsATank> 16 18 20 00 19
[AFTER_CODE]
<IsInPsiTesting> 16 18 20 00 19

His outdated Toolboks version for comparison:

MOD_NAME=My SHIV is Special
AUTHOR=Peasly Wellbott
DESCRIPTION=Opens SHIVs and Super Soldiers to customization.

Version: 1.0

Compatible with XCOM Enemy Within versions:
 - Patch 1( Changelist: 398180 )


UPK_FILE=XComStrategyGame.upk
OFFSET=4571020
[MODDED_HEX]
/* Open Customization tab for SHIVs and Super Soldiers by changing IsATank and IsSuperSoldier calls to IsBeingAugmented */
01 5F 4C 00 00 0F 35 C3 FA FF FF B7 F9 FF FF 00 01 00 07 4D 00 00 45 84 84 19 01 78 4C 00 00 0A 00 11 53 00 00 00 1B 7B 17 00 00 00 00 00 00 16 18 20 00 19 01 78 4C 00 00 0A 00 15 53 00 00 00 1B 7B 17 00 00 00 00 00 00 16
Edited by ViperCanel
Link to comment
Share on other sites

This is should enable all customisation options for special soldiers in EW:

UPK_FILE = XComStrategyGame.upk
OBJECT = XGCustomizeUI.UpdateMainMenu : AUTO
REPLACE_CODE=
0F 35 <XComGame.XGTacticalScreenMgr.TMenuOption.iState> <XComGame.XGTacticalScreenMgr.TMenuOption> 00 01 00 <.kOption> 26
:
0F 35 <XComGame.XGTacticalScreenMgr.TMenuOption.iState> <XComGame.XGTacticalScreenMgr.TMenuOption> 00 01 00 <.kOption> 25

 

Edited by azxeus
Link to comment
Share on other sites

  • Recently Browsing   0 members

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