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 edit HotA?
Thread: How to edit HotA? This Popular Thread is 111 pages long: 1 10 20 30 40 50 60 70 80 90 ... 95 96 97 98 99 ... 100 110 111 · «PREV / NEXT»
silverG
silverG


Known Hero
posted July 26, 2021 08:11 AM

Hehehe, just did a cool thing by Josephine.

Instead of the usual Golem Speciality, I made her a Hero similar to Gelu/Dracon.

Now she can upgrade Stone and Iron Golems to Diamond Golems - like a real alchemist.

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

Tavern Dweller
The Beholder
posted July 27, 2021 04:36 PM

That's a good idea, silverG, although with the same drawback, as with Dracon and his Enchanters in Tower's army - you lose native terrain movement without penalty. And as golems are much slower, it can hurt your mobility even more in snowy areas.
BTW, why can't she upgrade Gold Golems, too? I think she should do it as well. Or make her upgrade Stone and Iron Golems to Gold ones only, IMHO.

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


Known Hero
posted July 28, 2021 10:01 PM

Well, I chose Diamon GOlems especially because they have 95% magic damage reduction.

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

Tavern Dweller
posted August 21, 2021 12:52 AM

Newbie here.
Trying to teach myself how to edit hota secondary skills, having success with some (learning, first aid, sorcery), having trouble with others (mysticism, scouting).


---


Here's what I'm pretty sure I understand:

The numbers for these secondary skills can be adjusted by using a hex editor to manipulate values in h3hota.exe, using this offset list to know what to change.  

offset: 0x0023e998(luck)
offset: 0x0023e9a8(leadership)
offset: 0x0023e9b8(necromancy)
offset: 0x0023e9c8(mysticism)
offset: 0x0023e9d8(scouting)
offset: 0x0023e9e8(archery)
offset: 0x0023e9f8(offense)
offset: 0x0023ea08(armorer)
offset: 0x0023ea18(estates)
offset: 0x0023ea28(eagle eye)
offset: 0x0023ea38(diplomacy)
offset: 0x0023ea48(resistance)
offset: 0x0023ea58(learning)
offset: 0x0023ea68(logistics)
offset: 0x0023ea78(sorcery)
offset: 0x0023ea88(intelligence)
offset: 0x0023ea98(first aid)

Starting at each offset, there will be 16 value slots, grouping by 4 governs no skill, basic skill, advanced skill, and expert skill. So if I look at learning (0x0023ea58), I see this.
00 00 00 00
CD CC 4C 3D
CD CC CC 3D
9A 99 19 3E

Each grouping of 4 slots 8 characters translates to a decimal which translates to the in game percentage. By gleaning what values are currently and comparing them to in game effects, and using a floating point converter read backwards the following table should be correct.
https://www.h-schmidt.net/FloatConverter/IEEE754.html

Percentages:
05.00% CD CC 4C 3D
07.00% 29 5C 8F 3D
10.00% CD CC CC 3D
14.00% 29 5C 0F 3E
15.00% 9A 99 19 3E
18.00% EC 51 38 3E
20.00% CD CC 4C 3E
25.00% 00 00 80 3E
30.00% 9A 99 99 3E
35.00% 33 33 B3 3E
40.00% CD CC CC 3E
45.00% 66 66 E6 3E
50.00% 00 00 00 3F
55.00% CD CC 0C 3F
60.00% 9A 99 19 3F

So if I want to change learning
from 00% / 05% / 10% / 15%
to   00% / 15% / 25% / 35%

The new value groupings look like this:
00 00 00 00
9A 99 19 3E
00 00 80 3E
33 33 B3 3E

I've tested this and it works. Sweet! Similar results with sorcery.

SORCERY offset start : 0x0023ea78
00% 00 00 00 00
05% CD CC 4C 3D
10% CD CC CC 3D
15% 9A 99 19 3E

00% 00 00 00 00
10% CD CC CC 3D
20% CD CC 4C 3E
30% 9A 99 99 3E


---


Here's what I'm kinda sure I understand:

First aid 0x0023ea98
Native Values:
00 00 00 00   025pts
00 00 80 3F   050pts
00 00 00 40   075pts
00 00 40 40   100pts

My values:
00 00 00 00   025pts
00 00 00 40   075pts
00 00 80 40   125pts
00 00 E0 40   200pts


Feeding some of these into the converter, it seems that the formula is (base_val) + (hex_mod)(base_val).

00 00 80 3F   1.0   25 + (1.0)(25) = 050
00 00 00 40   2.0   25 + (2.0)(25) = 075
00 00 40 40   3.0   25 + (3.0)(25) = 100
00 00 80 40   4.0   25 + (4.0)(25) = 125
00 00 E0 40   7.0   25 + (7.0)(25) = 200

I'm not certain this is accurate, but it works and produces the desired result, so calling it a win.


---


Now on to what I do not understand.

Let's take scouting.
Native values in heroes3.ex
?? 05 00 00 00
+1 06 00 00 00
+2 07 00 00 00
+3 08 00 00 00

Values in h3hota.exe. Same values, different effects?
?? 05 00 00 00
+1 06 00 00 00
+3 07 00 00 00
+5 08 00 00 00


Same goes for mysticism.
Native values in heroes3.exe
01 01 00 00 00
02 02 00 00 00
03 03 00 00 00
04 04 00 00 00

Values in h3hota.exe
01 01 00 00 00
05 02 00 00 00
10 03 00 00 00
15 04 00 00 00

I have tried various permutations of value inputs, and I cannot seem to have any effect on the in game values for these skills.

Can anyone help me understand what I am missing? Are these skills actually affected by these offset values?

Quoting Maurice from 2016, it seems like this should be simple, but I don't get it.

"The values for Estates and Mysticism are simply hard values. Inserting those should be easy enough. Refer to the table with skill memory offsets to see what you're looking for. For Mysticism, you should see the following string:
01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00

I guess it's obvious what those values mean . Just change them to
01 00 00 00 04 00 00 00 06 00 00 00 08 00 00 00"


Thanks for reading


____________

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


Famous Hero
Moist & Creamy
posted August 21, 2021 02:03 AM

SirWestmire said:

*Snip*



Might I suggest starting here: http://heroescommunity.com/viewthread.php3?TID=46202

 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:05 AM

@SirWestmire

You can't change skills, which HotA changed, since they applied it using some other method. It's really annoying TBH. That is also why you see the same values as the standard game, because HotA have'nt changed those, but their method overwrites ours unfortunately.
Well there is a way to change some of them anyway, was it Estates and Mysticism you wanted to change?

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


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

Baronus said:
Its not so sure. Its a lot of surprises in gamecode. Of course logically should work.. But logicaly changing horde code and building coordinantes should work... And not work... But its not a main question horde is only extra building. So we can increase unit growth and will be the same.


For the record, I've figured the problem out. 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
Bonyth
Bonyth

Tavern Dweller
posted August 29, 2021 11:48 PM

Hello, got a basic question:

how do you edit random unit's strenght (value) in hota editor? I just want it to be stronger, but still random and I'm not sure how to do that.
https://imgur.com/ehZNdOD


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


Supreme Hero
posted August 29, 2021 11:57 PM

If you're talking about the monster quantity, setting the value to something higher than normal is generally enough from a map design view, the random growth of stacks every week is more than enough to randomize the amount when the player finally gets to it.

And having it as a preset amount from the start if the player can get to it before it changes is actually good, since the player can prepare for it better if he has played the map previously or is reloading a save for the fight.

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

Tavern Dweller
posted September 01, 2021 06:19 AM

Hey guys! I noticed when editing luck (after changing the maximum amount of luck you can have) I get a modifier on my stacks that says "Spells -x". Why is that? Is there another address Im missing to change? Cause whenever I try out this for Leadership it works just fine.
____________

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


Famous Hero
Moist & Creamy
posted September 01, 2021 07:49 AM

Another hurdle with editing Leadership and/or Luck is that the right-click text will expect the original
values and will attribute any discrepancy between them and any new value you specify to "temporary until
next battle". Editing the expected values for Advanced and Expert Leadership/Luck is simple: just change
them at the addresses below. Where you'll run into trouble is with the basic values since both are INC
commands (FF 45 F0, literally "increment by 1") instead of ADD. INC has the advantage of being a shorter
and theremore space-efficient command, but replacing it means jumping to unusued space in the code.

  LEADERSHIP      LUCK
----------------- -----------------
BAS: 0DC9E9 (INC) BAS: 0DD1BA (INC)
ADV: 0DCA64 (02) ADV: 0DD235 (02)
EXP: 0DCADD (03) EXP: 0DD2AE (03)

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

Tavern Dweller
posted September 01, 2021 08:27 AM
Edited by Nixord at 22:34, 01 Sep 2021.

Nonon, Im not talking about what says in-game. When it says "Spells-x" it actually reduces the amount of luck. Ill show you in pics.

http://imgur.com/THW7vAJ

http://imgur.com/2bBQXKJ


There. I dont know where I can change that in the exe with the hex editor.
____________

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

Tavern Dweller
posted September 01, 2021 09:30 AM
Edited by Nixord at 10:42, 01 Sep 2021.

Also thanks in advance <3
____________

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


Famous Hero
Moist & Creamy
posted September 01, 2021 08:16 PM

I can't see either one of those images, but the answer is still the same. It will attempt to resolve the difference between what your actual bonuses is and what you have it set to, attributing the offset to "spells".

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

Tavern Dweller
posted September 01, 2021 10:41 PM

I get it. What Im trying to say is that for some reason, the maximum luck cap didnt change even after changing it myself in the corresponding address (03F65F). Is the address wrong or did I change something else trying to input 0x03F65F to look for the value to change? (also Idk why the images are not showing. They are showing for me =S)
____________

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


Known Hero
posted September 12, 2021 10:58 PM

Hey guys, can anyone give me advice on how to hex-edit something to be a tree to a windmill? Is this possible?

Trying to ensure AI on my map picks up creatures from his generators. They don't usually go to them unless there is a resource generator close by. To keep with the aesthetics I'm trying to just hide the resource generators as other objects.

Thanks guys

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


Known Hero
posted September 13, 2021 07:20 PM

@Nixlord
I think BTB answered you two times...
There is a difference between what's written and how things work.
The things you changed normally changed "how game work" so normally, if you hadn't made mistake, the value and max value...
But you haven't corrected things in program to make the game "indicate to player" the good values... If I understood well, in changing the max value, this also changed a reference value to indicate your max luck or actual luck...

@Titanfall
If its just graphics changes to get "a tree" to be "ressource generator", you need graphic editing, not hex editing...


____________
FfuzzyLogik.

If I'm crazy ? Sure, because its madness to be normal...

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

Tavern Dweller
posted September 21, 2021 07:14 AM

Sorry if you guys misunderstood me but... My problem is that the changes I made to the luck skill arent actually taking effect. Well, they technically are but when it says its reducing luck by -X through "Spell" it actually means it because when I went into battle I should be getting a lucky strike every time but its as if Im only getting the 3/24 usual luck chance. Why is that? Am I changing a wrong address or something? (By the way, Im trying to change everything with the help of BTB's Heroes of Might & Magic III Hacking Guide)
____________

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


Known Hero
posted November 07, 2021 11:01 AM

Hello,

is there a way to increse them maximum number of adventuring heroes in game, the current maximum is 8.

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


Known Hero
posted November 07, 2021 11:04 AM

Kerebron said:
That's a good idea, silverG, although with the same drawback, as with Dracon and his Enchanters in Tower's army - you lose native terrain movement without penalty. And as golems are much slower, it can hurt your mobility even more in snowy areas.
BTW, why can't she upgrade Gold Golems, too? I think she should do it as well. Or make her upgrade Stone and Iron Golems to Gold ones only, IMHO.


For Josephine to be able to upgrade Gold Golems to DIamond as well, it needs a bit more research, because as far as I know only Gelu and Darcon have (in the HEX) 4 Monsters assigned which they can upgrade.

Maybe it needs more coding/free space. I don't know.....

What do you think @BTB?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 111 pages long: 1 10 20 30 40 50 60 70 80 90 ... 95 96 97 98 99 ... 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0707 seconds