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 70 80 90 ... 96 97 98 99 100 ... 110 111 · «PREV / NEXT»
FfuzzyLogik
FfuzzyLogik


Known Hero
posted November 07, 2021 04:12 PM

Hello,

Isn't all the thing written there ?
Hero structure includes his speciality.

Byte 1 : Skill - 06 for conversion speciality
Byte 5 : 1rst creature conversion type (stone golem and their upgraded version iron golem) 20
Bytes 9-13-17 : useless here
Byte 21 : Gold golem ID (so gold golem will be used too) 74
Byte 25 : Resulting ID (Diamond golem) 75

Normally for that, you only have to place the 74 at the right place in this hero structure... The bonus starts at 278970.

If I'm not mistaking that's it...
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
LoneHero
LoneHero

Tavern Dweller
posted November 10, 2021 12:35 PM

Greeting fellow Champions!

I would like to ask you a favour regarding modding HoTa.

I would like to substitute some existing spells (like Visions) with other spells that are already present in the game (for example with fireball). Could you inform me if it is possible to achieve this goal by the means of hexeditor only or there are other tools that I have to utilize? I am aware that I have to change also several txt files that are directly connected to these spells.

I would like to know also if it is possible to expand the number of artifacts by the means of some sort of plugin; I would like to add some basic artifacts that modify only basic statistics (attack, defense etc.), nothing really fancy or innovative (although adding new things is already itself very fancy and challenging).

Yours sincerely,
LoneHero
____________

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


Responsible
Supreme Hero
posted November 10, 2021 05:59 PM
Edited by AlexSpl at 18:48, 10 Nov 2021.

It starts from clumsy attempts to edit files you can, you are then already in awe with what you can achieve just doing that. The next stage is hex-editing, when you figured out that there are many things which seem to not obey your newfound txt-magic. You think you are holding the hex-key from all possible doors until you face one that you can't open. Then you look deeper, gradually grasping the magic of machine commands, hiding from you all this time and pretending to be not-so-interesting bytes, even dangerous bytes yet to be tamed. Then you discover that they have size - some bigger, some smaller - and start to seek a way to expand what they do by adding jumps to so-called free spaces and back. And only then, eventually, you understand that there are people around who have been through all this hoodoo, and invented, not without the help of their C++/Delphi hoodoo drums, of course, magic methods to handle legacy code effectively, called hooks. Now, all the power of high-level programming lays at your very disposal. May the mighty double plus be your guiding light

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


Famous Hero
posted November 10, 2021 06:41 PM


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


Famous Hero
Moist & Creamy
posted November 11, 2021 04:54 AM

AlexSpl said:
It starts from clumsy attempts to edit files you can, you are then already in awe with what you can achieve just doing that. The next stage is hex-editing, when you figured out that there are many things which seem to not obey your newfound txt-magic. You think you are holding the hex-key from all possible doors until you face one that you can't open. Then you look deeper, gradually grasping the magic of machine commands, hiding from you all this time and pretending to be not-so-interesting bytes, even dangerous bytes yet to be tamed. Then you discover that they have size - some bigger, some smaller - and start to seek a way to expand what they do by adding jumps to so-called free spaces and back. And only then, eventually, you understand that there are people around who have been through all this hoodoo, and invented, not without the help of their C++/Delphi hoodoo drums, of course, magic methods to handle legacy code effectively, called hooks. Now, all the power of high-level programming lays at your very disposal. May the mighty double plus be your guiding light


That might be the most elegant thing you've ever said, Alex.

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


Responsible
Supreme Hero
posted November 11, 2021 01:54 PM

I've just described my own path as poetically as my English allows

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


Legendary Hero
Heroes is love, Heroes is life
posted November 13, 2021 01:59 PM

Has anyone figured out where to edit spell probabilities of Cove?

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

Tavern Dweller
posted November 17, 2021 03:04 PM
Edited by Kertra at 15:05, 17 Nov 2021.

Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works

-----

Since I have already written the post, I have a question.
Does anyone know what to do to make the moat in RoE and AB do damage?
____________

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


Promising
Supreme Hero
posted November 17, 2021 06:31 PM

I think it won't be easy without graphics and their coordinates.

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


Famous Hero
Moist & Creamy
posted November 17, 2021 08:33 PM

Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works


This seems to simply be switching the targeting from "any square" to a stack. I haven't tested it myself, but I'd want to make sure that doesn't impose any new restrictions on a human caster.

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

Tavern Dweller
posted November 18, 2021 07:51 AM

AlexSpl said:
And only then, eventually, you understand that there are people around who have been through all this hoodoo, and invented, not without the help of their C++/Delphi hoodoo drums, of course, magic methods to handle legacy code effectively, called hooks. Now, all the power of high-level programming lays at your very disposal. May the mighty double plus be your guiding light


Personally, I like FASM more, everything works there simply and quickly. Only professional programmers can work in C ++ / Delphi, since brains are already needed there.

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

Tavern Dweller
posted November 18, 2021 10:20 AM
Edited by Kertra at 10:29, 18 Nov 2021.

BTB said:
Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works


This seems to simply be switching the targeting from "any square" to a stack. I haven't tested it myself, but I'd want to make sure that doesn't impose any new restrictions on a human caster.


I don't know, you can test it. However, that was the only way I managed to get the computer to use Berserk.

Still, it seems to be fine. The computer throws Berserk. Berserker activates and works as it should. Works just like in HoTa.

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


Legendary Hero
Heroes is love, Heroes is life
posted November 18, 2021 12:25 PM

Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works

Can you do the same thing with Quicksand, Force Field, Fire Wall, Land Mine and Remove Obstacle?

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


Famous Hero
Moist & Creamy
posted November 18, 2021 03:25 PM

Phoenix4ever said:
Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works

Can you do the same thing with Quicksand, Force Field, Fire Wall, Land Mine and Remove Obstacle?


Given that what's happening here is that the targeting is being changed from ANY tile on the battlefield to a unit stack, I sincerely doubt it.

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


Legendary Hero
Heroes is love, Heroes is life
posted November 18, 2021 05:39 PM

You are probably right, I just wish there was a way to make AI use those spells, if it can use them half-way intelligently of course.

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


Responsible
Legendary Hero
Modding the Unmoddable
posted November 18, 2021 07:45 PM

I think most yopu can get by simple hex edit is to make them use it randomly.

At least that isn't so bad for Land Mine...
____________
Never changing = never improving

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


Famous Hero
posted November 19, 2021 08:53 AM
Edited by Ben80 at 08:54, 19 Nov 2021.

Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works




Thank you for this information !

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


Responsible
Supreme Hero
posted November 19, 2021 05:40 PM
Edited by AlexSpl at 18:00, 19 Nov 2021.

Quote:
I don't know how it works, but it works

It happens here:

.text:0043B995 mov     al, byte ptr [eax+edx*8+_Spell_.Flags]
.text:0043B999 test    al, 1110000b


sub_0043A560 then puts some weight on Berserk spell.

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

Tavern Dweller
posted November 20, 2021 06:00 PM

Phoenix4ever said:
Kertra said:
Berserk use AI:

SoD: 0x287404 - 85 > 15
Com: 0x2873B4 - 85 > 15

I don't know how it works, but it works

Can you do the same thing with Quicksand, Force Field, Fire Wall, Land Mine and Remove Obstacle?


I suppose these spells are locked to the computer because it wouldn't know what to do on the battlefield. Note that the computer only uses spells that affect units.

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

Tavern Dweller
posted November 20, 2021 06:02 PM

AlexSpl said:
Quote:
I don't know how it works, but it works

It happens here:

.text:0043B995 mov     al, byte ptr [eax+edx*8+_Spell_.Flags]
.text:0043B999 test    al, 1110000b


sub_0043A560 then puts some weight on Berserk spell.


I just hope that with what I have done to keep Berserk running, there are no problems. I did not notice any of them. Berserk is working.

 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 70 80 90 ... 96 97 98 99 100 ... 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2243 seconds