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 105 pages long: 1 2 3 4 5 ... 20 40 60 80 ... 101 102 103 104 105 · «PREV
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted October 07, 2023 04:48 PM

2Ghost: I might be wrong, but I saw a scrollable secondary skills list somewhere. Maybe just my faulty memory.

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


Responsible
Supreme Hero
posted October 07, 2023 09:10 PM
Edited by AlexSpl at 21:22, 07 Oct 2023.

About returning Titan's Lightning Bolt. There are two problems - with bitset and array, that have easy solution in C++, but in hex you have to modify several chunks of code, that is always a dirty trick. There are the global array of disabled spells and a number of local bitsets for each town. Probably, can be solved using "or" or "and" instructions to enable this spell for towns and adventure map objects. As always, the problem has no trivial solution in hex. Actually, hex editing thing revolves around luck. Some things can be done pretty easily, while other easy things require a lot of coding

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


Legendary Hero
Heroes is love, Heroes is life
posted October 08, 2023 10:14 AM

Ah okay, I guess it's not feasible then.

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


Responsible
Supreme Hero
posted October 08, 2023 06:51 PM
Edited by AlexSpl at 18:53, 08 Oct 2023.

Quote:
Ah okay, I guess it's not feasible then.

I don't say it's hard. In this case it can be done with a patch, that is shorter than some patches from the BTB's hacking guide, which require free space. Just want you to understand the following things -

1) A plugin can work and will work even without the HD mod. Basically, if you want, you can write plugins for other games, as long as they stay x86.
2) A plugin automatically do both jumps (forth to your new code and back to the code of the game). In the middle there is your code, written in C++ (or even Delphi). And it automatically transforms to machine instructions.

I understand your concerns about the longevity of your patches. Believe me, even the author of the patcher is not able to stop plugins working, so in that sense, plugins and manual hex-patches are indistinguishable.

I modded H1 with the patcher, Ben80 modded H2 with the patcher, now people mod H4 with the same patcher. And this is a whole new level in modding.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 08, 2023 09:28 PM

Alex, I don't have the skills you or Ben80 or some other great modders have and I never will, but I accept my limits.
I still feel like a complete noob in regards to modding even though I have done it for some years now. But I would'nt have been able to do any modding without you guys, so it's all thanks to you.

However I had the chance to test the 10 skills change with a friend this weekend and everything worked perfectly, so I'm really happy about that.

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

Tavern Dweller
posted October 10, 2023 05:25 PM

Summoning creatures spell

Is there a way to summon other creatures using the spell Summon Elementals in HotA. I have tried changing it but always received an error message ingame. I'm only using an hex editor.

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


Responsible
Supreme Hero
posted October 10, 2023 08:15 PM
Edited by AlexSpl at 20:41, 10 Oct 2023.

Yes, unless you don't care about their numbers. The full implementation cannot be done easily in hex, obviously. Later I'll show how to change a type of summoned creatures.

* * *
1A2042, 1A9680, 1A96EB, 19F899 (write here new ID instead of the ID of Fire Elementals)
1A2057, 1A9686, 1A96FD, 19F8A0 (Earth Elementals)
1A206C, 1A968C, 1A970F, 19F8A7 (Water Elementals)
1A2081, 1A9692, 1A9721, 19F8AE (Air Elementals)

Hope, it's all that can be done in hex.

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

Tavern Dweller
posted October 15, 2023 09:15 PM

Thanks for your post AlexSpl. It works.

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


Legendary Hero
Heroes is love, Heroes is life
posted November 03, 2023 04:57 PM
Edited by phoenix4ever at 16:58, 03 Nov 2023.

Is there any way to make AI able to cast Fire Wall, Quicksand, Remove Obstacle, Force Field and Land Mine?

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


Responsible
Supreme Hero
posted November 04, 2023 08:45 PM

Yes, you have to write weighting functions for those spells.

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


Legendary Hero
Heroes is love, Heroes is life
posted November 04, 2023 08:52 PM

Oh, have I maybe asked you about this before, how do I add weighting functions?

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


Responsible
Supreme Hero
posted November 04, 2023 08:56 PM

There are special classes for AI. Not so simple task.

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


Legendary Hero
Heroes is love, Heroes is life
posted November 04, 2023 09:09 PM
Edited by Phoenix4ever at 07:50, 05 Nov 2023.

Special classes? Okay, of course I hoped it would be easy, but maybe not.
HotA somehow managed to make AI cast Berserk, but still it can't cast those 5 other spells.

How about Eagle Eye being able to learn to spells from enemy (and possibly friendly) creatures?

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

Tavern Dweller
posted November 19, 2023 05:54 PM

Change to town portal spell

OxFEA said:
Maurice said:
OxFEA said:
1D6D4: 02 - lvl, from which TP allows choosing town. Only human.


You mean to say the AI always teleports to nearest Town with this spell? Or how does the AI logic work in that case? I admit that I never studied the AI behaviour on this particular spell. Having downloaded your IDA disassembly, I'll check out the function that handles this, see if I can make any sense out of the C-code it generated .

No. If we set this byte to, e.g., 7F, player will always teleport to nearest town regardless of school, but AI will use old mechanic.


After implementing the town portal nerf wirtten in this thread the window to confirm the town you are teleporting to only shows up at basic level. Can i enable this pop up again for the other spell levels only using hex editing of the .exe file while still keeping the nerf. I'm playing the HotA mod.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 105 pages long: 1 2 3 4 5 ... 20 40 60 80 ... 101 102 103 104 105 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0976 seconds