Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How to give Hydras Regeneration?
Thread: How to give Hydras Regeneration?
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted June 30, 2022 05:15 PM

How to give Hydras Regeneration?

Hi there I'm looking for some modding help. I want to give hydras regeneration as a very lore appropriate and much needed buff.

First I tried MMArchive but it turns out it doesn't work on abilities.

Then I tried ERM script. I was able to give pikemen flying:

ZVSE2
!!MA:X0/2;

but I couldn't find a flag for Regeneration.

So does anyone know how to do it? I'm happy with any method that works for HOTA or ERA.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
BTB
BTB


Famous Hero
Moist & Creamy
posted June 30, 2022 05:28 PM
Edited by BTB at 17:29, 30 Jun 2022.

Which units possess this ability are specified at 046BD8 (Wight), 046BDD (Wraith), and 046BE1 (Troll). The IDs for Hydras are 6E and 6F for Chaos Hydras.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Phoenix4ever
Phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted June 30, 2022 05:38 PM

Regeneration would indeed fit hydras very well. Wights/Wraiths and Trolls are not even able to benefit fully from it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted June 30, 2022 06:27 PM

I already gave hydras regeneration in H4 ultimate : P (though H4 regeneration ability is capped at 50 hp per turn)

I beliee te had it as some WoG variant (level? Or 8th red "super-hydra"?) as well
____________
Never changing = never improving

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted June 30, 2022 06:51 PM
Edited by LordCameron at 19:00, 30 Jun 2022.

I stole this (tweaked it slightly) from Enhanced Creature abilities and it seems to work, but I don't know why. My ERM knowledge is basically non-existent. None of the instructions I've found talk about the !?FU(OnAfterBattleAction); type function, but changing the name makes it stop working so it must be important.

Quote:

ZVSE2

!?FU7065;

!!BMv7009:T?y1 P?y2 L?y3;                      [get monster type, position, health lost]
!!VRy4&y3>0:Sy3 -x1;                          [reduce damage by x1 (heal)]
!!VRy4&y3>0/y4<0:S0;                         [if less than 0 set to 0]
!!VRy5&y3>0:Sy3 -y4;                         [calculate hit points healed]
!!VRz2&y3>0:Sz150009;
!!MM&y3>0:Sz2;
!!FU7064&y3>01/y2/0/0/0/6/0/y1/0;            [cast dummy spell (scuttle boat)]
!!BMv7009&y3>0:V79 Ly4;                        [shown animation, set health lost]

** end of function **


!?FU(OnAfterBattleAction);                        
!!BG:N?v7009;                                         [get current stack #]
!!BMv7009:T?y5 P?y6;                                  [get monster type, position]

!!FU7065&y5=11020;  [if hydra, regenerate]
!!FU7065&y5=11130;  [if chaos hydra, regenerate]



 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted June 30, 2022 07:02 PM

NimoStar said:
(though H4 regeneration ability is capped at 50 hp per turn)

It's also max 50 HP in H3.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted June 30, 2022 07:18 PM

BTB said:
Which units possess this ability are specified at 046BD8 (Wight), 046BDD (Wraith), and 046BE1 (Troll). The IDs for Hydras are 6E and 6F for Chaos Hydras.



Is this for hex editing or something?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
BTB
BTB


Famous Hero
Moist & Creamy
posted June 30, 2022 07:42 PM

That is in hex, yes.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted June 30, 2022 11:03 PM
Edited by LordCameron at 23:33, 30 Jun 2022.

BTB said:
That is in hex, yes.


Oh you're the guy who wrote this: http://abusemynipples.biz/misc/h3_hacking.txt

I was couldn't find it earlier, eyes must have just skipped over it. Got it bookmarked now!

That said, not too sure how confident I am about doing hex editing. I'm always scared I'll horribly break something and no idea what to do with that information haha.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Phoenix4ever
Phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted June 30, 2022 11:28 PM

It's pretty easy, maybe just keep a back-up just in case...
ERM scripting seems quite daunting to me though.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted June 30, 2022 11:52 PM

Phoenix4ever said:
It's pretty easy, maybe just keep a back-up just in case...
ERM scripting seems quite daunting to me though.


I guess everyone's got their own comfort zones haha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted July 01, 2022 01:05 PM

Quote:
It's also max 50 HP in H3.


Interesting. Though I believe in normal H3 you never get to see that because it's used on creatures below this hp number.

While in H4 you get to see the limit due to Dark Champions, a max level creatre, coming with this ability.
____________
Never changing = never improving

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
BTB
BTB


Famous Hero
Moist & Creamy
posted July 01, 2022 09:23 PM

LordCameron said:
BTB said:
That is in hex, yes.


Oh you're the guy who wrote this: http://abusemynipples.biz/misc/h3_hacking.txt

I was couldn't find it earlier, eyes must have just skipped over it. Got it bookmarked now!

That said, not too sure how confident I am about doing hex editing. I'm always scared I'll horribly break something and no idea what to do with that information haha.




If you follow the instructions in that guide, it's pretty hard to go wrong.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0397 seconds