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 ... 39 40 41 42 43 ... 50 60 70 80 90 100 110 111 · «PREV / NEXT»
StrikerX
StrikerX


Known Hero
The Bringer of Rain
posted March 29, 2018 04:28 PM
Edited by StrikerX at 16:55, 29 Mar 2018.

RoseKavalier said:

Instead here is the # for radius of Cover of Darkness:
0x4C78D5
Current radius 14h = 20



This one got it working for me  Thank you!
_____________________________

P.S. Couldn't figure out how to do a 'Go to Offset' in hex editor neo but leaving the 4 off of it and typing 0xc78d5 brought me there.  Thanks for help all.

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


Famous Hero
The efreet
posted March 29, 2018 05:01 PM

Copied from another thread:

Does anyone know to translate text "Tournament rules" after entering "More options..."?
How about "show object message" in game options?
Will there be possibility to translate now built-in HWrules options (coinflip, random towns etc.)?
This is probably more related to HDmod than HotA, but still, Im looking for help everywhere.

Thanks in advance!
____________

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


Known Hero
The Bringer of Rain
posted March 31, 2018 03:35 AM

Is it possible to add more abilities to skills by hex editing?  or is it limited to changing the way the 1 existing ability works?

Like if I wanted to add Ballista and Healing tent ability to Artillery skill (kind like WoG / H5)

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


Admirable
Supreme Hero
posted March 31, 2018 04:35 AM
Edited by RoseKavalier at 04:36, 31 Mar 2018.

Probably, usually code is in format:
if (hero has skill X) then {do stuff}

However First Aid and Ballistics would become just about useless in your example, with hex editing that is.

Keep in mind:
RoseKavalier said:
In general, it (usually, unless I already have them jotted down) takes time to search for these ... I will try to provide addresses/code when question is precise and definitive - otherwise only general comment.


@hellburn
HW rulez plugin does not have easily editable text. If you want to take a look go to Heroes3/_HD3_Data/HD_HW.dll
Use hex editor of your choice and look for the text you want to change.

For example you have "coin flip: " at 25FACh. You have 12 chars available only in this place to make changes and it must start at 25FACh and must have '00' before the next string starts.




Quick look showed there was more than one occurrence of Coin flip (not typed the same way) so you have some research to do.
Or you could ask bara/Wizardx/HotA to have text be read from ini file instead.

Of course it's possible to do bigger changes but it requires a lot more work and some extra stuff.
____________
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
StrikerX
StrikerX


Known Hero
The Bringer of Rain
posted March 31, 2018 05:33 AM

RoseKavalier said:

However First Aid and Ballistics would become just about useless in your example, with hex editing that is.

Keep in mind:
RoseKavalier said:
In general, it (usually, unless I already have them jotted down) takes time to search for these ... I will try to provide addresses/code when question is precise and definitive - otherwise only general comment.


Well for my hota templates against AI i have ballistics / first aid abilities disabled cause I never pick them.  I'm not sure if it's a good idea but I kind of liked them being included into 1 skill like WoG or Heroes 5 does it.  

The only problem I see is that the 2 specialty hero's for First aid tent would still use First Aid and then the new Artillery skill with all 3 included if the AI picked it but that's probably not much of an issue.

It's not really important that I use those 2 skills though so only if it's no problem / hard for you to find it.

Thanks

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


Legendary Hero
Heroes is love, Heroes is life
posted March 31, 2018 09:12 AM

@RoseKavalier
Did you see my last post on page 40?
I respect if you don't wanna look in to it or it can't be done without plug-ins, I just wanted to hear if you read the last post?

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


Famous Hero
The efreet
posted March 31, 2018 10:52 AM

RoseKavalier said:

HW rulez plugin does not have easily editable text. If you want to take a look go to Heroes3/_HD3_Data/HD_HW.dll
Use hex editor of your choice and look for the text you want to change.
[...]
Quick look showed there was more than one occurrence of Coin flip (not typed the same way) so you have some research to do.
Or you could ask bara/Wizardx/HotA to have text be read from ini file instead.

I knew about this, but I hoped that they have changed it in last update.
I'm not good with hex editing (done some years before, but now I'm as rusty as total newbie), besides, wouldn't this be recognized by HotA as modification of the game (like, cheat attempt)? Version conflicts and all that stuff. I know they added a system which recognizes changes in templates.
____________

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


Admirable
Supreme Hero
posted March 31, 2018 09:37 PM

phoenix4ever said:
@RoseKavalier
Did you see my last post on page 40?

Yes I read it, and I already kinda answered re: creature flags. Basically, if something does not already exist in the code (in this case, creature immune to attacking spells of one school but at same time it can receive beneficial spells), then no - hex editing will not solve it, unless maybe if your name is Puppet_Master.

hellburn said:
I'm not good with hex editing (done some years before, but now I'm as rusty as total newbie), besides, wouldn't this be recognized by HotA as modification of the game (like, cheat attempt)?

I'm not HotA crew so I can't say what they consider legit.

Hex editing text is really not that difficult, you hit Ctrl+F, enter text to find then edit it - save, exit.

@StrikerX
I suppose you should have your First Aid specialists turned to Artillery specialists. In that case you could edit something like this:

FirstAid specialist uses Artillery as specialty:
E4BC4h =  0x14 (0x1B)

First Aid Tent control comes from Artillery:
745FFh = 0xDD (0xE4)
73914h = 0xDD (0xE4)

First Aid Uses Artillery for calculation:
E4B98h = 0xDD (0xE4)

Catapult control comes from Artillery:
745C7h = 0xDD (0xD3)

Catapult uses Artillery for calculation:
735E7h = 0xDD (0xD3)
45AC6h = 0xDD (0xD3)

Could have missed some, I just ran a quick memory break test.
____________
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


Legendary Hero
Heroes is love, Heroes is life
posted March 31, 2018 10:50 PM

@RoseKavalier.
Thanks for the answer.
A shame it can't be done without plug-ins, but I understand.
Maybe I should just change some Heroes specials, instead of having them be so useless.
Heroes like Melodia, Inteus and Serena really bothers me, it's almost like developers did'nt think when they made those heroes or they just wanted to create really awful heroes.
On the other hand heroes specialising in Animate Dead and Resurrection almost feels like cheating.

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


Known Hero
The Bringer of Rain
posted April 01, 2018 12:04 AM

@RoseKavalier

Quick work  I tested it and it all seems to work.  I noticed the description for First Aid specialty says 'Receives 5% per level bonus to first aid 'tent' healing effiency.' and doesn't specifically mention using first aid secondary skill so I changed it back and I think it's still working as normal.

The hex edit for that specialty would of given first aid specialist more dmg on ballista correct like artillery specialist?

Thanks once again.  It will definately make Artillery ability equal to some of the other good skills like Earth, Air, Offensive, etc..  I guess I should raise the AI value for it now.

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


Known Hero
The Bringer of Rain
posted April 01, 2018 12:07 AM
Edited by StrikerX at 00:27, 01 Apr 2018.

phoenix4ever said:

On the other hand heroes specialising in Animate Dead and Resurrection almost feels like cheating.


Yeah even though I re enabled resurrection and animate dead after making the spell cost more mana I still have those heroes disabled that have those specialties.

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


Legendary Hero
Heroes is love, Heroes is life
posted April 01, 2018 12:29 AM

StrikerX said:
I still have those heroes disabled that have those specialties.

Yeah that is one way to deal with it.
I considered removing their starting spell or give them something like Magic Arrow, so they would at least need to learn it, like any other hero.

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


Known Hero
The Bringer of Rain
posted April 01, 2018 12:41 AM

phoenix4ever said:
StrikerX said:
I still have those heroes disabled that have those specialties.

Yeah that is one way to deal with it.
I considered removing their starting spell or give them something like Magic Arrow, so they would at least need to learn it, like any other hero.


I was giving them prayer as a starting spell each time in the map editor before I found Hota templates.  At some point I'll get around to changing the specialties on heroes I have banned.  

Would you know where to set AI value for secondary skills and where I can check if Artillery skill is allowed by all classes?

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


Legendary Hero
Heroes is love, Heroes is life
posted April 01, 2018 12:55 AM

As far as I know there is no AI Value for Secondary Skills, but each class have different chances to learn certain skills.
Every class can learn Artillery, but you can check it in sstraits.txt from HotA.Ing.lod.

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


Known Hero
The Bringer of Rain
posted April 01, 2018 01:07 AM

phoenix4ever said:
As far as I know there is no AI Value for Secondary Skills, but each class have different chances to learn certain skills.
Every class can learn Artillery, but you can check it in sstraits.txt from HotA.Ing.lod.


Ok thanks.  I checked that txt file but it's only descriptions of the skills.  No mention of who can learn them.  Hopefully all faction can learn artillery.  I would assume they can or atleast have the same chance as they did for ballistics.

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


Legendary Hero
Heroes is love, Heroes is life
posted April 01, 2018 08:56 AM

Oh sorry wrong file.
It's called hctraits.txt.

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


Known Hero
The Bringer of Rain
posted April 01, 2018 03:57 PM

phoenix4ever said:
Oh sorry wrong file.
It's called hctraits.txt.


Got it.  They did have quite high chances to gain ballistics on most factions.  Now they have artillery at equal chance or same depending on which was higher.

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


Hired Hero
posted April 02, 2018 12:26 AM
Edited by Karyoplasma at 08:47, 02 Apr 2018.

Hey guys,

I wrote a little tool to mod the secondary skills of the HOMM3 heroes. Very basic UI, but should be easy to use. In order to make any changes to the executable, you need to unlock the "Write" button and then press it as a safety.

MAKE A BACKUP OF YOUR EXECUTABLE IN CASE SOMETHING GOES WRONG.

If you find bugs, either send a pull request on github or report here. Requires Java.

https://github.com/Karyoplasma/HOMM3SecondarySkillsModder/releases/

EDIT: Just added a way of saving your balance changes to a txt file, so you can easily reapply them after a HotA update (assuming the offsets do not change - backup is strongly recommended).
____________

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


Adventuring Hero
posted April 04, 2018 04:19 PM

Hello,

does anyone have the values for the Equestrian's Gloves and the Boots of Speed? I want to half their bonuses.

Cheers!

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


Known Hero
The Bringer of Rain
posted April 04, 2018 05:03 PM
Edited by StrikerX at 17:13, 04 Apr 2018.

Karyoplasma said:
Hey guys,

I wrote a little tool to mod the secondary skills of the HOMM3 heroes. Very basic UI, but should be easy to use. In order to make any changes to the executable, you need to unlock the "Write" button and then press it as a safety.

MAKE A BACKUP OF YOUR EXECUTABLE IN CASE SOMETHING GOES WRONG.

If you find bugs, either send a pull request on github or report here. Requires Java.

https://github.com/Karyoplasma/HOMM3SecondarySkillsModder/releases/

EDIT: Just added a way of saving your balance changes to a txt file, so you can easily reapply them after a HotA update (assuming the offsets do not change - backup is strongly recommended).


Great job.  Especially being able to reapply changes after an update.

Thanks

Edit:   Could you also make it recognize H3 Hota HD.exe.  I do all my changes to the HD.exe after I've created it with the HD launcher and keep the Hota.exe clean.

 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 ... 39 40 41 42 43 ... 50 60 70 80 90 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1184 seconds