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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 thread is 54 pages long: 1 2 3 4 5 ... 10 20 30 40 ... 50 51 52 53 54 · «PREV
sandruse
sandruse

Tavern Dweller
posted October 31, 2018 03:08 PM
Edited by sandruse at 15:11, 31 Oct 2018.

RoseKavalier said:

Hmm, this was only meant to be an example for someone; not something I'm willing to support.
Taking a *really quick* look, try modifying EDX @ 0x4171F4 following the same logic.



I've tried it. And your solution is absolutely useful!
Besides, do you know how to change the bonus percentage of the Necromancy Amplifier? I want it is 5% instead of 10%. This is last point I want to change. May I could only ask for your help. Thank you again RoseKavalier.

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


Known Hero
posted October 31, 2018 06:28 PM

I searched in thread ; I was sure we talked about it somewhere but couldn't find where. I tryed a bit with some other way but didn't find adress. Sorry !
____________
FfuzzyLogik.

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

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


Honorable
Famous Hero
posted October 31, 2018 09:24 PM

sandruse said:

Besides, do you know how to change the bonus percentage of the Necromancy Amplifier? I want it is 5% instead of 10%. This is last point I want to change. May I could only ask for your help. Thank you again RoseKavalier.


Amplifier 0x63B8D0 @ 0x4E4100

For necromancy power in general, take a disassembler and inspect function starting at 0x4E3F40.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Supreme Hero
Heroes is love, Heroes is life
posted October 31, 2018 09:50 PM
Edited by phoenix4ever at 22:06, 31 Oct 2018.

phoenix4ever said:
Is it possible to divide Galthrans skeleton bonus by 2?, or make him get bonus like a level 2 specialist?

Anyone? (I also tried giving him a static creature bonus of +4 attack, +4 defense and +1 speed, but for some reason he does'nt get the speed bonus)

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


Known Hero
posted October 31, 2018 10:58 PM

Because for static bonus, there is no speed bonus...
The three things you can add are : attack, defense and damage if I remember well.
____________
FfuzzyLogik.

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

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


Supreme Hero
Heroes is love, Heroes is life
posted October 31, 2018 11:32 PM

Xeron has a static bonus, but also get +1 speed...

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

Tavern Dweller
posted November 04, 2018 11:21 AM

List of creature offsets?

Hi everyone,long time no see...
Anyways,is there some kind of list of all creatures' offsets for editing?

(for example i want to edit a couple of creatures speed/health etc.
and one of the creatures are Bone Dragons and Ghost Dragons,as well as Skeletons and Skeleton Warriors and other creatures).

help much appreciated

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


Known Hero
posted November 04, 2018 11:41 AM

Hello,

To edit standard creature's basic statistics (not HotA ones), you "just" have to open the file H3bitmap.lod end search for CRTRAITS.txt. In this data (is a kind of "table") you got all creatures characteristics and can change them here. You can't change abilities from there !
I highly recommend to save a copy before changing things.

Then open this file with appropriate tool to change it at will.

For programs to do that ; see here :
https://grayface.github.io/mm/
Look for "MMarchive" and "Txt edit".

Have a good day,
____________
FfuzzyLogik.

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

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

Tavern Dweller
posted November 04, 2018 12:23 PM

Oh thank you,however i forgot to specify,it's on hota i am editing hota

is it the same procedure on the same file or?

Thanks in advance

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


Supreme Hero
Heroes is love, Heroes is life
posted November 04, 2018 12:33 PM

If it's for HotA you need to open the folder hota_ing.lod and edit the crtraits.txt file.

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

Tavern Dweller
posted November 04, 2018 01:07 PM

Alright,thank you very much for now!

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

Tavern Dweller
posted November 04, 2018 03:21 PM

Onwards to specialties

Alright,i have successfully edited creatures stats.

Now i would like to change a couple hero specialties.
For example,Sorsha's specialty into Pikemen/Halberdier (most likely) or Offense.

How do i do that exactly?
Step by step rather.

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


Promising
Supreme Hero
posted November 04, 2018 03:37 PM

First - read the first post.
____________

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

Tavern Dweller
posted November 04, 2018 03:47 PM
Edited by sandruse at 10:25, 08 Nov 2018.

RoseKavalier said:
sandruse said:

Besides, do you know how to change the bonus percentage of the Necromancy Amplifier? I want it is 5% instead of 10%. This is last point I want to change. May I could only ask for your help. Thank you again RoseKavalier.


Amplifier 0x63B8D0 @ 0x4E4100

For necromancy power in general, take a disassembler and inspect function starting at 0x4E3F40.


Thank you RoseKavalier!

RoseKavalier said:
Pastebin


The calculation change the flee ratio too. And with many works I still can't figure out how to only change the join ratio (with strength calculation modified)

igrik said:
Or you can just disabling "free diplomacy" (for free -> for gold only)
_PI->WriteDword((0x417236 + 1), 3);
_PI->WriteHexPatch(0x4A755D, "EB");


I chose another way to balance diplomacy.
The two statements above with two more below will let origin paid joiners flee.(for free -> for gold only & for gold only -> flee)
_PI->WriteHexPatch(0x4A75A5, "11");
_PI->WriteHexPatch(0x417246, "EB");

More radical modifications are these.
_PI->WriteDword((0x417236 + 1), 0);
_PI->WriteHexPatch(0x417246, "EB");
_PI->WriteHexPatch(0x4A755D, "EB");
_PI->WriteHexPatch(0x4A75A9, "EB");
All joiners will flee no matter the free or the paid.



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


Supreme Hero
Heroes is love, Heroes is life
posted November 04, 2018 03:54 PM
Edited by phoenix4ever at 15:55, 04 Nov 2018.

perofake1 said:

For example,Sorsha's specialty into Pikemen/Halberdier (most likely) or Offense.

Just a warning Pikemen/Halberdier special is the second best in the game, (Best is Galthrans) so she will get very powerful. Of course that also applies to Offense specialists.
I did however make a Gremlin, Centaur and Medusa specialist which I'm perfectly satisfied with.

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

Tavern Dweller
posted November 04, 2018 04:54 PM

phoenix4ever said:
perofake1 said:

For example,Sorsha's specialty into Pikemen/Halberdier (most likely) or Offense.

Just a warning Pikemen/Halberdier special is the second best in the game, (Best is Galthrans) so she will get very powerful. Of course that also applies to Offense specialists.


Yes i am aware of that,but i'm not gonna overbuff them,thanks for the warning regardless.

And i've also read the first post a couple of times already,i've even checked Sorsha's offset and....kind of found her.

However,her offset number...i can't really explain it.But basically on her adress there is only "01" that counts as that offset,idk if that explained it somehow by some miracle.Help much appreciated


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


Adventuring Hero
posted November 04, 2018 05:34 PM
Edited by Djangoo at 18:00, 04 Nov 2018.

I would strongly recommend to read beyond the first page of the thread. (better to read the whole thread, lot of answers are there, yet unsorted)

You have to invest some time to get started, I did the same thing when I started half a year ago.

I recommend to read all posts from Maurice starting at "October 03, 2016 09:20 PM" and bookmark the page.

You find answer to your question on page six

Maurice said:
Not me, as I have yet to explore the HotA expanded section.

As for the Hero specialties, as I don't know ERM , it's luckily not that hard to decipher:

Byte 1 - 4 determine the type of specialty:
0 = Skill bonus
1 = Creature bonus per level
2 = Resource bonus
3 = Spell bonus
4 = Static Creature bonus
5 = Creature Speed Bonus (exclusive to Sir Mullich)
6 = Creature Conversion bonus
7 = Static Dragon bonus (exclusive to Mutare in both her shapes)

As for the parameters of each:

Skill bonus
Bytes 5 - 8: Skill ID.

Creature bonus
Bytes 5 - 8: Creature ID.

Resource bonus
Bytes 5 - 8: Resources ID (0 = Wood, 1 = Mercury, 2 = Ore, 3 = Sulfur, 4 = Crystal, 5 = Gems, 6 = Gold), amount appears hard-coded, not listed as a parameter.

Spell bonus
Bytes 5 - 8: Spell ID.

Static Creature bonus
Bytes 5 - 8: Creature ID.
Bytes 9 - 12: Attack bonus.
Bytes 13 - 16: Defense bonus.
Bytes 17 - 20: Damage bonus.

Creature Speed Bonus
Bytes 5 - 8: The bonus value.

Creature Conversion bonus
Bytes 5 - 8: First Creature ID allowed for conversion.
Bytes 21 - 24: Second Creature ID allowed for conversion.
Bytes 25 - 28: Resulting Creature ID after conversion.
I wonder if the intermittent bytes allow for other Creature IDs as well ...

Static Dragon bonus
Bytes 9 - 12: Attack bonus.
Bytes 13 - 16: Defense bonus.


Also bookmark this page (creature, items, skill ID'S)

http://heroescommunity.com/viewthread.php3?TID=18817

so to answer shortly 01 =  creature speciality, 06 = swordsmen : change 06 to 00 (pikemen) or 01 --> 00 + 06 --> 23 (offense)

edit: looking at your picture I think you are at the wrong offset.

speciality of sorsha is found here 0x2784E8

this is a file I use to quickly find  the specialities of heroes
user Karyoplasma put it together, the list is not found in this thread afaik.

https://ufile.io/o6nzl

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

Tavern Dweller
posted November 04, 2018 06:49 PM

After 100 years i've finally succeeded with this

IT WORKED!



It took me some time,and just as i was ready to quit i figured it out.(Was really mad that i couldnt find the hex's and the fact that when i edited they didnt work(returned them to their original state,no worries!))

However,i've run into this "issue"...I've edited the text and the description of the specialty bonus(if that makes sense) however...the picture of the swordsman stays the same. Any fix? If there isnt,it's not a big deal.
Again,thanks for the help everyone,appreciate the relatively quick answers and enduring my stupidity. I'll be back with more questions etc. when i need to


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


Adventuring Hero
posted November 04, 2018 07:04 PM
Edited by Djangoo at 19:12, 04 Nov 2018.

cool!

Yes you can change the picture, but it is a real nightmare and you need like 3 additional programms to make it work. I think I spent a day to figure it out...



I'm not a modder and I only did it one time after I changed all specialities.

I did write some notes down, unfortunately I did not do a detailed step by step guide in case I want to it again.

Maybe this helps-

Quote:
----
Hi guys. I think I have located the icons for the heroes specialities, they are located in H3sprite.lod H3ab_spr.lod and HotA.lod the files are called UN32.def and UN44.def,
I don't know what the difference is between the two files, they both seem to contain all heroes and HotA.lod also contains all Cove heroes specialities.
I don't know how to edit those files however...    
---
44px def for hero screen, 32 - for kingdom overview
---
DefPreview for viewing and unpacking, H3DefTool for packing.
https://sites.google.com/site/sergroj/wog



my notes:
Quote:
Open Def Preview

Extract all files

export defmaker def list (old format)

open Defmaker

Replace Files

Save als Def List

Open Def List with H3Def Tool

Save as .def

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 54 pages long: 1 2 3 4 5 ... 10 20 30 40 ... 50 51 52 53 54 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0642 seconds