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 ... 68 69 70 71 72 ... 80 90 100 110 111 · «PREV / NEXT»
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 13, 2020 12:05 PM

peter1985 said:
In 0004a663, change the number from 03 to 04 and then the Golden Dragon will be like the Black Dragon, immune to level 1-5 spells.

Thanks Peter, this works. (RoseKavaliers did'nt)

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


Famous Hero
Moist & Creamy
posted March 13, 2020 05:48 PM

For anyone following this thread for information... I've posted another thread here containing a hacking reference guide that I've put together largely from information found here. I hope someone finds it helpful.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 23, 2020 09:57 AM

Does anyone know how to make Green/Gold and Red/Black Dragons immune to Fire Magic instead of level 1-X spells?
I would be extremely grateful, if anyone knows the answer.

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


Famous Hero
Moist & Creamy
posted March 23, 2020 04:18 PM

phoenix4ever said:
Does anyone know how to make Green/Gold and Red/Black Dragons immune to Fire Magic instead of level 1-X spells?
I would be extremely grateful, if anyone knows the answer.


Yeah, look at the hacking reference guide I posted. It has the relevant addresses and settings.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 23, 2020 07:08 PM

Thanks BTB.
I'll have a look at it on my computer tomorrow. But from what I can see you have only posted where creature abilities are located, but not how to change them? (Maybe it makes more sense, when I look at the guide from my computer, since I'm on my phone now...)

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


Famous Hero
Moist & Creamy
posted March 23, 2020 07:12 PM

phoenix4ever said:
Thanks BTB.
I'll have a look at it on my computer tomorrow. But from what I can see you have only posted where creature abilities are located, but not how to change them? (Maybe it makes more sense, when I look at the guide from my computer, since I'm on my phone now...)


It lists the addresses for each creature as well as an explanation of what each byte does. You need to convert the hex to binary, make your changes, and then convert back to hex.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 23, 2020 07:17 PM

Okay hope I can figure it out tomorrow.

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


Famous Hero
Moist & Creamy
posted March 23, 2020 07:18 PM

phoenix4ever said:
Okay hope I can figure it out tomorrow.


Just tell me if you need help. I'll be glad to explain it further.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 23, 2020 07:25 PM

Well if you feel like being extra helpful, you can post exactly how to make Green, Gold, Red and Black dragons immune to Fire Magic, otherwise I'll just try my luck tomorrow.

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


Famous Hero
Moist & Creamy
posted March 23, 2020 08:15 PM

For each dragon, we need the regular data (where fire immunity is stored) and resistance data (where spell immunity is stored)

Green Dragon 270F80, 04A662
Gold Dragon 270FF4, 04A663
Red Dragon 2728E0, 04A69A
Black Dragon 272954, 04A69B

Fire immunity is stored in byte 18 of the standard data. This byte isn't otherwise used for dragons, so it's 00. We need to add bit 2, or 100000. This translates to 40 in hex. So, for a Green Dragon, change 270F91 (270F80 + 17) from 00 to 40.

Spell immunity is stored in the single byte of resistances. "None" is 08, and that's what you want. Change everything in the second column to 08.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 24, 2020 11:04 AM

It seems to work mate, that's awesome!
One question though: 18 bytes from 272954 is 272965, I had 04 in this byte, was'nt it supposed to be 00?

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


Famous Hero
Moist & Creamy
posted March 24, 2020 03:44 PM
Edited by BTB at 15:45, 24 Mar 2020.

phoenix4ever said:
It seems to work mate, that's awesome!
One question though: 18 bytes from 272954 is 272965, I had 04 in this byte, was'nt it supposed to be 00?


Ah, yes, that was my mistake. 04 is bit 6, which is mind magic immunity (since black dragons are immune to ALL magic, this seems kind of unnecessary).  So 40 is just fire magic immunity, while 44 will be fire and mind.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 24, 2020 04:22 PM

So Black Dragons was immune to level 1-5 spells AND mind spells?, well that's a bit redundant, unless the mind immunity affects some creature abilities?

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


Famous Hero
Moist & Creamy
posted March 24, 2020 05:21 PM

One way to find out...

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


Legendary Hero
Heroes is love, Heroes is life
posted March 24, 2020 06:11 PM

Yeah or maybe I should just make them Fire and Mind immune, just in case...

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

Tavern Dweller
posted March 25, 2020 03:56 PM

peter1985 said:
Dear Phoenix4ever!

The DATA folder contains the "HotA.lod" file. Open the "HotA.lod" file with mmarchive! Save the "un44" and "un32" DEF files.

Use DefPreview to extract the "un44" and "un32" DEF files. The icons will be in the "bmp" image format and can be changed.

You can use the "H3DefTool" program to repackage icons in DEF format. The modified "un44" and "un32" must be put back into the "HotA.lod" file using the "mmarchive" program.


This doesn't work for me. Mmarchive can't preview the un44 and un32 def files from hota.lod. Additionally when trying to extract with defpreview it gives me an error massage (access violation at address 0046C889 in module 'defpreview'. Read of address 4D2C0038).

The def files from H3sprites.lod are working, though. But changing them has no effect obviously...

Anyone with a solution?

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


Legendary Hero
Heroes is love, Heroes is life
posted March 25, 2020 06:04 PM

Yeah I could never get that to work in HotA either.

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

Tavern Dweller
posted March 27, 2020 07:51 PM

phoenix4ever said:
Yeah I could never get that to work in HotA either.


Okay, someone else on another thread mentioned that the reason for that problem is hota uses .png files in the un44 archives since version 1.6. and mmarchive/defviewer can't work with it. We have to wait for an update of these tools.

I found a temporary solution, though.

I re-installed another homm3 and installed an older version of hota, prior 1.6. After that I extracted the un44.def file from the hota.lod file which only contains .bmp pictures and therefore work with defviewer. Then I took that un44.def file and put it into the hota.lod file from hota 1.6.1.

Woosh editing the pictures of hero specialties is possible again.

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


Legendary Hero
Heroes is love, Heroes is life
posted March 27, 2020 07:56 PM

Okay nice that you found a way, but a little troublesome though.
I wish there was an easier way to change specialties and specialty icons in HotA.

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


Promising
Supreme Hero
posted March 28, 2020 08:43 AM

SergejBewbtits said:
phoenix4ever said:
Yeah I could never get that to work in HotA either.

I re-installed another homm3 and installed an older version of hota, prior 1.6. After that I extracted the un44.def file from the hota.lod file which only contains .bmp pictures and therefore work with defviewer. Then I took that un44.def file and put it into the hota.lod file from hota 1.6.1.


But I guess your game will crash anytime Giselle will be hired and displayed, because game won't find her specialty icons in un44.def
____________

 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 ... 68 69 70 71 72 ... 80 90 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0551 seconds