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 2 3 4 5 ... 20 40 60 80 100 ... 107 108 109 110 111 · «PREV / NEXT»
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted January 15, 2024 02:04 AM

Cool. I think this is a great step forward for people to do H3 mods without so much knowledge. Hopefully you will keep updating it with more "polished" features in the future.
____________
Never changing = never improving

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


Hired Hero
posted January 15, 2024 12:47 PM

Hi. What's that Hero Editor about?

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


Hired Hero
posted January 15, 2024 09:45 PM

Juas said:
Hi. What's that Hero Editor about?


Lets you edit hero secondaries, specialties and starting army. You can export the changes you made and import them again after an update, so you don't have to do everything over again. If you want to mod your HotA, it only works with the 1.7 version (for now).

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


Hired Hero
posted January 15, 2024 10:11 PM

Karyoplasma said:
If you want to mod your HotA, it only works with the 1.7 version (for now).


That's amazing, man, I love it.

Allright, I'll wait untill we can edit 1.6.1

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


Legendary Hero
Heroes is love, Heroes is life
posted January 15, 2024 11:21 PM

You don't want 1.7.0?

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


Hired Hero
posted January 16, 2024 12:58 AM
Edited by Juas at 01:07, 16 Jan 2024.

After meditating it for a while, I decided I don't like Factory, the far west stuff takes me away from immersion.

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


Hired Hero
posted January 18, 2024 11:18 PM

Juas said:
After meditating it for a while, I decided I don't like Factory, the far west stuff takes me away from immersion.


Well, I decided to open my mind and played a map with Factory and I do like it, I feel the bountyhunters are a bit off, but the rest is nice.
Some stuff are great, like the Caouatl and the airships, for example.

But I am i bit worried about something, I read that in this version you can't hire strong heroes from the tavern anymore, I don't know more details if it is for every map, or multiplayer... I don't know.
I like that there is a chance of finding a trained hero in the taverns, that's the fun of them.

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


Hired Hero
posted January 18, 2024 11:23 PM

Karyoplasma said:

Repository: https://github.com/Karyoplasma/HotAHeroEditor
Release page: https://github.com/Karyoplasma/HotAHeroEditor/releases/tag/0.9


Hey Karyoplasma

Sorry for my lack of knowledge, what's the difference between the "repository" and the "release page"? do I need them both? how do I download from git hub?

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


Hired Hero
posted January 19, 2024 08:21 PM
Edited by Karyoplasma at 20:21, 19 Jan 2024.

Juas said:
Hey Karyoplasma

Sorry for my lack of knowledge, what's the difference between the "repository" and the "release page"? do I need them both? how do I download from git hub?


If you just want the program, head to the release page and download the "HotaHeroEditor.7z". That archive contains a compiled version (the .jar file) and all folders you need. Just extract everything to the same directory and double-click the .jar file.
You don't need the source code files unless you want to take a look at the code or compile it yourself. It's a snapshot of the repository at the time of the release (github automatically creates and attaches those to releases).

The repository I linked is basically just the source code in it's newest version. When I change or add something, it will be shown in the repository, but the release will not change until I make a new one.

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


Hired Hero
posted January 19, 2024 10:04 PM

Ok, I was wondering because I did that, and I'm trying to open the .exe with the program but it does nothing.

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

Tavern Dweller
posted January 20, 2024 05:20 PM

Gold Dragons +1 Luck

Hello, everyone.

I was wondering how you can make it so that the Gold Dragons give a +1 Luck bonus for your army. I think it's strange how Angels give a morale buff, but the Dragons don't for luck. Castle's theme is morale while luck is Rampart's, and they both have a building and a grail that gives their respective bonuses to morale and luck.

Even the Ghost Dragons and Archdevils lower the opposing army's morale and luck, and their factions are the natural enemies of Castle and Rampart. I can't be the only one that thinks that Gold Dragon's lacking a luck bonus is a little odd.

I can't imagine it would be too hard to implement that, considering the numerous amount of ways you can raise your luck in this game.

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


Hired Hero
posted January 21, 2024 01:13 AM
Edited by Karyoplasma at 17:09, 21 Jan 2024.

Juas said:
Ok, I was wondering because I did that, and I'm trying to open the .exe with the program but it does nothing.


Check if the resource folder is in the same folder as the .jar and check if it contains the originalHeroes file. Also, as said the program currently only works with the newest HotA release, if you open an old version, it will silently crash while trying to parse the HotA.dat.

You can trick it to load an old h3hota.exe by renaming the executable to Heroes3.exe, but that's only left in for the moment so I can test stuff xD. It's still a beta after all.

EDIT:
I just implemented support for older HotA versions. The program now dynamically updates the offsets for HotA.dat and checks which creatures are available for that version. It should no longer crash or do nothing when opening an old version.

I also completely revised the logic for checking if a loaded change is applicable to the executable. This might be bugged, but on first glance it works fine. If you want to test a bit, save change files from a newer version and try to import them into other versions. Simply loading changes does not change your files in any way, so it's safe to test.

Here is a link to the latest release page. It will always point to the latest version I uploaded:
https://github.com/Karyoplasma/HotAHeroEditor/releases/latest

@Juas please report back if this works for you!

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


Hired Hero
posted January 21, 2024 05:53 PM

Karyoplasma said:
Juas please report back


Hey,
yes, yes, I have the "Hota Hero Editor.jar" and the two folders: "mods" and "resources". And I tried with 1.7.0.

Now I am on the beach with another computer and I can't open the ".jar". I don't remember if I did something special to open the program, or if it was just double click on it, sorry

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


Hired Hero
posted January 21, 2024 07:15 PM

Juas said:
Karyoplasma said:
Juas please report back


Hey,
yes, yes, I have the "Hota Hero Editor.jar" and the two folders: "mods" and "resources". And I tried with 1.7.0.

Now I am on the beach with another computer and I can't open the ".jar". I don't remember if I did something special to open the program, or if it was just double click on it, sorry


Nah, you don't need to do anything special. If the .jar doesn't open with a doubleclick, the computer you are using doesn't have the Java runtime installed. Just enjoy your time at the beach and check back when you're at home.

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


Hired Hero
posted January 23, 2024 12:44 PM

Allright, I'm home now, and I tested it (with this version it did open the .exe), but it isn't saving the changes.
I opened the game and there were no changes, then I realized that if I open the .exe again (various times), the changes don't save.

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


Hired Hero
posted January 23, 2024 07:32 PM

Juas said:
Allright, I'm home now, and I tested it (with this version it did open the .exe), but it isn't saving the changes.
I opened the game and there were no changes, then I realized that if I open the .exe again (various times), the changes don't save.


Just pressing "Change" merely stages the change to be written. You have to press "Unlock" and then "Write" to actually write the changes to the files (as a safety measure).

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


Hired Hero
posted January 23, 2024 08:13 PM
Edited by Juas at 20:14, 23 Jan 2024.

It is begining to work

I managed to change the starting creatures of Orrin and it worked, and I tried with the specialty, but it keeps saying Archery.

Another thing. Now I can't go back to the original values :S

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


Hired Hero
posted January 23, 2024 10:10 PM
Edited by Karyoplasma at 22:17, 23 Jan 2024.

Juas said:
I managed to change the starting creatures of Orrin and it worked, and I tried with the specialty, but it keeps saying Archery.

Another thing. Now I can't go back to the original values :S


The specialty is, in fact, updated and works how you set it in the editor. You can test it by giving someone a static creature bonus for Peasants (give them like 1000 extra damage, let him start with peasants and then check the army info ingame. It will apply xD
It will not change the pic/description tho since that information is not part of the executable or hota.dat.

There is an automatic backup created every time changes are applied. It's in your HoMM directory in a subdirectory called "backupHeroModder". The one with the largest number is your last backup.
I should allow writing with an empty changes list and make it reset to original in that case, you're right about that.


Does anyone know what the maximum damage/attack/defense value in HoMM3 is? I currently allow setting it up until INTEGER_MAXVALUE, but I'm pretty sure that would crash the game if you did.

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


Hired Hero
posted January 24, 2024 12:25 AM

Alrright, sorry if it is too much questions, but how do I apply the backup?

In these days I'll test the specialties.

Thank you so much for this program

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


Hired Hero
posted January 24, 2024 06:11 AM
Edited by Karyoplasma at 18:40, 25 Jan 2024.

Juas said:
Alrright, sorry if it is too much questions, but how do I apply the backup?

In these days I'll test the specialties.

Thank you so much for this program

Go to your HoMM3 or HotA directory and you will find a folder called "backupHeroModder". This folder is automatically created when you write the changes to your files and the files are called "HotA.dat_%somenumber%" and "h3hota.exe_%somenumber%". The bigger the number, the later the backup was created (it's a timestamp). Remove the "_%somenumber%" part from both files and copy/cut and paste them back in the parent folder to replace the existing files.

Edit:
Based on the great feedback here, I released a new version.
Has some quality of life features like a shortcut menu for opening the game or mod directory. Additionally, the program now also works when modding a non-HotA install (this was planned from the beginning but a logic error made the program crash when modding vanilla, whoops).
You can now report issues in a more meaningful way by uploading the HotAHeroEditor.log file to your report. Makes it easier for me to figure out what went wrong.

Get it here: https://github.com/Karyoplasma/HotAHeroEditor/releases/latest

 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 2 3 4 5 ... 20 40 60 80 100 ... 107 108 109 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0834 seconds