Jump to content

Annette and Zhang HP/Accuracy/Will nerf


Nolanoth

Recommended Posts

I am so sick and tired of these two being the best operatives just because they are somehow "special". Enough is enough. I want to adjust their HP, accuracy and will to be exactly the same as that of normal soldiers I've named after the people I know. These two are just replacements that drop by when my main chars are wounded. I don't want them better in any way.

 

I want to set their:

 

Aim to 67 (I made adjustments to not born equally)

Will at 42

And set HP to a stable 4 and nothing more since I disabled HP progression.

 

I also wanted to change Zhang's class to Assault and I did that thanks to a previous thread:

 

http://forums.nexusmods.com/index.php?/topic/1229148-toolboks-mods-for-changing-zhangs-class-and-changing-the-number-of-abductions-you-have-to-choose-from-in-ew/?hl=+zhang

 

And that works fine. So I guess this:

 

03 00 00 00 01 00 8A 02 00 00 24 04 0F 35 DF 03

 

is the code for Zang ingame (after the class change) right? But does this code also hold his stats? And how can they be changed? For both him and Annette.

Link to comment
Share on other sites

I am so sick and tired of these two being the best operatives just because they are somehow "special". Enough is enough. I want to adjust their HP, accuracy and will to be exactly the same as that of normal soldiers I've named after the people I know. These two are just replacements that drop by when my main chars are wounded. I don't want them better in any way.

 

I want to set their:

 

Aim to 67 (I made adjustments to not born equally)

Will at 42

And set HP to a stable 4 and nothing more since I disabled HP progression.

 

I also wanted to change Zhang's class to Assault and I did that thanks to a previous thread:

 

http://forums.nexusmods.com/index.php?/topic/1229148-toolboks-mods-for-changing-zhangs-class-and-changing-the-number-of-abductions-you-have-to-choose-from-in-ew/?hl=+zhang

 

And that works fine. So I guess this:

 

03 00 00 00 01 00 8A 02 00 00 24 04 0F 35 DF 03

 

is the code for Zang ingame (after the class change) right? But does this code also hold his stats? And how can they be changed? For both him and Annette.

 

Edit your save in Toolboks.

Link to comment
Share on other sites

Their stats are set in XComStrategyGame.upk, class XGFundingCouncil, function BuildMission. There is Shaojie Zhang, Annette Durand, Fatima Tariq, Said Tariq and Matthew Hawkins.

case 20:
    kMission.ECountry = 2;
    kMission.eType = 5;
    kMission.strMapName = "DLC1_1_LowFriends";
    CustomSoldier.firstName = "Shaojie";
    CustomSoldier.lastName = "Zhang";
    CustomSoldier.NickName = "Chilong";
    CustomSoldier.Country = 2;
    CustomSoldier.Appearance.iRace = 2;
    CustomSoldier.Appearance.iFlag = 2;
    CustomSoldier.Appearance.iHead = 308;
    CustomSoldier.Appearance.iFacialHair = 16;
    CustomSoldier.Appearance.iHaircut = 307;
    CustomSoldier.Appearance.iHairColor = 22;
    CustomSoldier.Appearance.iSkinColor = 0;
    CustomSoldier.Appearance.iVoice = 20;
    CustomSoldier.Appearance.iGender = 1;
    CustomSoldier.soldierClass = 2;
    CustomSoldier.SoldierRank = 4;
    CustomSoldier.bPsiGift = false;
    CustomSoldier.HP = 9;
    CustomSoldier.Aim = 75;
    CustomSoldier.Will = 70;

<snip>

Soldiers are listed in case 20, 26 and 27.

 

Use UE Explorer and View Buffer of the fnction to find out correct hex.

http://i.imgur.com/WC49rmJ.jpg

 

The best is to have unique hex, that is present only once in the upk. Like for Zhang:

0F 35 DC 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 09 0F 35 DB 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 4B 0F 35 DA 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 46

 

Hexadecimal - Decimal

09 - 9 (HP)

4B - 75 (Aim)

46 - 70 (Will)

 

Link to comment
Share on other sites

Huh so it would seem there's like 2 or 3 extra expansions incoming? That would be interesting. Anyway I converted some values from hex to decimal and it seems to be working.

 

So thanks for the help I should be uploading the mod on here first. There's still some messy things about it. I'd need someone someone to check out the DGC.ini

 

Btw how do you find these values so quickly? It took me over an hour to find Ann:

0F 35 DC 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 05

0F 35 DB 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 46

0F 35 DA 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 50
Link to comment
Share on other sites

Huh so it would seem there's like 2 or 3 extra expansions incoming?

 

They are already in. All Progeny soldiers have PSI gift.

  • Shaojie Zhang - for completing Friends in Low Places (Slingshot - the 1st mission)
  • Annette Durand - for completing Deluge (Progeny - the 2nd mission)
  • Fatima Tariq, Said Tariq and Matthew Hawkins - for completing Furies (Progeny - the 3rd mission)

 

Btw how do you find these values so quickly?

 

It's not the first time I am searching in buffer view, but the fastest way is right clicking the function and selecting View Tokens:

(261F/1A63) [0F 35 DC 03 00 00 E4 03 00 00 00 01 00 8A 02 00 00 2C 05]
    L(31/19) -> SM(28/16) -> LV(9/5) -> ICB(2/2)
    CustomSoldier.HP = 5

Annette's HP.

Link to comment
Share on other sites

I made a very frustrating discovery - when making the changes you have to be aware of the character's rank like:

 

Rank 4 Liutenant

 

Why? Well the stats for Aim and Will which are set in the heroes personal stats start to grow with new levels only after the new rank is gained. So if you set aim it at 66 it will stay at 66 until you get rank 5. So when my other soldiers who reached rank 4 had about 85 aim Zhang only had 66. So you have to set aim and will for previous ranks.

 

I so need to do more testing :S anyway I hope this info helps someone with the same problem.

Link to comment
Share on other sites

I made a very frustrating discovery - when making the changes you have to be aware of the character's rank like:

 

Rank 4 Liutenant

 

Why? Well the stats for Aim and Will which are set in the heroes personal stats start to grow with new levels only after the new rank is gained. So if you set aim it at 66 it will stay at 66 until you get rank 5. So when my other soldiers who reached rank 4 had about 85 aim Zhang only had 66. So you have to set aim and will for previous ranks.

 

I so need to do more testing :S anyway I hope this info helps someone with the same problem.

 

To be fair, Zhang and the other special soldiers are just that: special. Could always fire them, if you really don't like how powerful they are. They get the stats that they do, because they're very special people. Zhang shows just how adept he is, when he uses a pistol to kill a Sectoid as it runs behind your squad of soldiers, none of which heard it scampering around behind them. He's depicted as better than your guys, because he /is/ better than your guys. He's been in the Triads for a long time, and has seen a lot, judging by his scars, and the lines he says in battle. That's also the reason why he's just brought in on the X-COM project with no real questions. He's proven himself to be more than capable in the field. Heck, he even has unique textures and a unique voice. If he's that big of a problem, just...don't use him, maybe? It seems like a lot of work for almost no payoff, when you can just ignore or fire him, instead of trying to go in and force the game to not make him as good as he actually is.

 

On the positive side, you wanted to keep Zhang from making the normal troops feel bad for not being as awesome as him, and by crippling his aim by setting it to an inaccurate 66, you've at least done that, though maybe not in the way that you intended.

Edited by FlyingHigh10000000
Link to comment
Share on other sites

 

I made a very frustrating discovery - when making the changes you have to be aware of the character's rank like:

 

Rank 4 Liutenant

 

Why? Well the stats for Aim and Will which are set in the heroes personal stats start to grow with new levels only after the new rank is gained. So if you set aim it at 66 it will stay at 66 until you get rank 5. So when my other soldiers who reached rank 4 had about 85 aim Zhang only had 66. So you have to set aim and will for previous ranks.

 

I so need to do more testing :S anyway I hope this info helps someone with the same problem.

 

To be fair, Zhang and the other special soldiers are just that: special. Could always fire them, if you really don't like how powerful they are. They get the stats that they do, because they're very special people. Zhang shows just how adept he is, when he uses a pistol to kill a Sectoid as it runs behind your squad of soldiers, none of which heard it scampering around behind them. He's depicted as better than your guys, because he /is/ better than your guys. He's been in the Triads for a long time, and has seen a lot, judging by his scars, and the lines he says in battle. That's also the reason why he's just brought in on the X-COM project with no real questions. He's proven himself to be more than capable in the field. Heck, he even has unique textures and a unique voice. If he's that big of a problem, just...don't use him, maybe? It seems like a lot of work for almost no payoff, when you can just ignore or fire him, instead of trying to go in and force the game to not make him as good as he actually is.

 

On the positive side, you wanted to keep Zhang from making the normal troops feel bad for not being as awesome as him, and by crippling his aim by setting it to an inaccurate 66, you've at least done that, though maybe not in the way that you intended.

 

 

My problem is that a tough guy brought up from the streets with only gang fighting experience could detect a sectoid THAT A TEAM OF ELITE AGENTS GATHERED FROM AROUND THE WORLD WHO ARE TRAINED TO HUNT AND KILL ALIENS COULD NOT FIND! WTF MAN?

 

Anyways, enough on why I don't like him, resume original topic now.

Edited by Krazyguy75
Link to comment
Share on other sites

Hehe, it is extra sneaky sectoid.

 

If you don't like him, let Shen chop his limbs. He is good MEC soldier for An Army of Four achievement.

Link to comment
Share on other sites

Must've been one of those darn low profile ones that snuck in from Long War.

 

Or the incredibly terrifying Sectoid Spy subtype I've had as a concept for ages, where it can cloak for 1 turn, has low profile, and gets a berserker claw, but only 1 health and no mind meld. Haven't tested it yet, would be funny.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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