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 42 pages long: 1 10 ... 16 17 18 19 20 ... 30 40 42 · «PREV / NEXT»
BTB
BTB


Famous Hero
Moist & Creamy
posted August 19, 2021 02:48 PM

deathstare said:
Is there any way that Ballista can be used in siege battles without disappearing?


Is it not supposed to appear on either side? I'm pretty sure that attacker rolls in with theirs.

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


Legendary Hero
Heroes is love, Heroes is life
posted August 19, 2021 11:46 PM

BTB do you know if it is possible to exclude a certain spell from a tome?
For example if I allow both Fly and Dimension Door, can I make only Fly available through Tome of Air?

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


Adventuring Hero
posted August 20, 2021 11:31 AM

BTB said:
deathstare said:
Is there any way that Ballista can be used in siege battles without disappearing?


Is it not supposed to appear on either side? I'm pretty sure that attacker rolls in with theirs.


Ballista disappears when defending the castle, but I want to know how not disappear.

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


Famous Hero
Moist & Creamy
posted August 20, 2021 08:05 PM
Edited by BTB at 20:07, 20 Aug 2021.

Phoenix4ever said:
BTB do you know if it is possible to exclude a certain spell from a tome?
For example if I allow both Fly and Dimension Door, can I make only Fly available through Tome of Air?


Never looked into those since I just trashed the tomes outright. I can tell you that the code to temporarily add/remove spells from artifacts is a mess, though, and I had zero luck in finding any individual settings - just how to disable the effects wholesale.

deathstare said:
BTB said:
deathstare said:
Is there any way that Ballista can be used in siege battles without disappearing?


Is it not supposed to appear on either side? I'm pretty sure that attacker rolls in with theirs.


Ballista disappears when defending the castle, but I want to know how not disappear.


Not sure there. You're really better off just buffing the Arrow Tower damage if this is a concern since they are effectively the same thing.

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


Legendary Hero
Heroes is love, Heroes is life
posted August 20, 2021 11:48 PM

Okay, thanks.
I always thought it was stupid that Air Magic has both Fly and DD. I moved DD to Fire Magic at 1 cast per turn, for better balance. Though I would consider having DD in both Fire and Air, but then only Tome of Fire would contain DD and Tome of Air Fly. But that might be hard to implement...

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


Famous Hero
Moist & Creamy
posted August 21, 2021 12:10 AM

You want some graphics for DD as a Water spell like it is in the mainline series?

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

Tavern Dweller
posted August 21, 2021 05:02 AM

Moving my question to this thread, (thanks for pointing me here @BTB)

Unfortunately I am still stuck on trying to figure out how to edit mysticism and scouting skill numbers.

Per the guide:
Mysticism 23E9C8
Scouting 23E9D8

Everything I have tried so far editing these groups does not appear to have effect on the game. For clarity, my test is to load up a random game with Thant (mysticism), or Broghild (scouting) and test to see if I see a change.

Say I wanted to set
scouting to +2 / +4 / +6
mysticism to +10 / +20 / +30

How would I do this? Are these skills percentages?

I tried this for mysticism and still no dice.
01 00 00 00 00 00 20 41 00 00 A0 41 00 00 F0 41

I can understand getting the values wrong, but I don't understand why I don't see any change at all.
____________

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


Famous Hero
Moist & Creamy
posted August 21, 2021 05:36 AM

Quote:
The unofficial "Horn of the Abyss" patch is based on the structure of HD+ and so will also work... sort of. HotA externally patches a lot of things covered by this guide with a .dll file and so will undo many changes that you make to them.

--- THIS GUIDE MAKES ABSOLUTELY NO GUARANTEE ABOUT EDITING HOTA ---

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


Legendary Hero
Heroes is love, Heroes is life
posted August 21, 2021 08:15 AM
Edited by Phoenix4ever at 08:18, 21 Aug 2021.

BTB said:
You want some graphics for DD as a Water spell like it is in the mainline series?

No thanks, Water already has plenty of adventure spells, it was Fire that was lacking. I guess original developers wanted Fire Magic to suck (besides Berserk) and Earth and Air Magic to dominate everything. It does'nt seem like they cared much about balance in the magic schools.

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


Famous Hero
Moist & Creamy
posted August 21, 2021 07:01 PM

Made a small update to correct the ballista initiative code; I was intercepting it at the wrong point and it was breaking everything. It should work properly now.

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

Tavern Dweller
posted August 21, 2021 07:02 PM

BTB said:
Quote:
The unofficial "Horn of the Abyss" patch is based on the structure of HD+ and so will also work... sort of. HotA externally patches a lot of things covered by this guide with a .dll file and so will undo many changes that you make to them.

--- THIS GUIDE MAKES ABSOLUTELY NO GUARANTEE ABOUT EDITING HOTA ---



Well I don't like egg on my face but there it is.

What's really embarrassing though is that I can't get it to work on the base game either. I even tried completely uninstalling hota and starting with a clean hd+ install, editing Heroes3.exe.

Scouting 0023E9D8 Native string:
05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00

I've tried this to get (+2/+4/+6)
05 00 00 00 07 00 00 00 09 00 00 00 11 00 00 00

I've also tried these to see if I can see any change at all.
05 00 00 00 10 00 00 00 15 00 00 00 20 00 00 00
05 00 00 00 00 00 00 3F 00 00 80 3F 00 00 00 40

Nothing I put seems to do anything. Any insight or guidance would be appreciated.

Thanks
____________

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


Famous Hero
Moist & Creamy
posted August 21, 2021 07:13 PM

The static changes should work. If they're not, something from HotA is probably lingering around.

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

Tavern Dweller
posted August 21, 2021 11:23 PM

Sigh, I was editing the wrong file. I didn't realize that I needed to edit Heroes3.exe within the _HD3_Data folder, not the one in the base folder. Thanks for the help!


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


Famous Hero
Moist & Creamy
posted August 23, 2021 11:04 PM

All right, probably done editing this for awhile, or until I need to look into something else. Everything I know is in there at the moment and it's mostly clean up until the bottom, where it's still messy.

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


Famous Hero
Moist & Creamy
posted August 27, 2021 06:07 PM

Finally figured out how to change which tiers are affected by horde buildings (or even add new ones, in theory). Turns out the piece of the puzzle I was missing was a second table after the building dependencies table (starting at 23FCA0) that tells each faction which buildings get replaced by which horde buildings.

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


Adventuring Hero
posted August 28, 2021 08:50 PM
Edited by DarkAtom at 22:07, 28 Aug 2021.

Wow, this thing improved by a lot since I last visited it. Nice building with ID=17 after "Hall of Valhalla" btw

What I would add is a sort of preface which explains basic programming terminology, such as Little Endian, instead of having to repeatedly explain it in every section using terminology such as "the second DWORD byte is used as a "tens" column, so to speak". After all, you have assembly code in the guide, which I doubt will be understood by those who don't understand the basics.

You could write something like: "The Estates skill is encoded as a DWORD in little endian format". People who don't understand what little endian means can then use F3 and search for its definition in the preface.
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

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


Famous Hero
Moist & Creamy
posted August 28, 2021 11:01 PM

DarkAtom said:
Wow, this thing improved by a lot since I last visited it. Nice building with ID=17 after "Hall of Valhalla" btw

What I would add is a sort of preface which explains basic programming terminology, such as Little Endian, instead of having to repeatedly explain it in every section using terminology such as "the second DWORD byte is used as a "tens" column, so to speak". After all, you have assembly code in the guide, which I doubt will be understood by those who don't understand the basics.

You could write something like: "The Estates skill is encoded as a DWORD in little endian format". People who don't understand what little endian means can then use F3 and search for its definition in the preface.


I've thought about how much to actually say in the preface and my thought was that I'd scare people off if I talked about anything more than the bare basics needed to read the guide. If anything, I'd put a glossary at the end than any more explanation up front.

My idea is that if you start reading it from start to finish, you learn as you go rather than being infodumped (and likely turned off) from the get-go.

But that's just my thought, anyway. You could be right.

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


Adventuring Hero
posted August 29, 2021 12:02 AM
Edited by DarkAtom at 00:03, 29 Aug 2021.

You are probably right, making the beginning long and boring is not a good idea. Now that I think about it, I would place these definitions at the end (together with the IDs reference) and only mention in the beginning: "If you encounter any techy word that you don't understand, search it's explanation at the end of the document".

However, this may confuse the reader that the guide is very technical and hard to read, even though it's really not, so it might not be the best idea after all anyway.
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

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

Tavern Dweller
posted August 29, 2021 06:02 AM
Edited by Saruman5000 at 06:04, 29 Aug 2021.

"If a creature's combined attack is less than their target's defense, they deal 2.5% less damage, down to 70% (when defense is 12 greater than attack)."
"Defense can decrease the amount of sustained damage by up to 30% (12 points of defense)."

Is there any way to change attack reduction cap?
For example from 30% to 50%.

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


Famous Hero
Moist & Creamy
posted August 31, 2021 08:51 PM

Haven't looked into the damage formula specifically yet, but did do something close to it.

It's always bothered me that Bless rivals Bloodlust in terms of effectiveness, and it bothered me even more when I ran the numbers and found that Bless almost always comes out on top, even if Bloodlust is buffed (and not counting Bless's extra damage at higher levels).

In the mainline series, Bless is an accuracy boost, not a damage boost. Accuracy doesn't exist in the heroes series, so it instead eliminates the closest equivalent rather than merely reducing it, which is what I sought to do.

Now, instead of units always dealing maximum damage, Bless will reduce the range by 1/8, 1/4, or 1/2 depending on expertise. For specialists, I simply double the effect - meaning only a Bless specialist at expert level can achieve the old effect.

The thing I'm still on the fence about is the minimum threshold I've set of +1 to the minimum damage per attacking unit. This is a pretty crucial thing that keeps Bless useful against lower-level units whereas Bloodlust is generally more effective on higher-level ones. It's effectively the difference between the minimum base damage for 100 Pikemen being raised to either 112 or 200.

(For the guide, I'll be leaving it in as an option that can be NOP'ed as desired).

The change is also completely inline and also includes Curse in a shared code block.

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

Page compiled in 0.0948 seconds