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: Heroes 3 Hacking Reference Guide
Thread: Heroes 3 Hacking Reference Guide This thread is 41 pages long: 1 10 ... 17 18 19 20 21 ... 30 40 41 · «PREV / NEXT»
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted August 31, 2021 09:05 PM

Bless for sure is better than Bloodlust, not to mention Precision, which is even worse than Bloodlust.
To raise mana cost of Bless to that of Curse and lower Precisions 1 or 2 would not be a bad idea imo.
To fiddle with the damage formula of Bless is also an idea I suppose.

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


Famous Hero
Moist & Creamy
posted September 02, 2021 12:21 AM
Edited by BTB at 06:45, 04 Sep 2021.

Updated to fix some errors with the Statue of Legion and Ballista initiative code examples, plus added an overhaul for Bless and Curse (which still needs commentary... I'll clean this thing up later)

(Updated again to fix an error with the Frenzy code I suggested... also made the change in-line)

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


Legendary Hero
Heroes is love, Heroes is life
posted September 04, 2021 10:02 PM

BTB do you know if it's possible to make the 4 elemental orbs require the particular magic school to work?
For example can I make the fire orb work only if I have Fire Magic?

I always thought these orbs were a bit OP, you could just get the air orb and spam Chain Lightning, even if you did'nt have Air Magic. With the above change you would at least need the right magic school to use them.

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


Famous Hero
Moist & Creamy
posted September 04, 2021 11:14 PM

Possible, sure, but you'll need some free space (easiest is to remove the spell protection from Power of the Dragon Father, since it comes right before this). When it checks for each orb, the hero offset is loaded into ESI, so for, say, fire magic, you just need to add a check beforehand for ESI+74. You'll be adding 10 bytes per orb, so 40 total.

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


Legendary Hero
Heroes is love, Heroes is life
posted September 04, 2021 11:26 PM

Hmm that might be above my skill level.

I was also considering making damage spells cost 50% more mana, if you don't have the correct magic school. That is probably easier to implement, but it might hurt the AI and heroes specialising in damage spells.

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


Famous Hero
Moist & Creamy
posted September 05, 2021 12:08 AM

It's really just a matter of whether or not you're attached to the Dragonlord armor effect. If you're not, I can whip you up the code pretty easily.

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


Legendary Hero
Heroes is love, Heroes is life
posted September 05, 2021 07:29 AM

Well it's extremely rare I collect all 9 pieces and actually assemble Power of the Dragon Father. I was actually considering making it easier to assemble it, by maybe not needing the 3 treasure artifacts. You know how to do that?

If you do happen to find the code, I would be interested though.

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


Adventuring Hero
posted September 26, 2021 03:48 PM
Edited by deathstare at 15:52, 26 Sep 2021.

Hello. if a hero learns eagle eye, can he learn magic immediately when the enemy uses magic during battle?

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


Famous Hero
Moist & Creamy
posted September 30, 2021 08:51 PM

deathstare said:
Hello. if a hero learns eagle eye, can he learn magic immediately when the enemy uses magic during battle?


Off-hand, the only real question that needs answering here is whether or not the spell list gets updated on the fly during combat, which is something I could probably figure out next time I'm poking around at the code.

In other news, I've tackled two more big coding projects I've been wanting to do for awhile now. The first is to make Black Markets, Trading Posts, and Freelancers' Guilds on the adventure map offer rates equal to your current number of markets plus one rather than a static four (this goes hand-in-hand with the ability to edit market rates). The other is requiring the player to find every Obelisk before digging for the grail is allowed (this replaces the rule that you can't dig unless your movement points are maxed out).

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


Legendary Hero
Heroes is love, Heroes is life
posted October 02, 2021 12:18 PM
Edited by Phoenix4ever at 12:24, 02 Oct 2021.

BTB sorry if this has been asked before, but I am looking for ways to improve the First Aid skill. Is it possible to:
1) Make the First Aid Tent mass heal?
2) Make the First Aid Tent resurrect/animate?
3) Make the First Aid Tent cast the Cure spell?
Maybe even a combination of the above? That would give some worth to First Aid.

As asked above, I am also interested to make Eagle Eye learn spells instantly, if you could crack the code on that. If possible, I wonder if the check would be made only once per combat or every time the spell is cast? The latter would obviously also improve Eagle Eye.

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


Responsible
Supreme Hero
posted October 02, 2021 06:50 PM

All this is doable via plugins (some of your proposals are already implemented via plugins). If you don't want to use HD mod pour certaines raisons, you can make an .asi plugin, and the game will load it automatically.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 03, 2021 10:06 AM

I do want to use HD Mod, but it does'nt support plug-ins anymore and I want the newest version.

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


Adventuring Hero
posted October 10, 2021 02:32 PM
Edited by deathstare at 14:32, 10 Oct 2021.

Can we edit the mystical garden and tree of knowledge? What they demand and provide gem destroys the balance.

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


Famous Hero
Moist & Creamy
posted October 10, 2021 11:58 PM

deathstare said:
Can we edit the mystical garden and tree of knowledge? What they demand and provide gem destroys the balance.


It's on my to-do list

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


Adventuring Hero
posted October 11, 2021 09:26 AM
Edited by deathstare at 09:29, 11 Oct 2021.

And I edited TOWN PORTAL in the following way.

-------- -------------------------------------------------------------------------
1D528~37 ; TOWN PORTAL MOVEMENT COST REDUCTION FOR ADVANCED/EXPERT SKILL
-------- -------------------------------------------------------------------------
89 45 CC mov [ebp-34],eax ; Expert = EAX (set at 01D51F)
01 C0 add eax,eax ; +EAX
89 45 C8 mov [ebp-38],eax ; Advanced = (2x Expert value)
01 C0 add eax,eax ; +EAX
89 45 C4 mov [ebp-3C],eax ; Basic = (3x Expert value)
89 45 C0 mov [ebp-40],eax ; Unskilled = (3x Expert value)


However, in Basic or Unskilled, MOVEMENT has quadrupled, not triple the Expert value. How should I fix this?

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


Adventuring Hero
posted October 11, 2021 09:44 AM
Edited by deathstare at 09:54, 11 Oct 2021.

And there is an editing that I wanted to do very much from a long time ago. It is to eliminate the operating conditions of RESURRECTION. Regardless of the HP of the target unit, I want to make sure it always works. The reason why I want to edit this is because of SACRIFICE. As you can see from the play, the operating conditions of SACRIFICE follow the operating conditions of RESURRECTION. In other words, SACRIFICE also does not work for units that does not work RESURRECTION due to their large HP. I really want to know how to edit this. Please understand my poor English skills.

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


Known Hero
posted October 11, 2021 09:20 PM
Edited by VIP at 21:21, 11 Oct 2021.

It's possible deleate artifact in hex? I found delete only "parts" when "open for parts - disapiring" for AA.

It's possible add new artifact/object in *.dll? I see only add object added in *.txt, but I know - It's same function game, but It's possible new "creature bank?

///

You want more information for my skill when I created HC project? I found a very lot of time in hex ~2 years? Generally interface - camp etc. Check my project.

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


Famous Hero
Moist & Creamy
posted October 12, 2021 04:40 AM

deathstare said:
And I edited TOWN PORTAL in the following way.

-------- -------------------------------------------------------------------------
1D528~37 ; TOWN PORTAL MOVEMENT COST REDUCTION FOR ADVANCED/EXPERT SKILL
-------- -------------------------------------------------------------------------
89 45 CC mov [ebp-34],eax ; Expert = EAX (set at 01D51F)
01 C0 add eax,eax ; +EAX
89 45 C8 mov [ebp-38],eax ; Advanced = (2x Expert value)
01 C0 add eax,eax ; +EAX
89 45 C4 mov [ebp-3C],eax ; Basic = (3x Expert value)
89 45 C0 mov [ebp-40],eax ; Unskilled = (3x Expert value)


However, in Basic or Unskilled, MOVEMENT has quadrupled, not triple the Expert value. How should I fix this?


Either the code was copy/pasted incorrectly (I'm not sure HOW...), or HOTA is snowing with it somehow.

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


Adventuring Hero
posted October 12, 2021 01:20 PM

BTB said:
deathstare said:
Hello. if a hero learns eagle eye, can he learn magic immediately when the enemy uses magic during battle?


Off-hand, the only real question that needs answering here is whether or not the spell list gets updated on the fly during combat, which is something I could probably figure out next time I'm poking around at the code.

In other news, I've tackled two more big coding projects I've been wanting to do for awhile now. The first is to make Black Markets, Trading Posts, and Freelancers' Guilds on the adventure map offer rates equal to your current number of markets plus one rather than a static four (this goes hand-in-hand with the ability to edit market rates). The other is requiring the player to find every Obelisk before digging for the grail is allowed (this replaces the rule that you can't dig unless your movement points are maxed out).



Come to think of it, even if edit it like that, I still don't want to learn the eagle eye. A better idea is not only to learn the magic the enemy used after the battle, but also to learn all the magic in the enemy's magic book.

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


Famous Hero
Moist & Creamy
posted October 12, 2021 03:22 PM

Or, here's a thought, put Eagle Eye in the garbage where it belongs.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 41 pages long: 1 10 ... 17 18 19 20 21 ... 30 40 41 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1372 seconds