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 4 - Lands of Axeoth > Thread: Is it possible ot add new Creatures?
Thread: Is it possible ot add new Creatures?
LordBoogieBlue
LordBoogieBlue

Tavern Dweller
posted August 06, 2018 09:53 PM
Edited by LordBoogieBlue at 21:54, 06 Aug 2018.

Is it possible to add new Creatures?

I'm just wondering if its in any way possible to add creatures to the game, even if its just a rename/recolour of existing creature with different stats.
____________

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


Famous Hero
posted August 07, 2018 12:20 AM
Edited by Karmakeld at 00:22, 07 Aug 2018.

LordBoogieBlue said:
I'm just wondering if its in any way possible to add creatures to the game, even if its just a rename/recolour of existing creature with different stats.

We can't add new creatures. That is hardcoded.
But we can rename, change stats, images, animations, skills and factions. Various posts and treads exsist about this subject. Just look through the first couple of pages in this forum, and you should find them (I would've posted links ifnI wasn't writing on my phone).
NimoStar did a lot of creature changes in his mod.

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

Tavern Dweller
posted August 07, 2018 12:24 AM

Aww that's a shame, you think s1 would ever be able to figure out a way to do it? Even if you can't recruit the creature or anything and its just a map added creature.
____________

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


Known Hero
posted August 07, 2018 12:36 AM

The problem with adding new creatures is that there was - likely - an enum used for the creatures, which makes it appear hardcoded when looking at the .exe. We would have to go through the entire .exe to find every instance of the creature enum being referenced and update that table with the addition of our new creature numbers.

I think it would be possible using the dll method that Equilibris is using where we redirect calls to the creature table to our own code where we have our own list of creature numbers, though admittedly I haven't been anywhere near disassembly of the .exe code to play around with this stuff.

There are other places that would need to be updated outside of the .exe, but they would be trivial compared to disassembly of the .exe

It is on the list of things to get into one day, but there are many other things that are more presising.

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


Promising
Famous Hero
Modding the Unmoddable
posted August 08, 2018 02:24 AM

Your post is a duplicate of the one I made:

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

In short answer everything is possible, just some things are easier than others and we still haven't found the exact way to do this one.
____________
CLICK on the image to discover H4 Greatest Mod!

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


Known Hero
posted August 08, 2018 02:55 PM

iliveinabox05 said:
The problem with adding new creatures is that there was - likely - an enum used for the creatures, which makes it appear hardcoded when looking at the .exe. We would have to go through the entire .exe to find every instance of the creature enum being referenced and update that table with the addition of our new creature numbers.


Well, I think this creature enum thing starts approximately here in the exe:



And ends here:



Too bad I can't use this information at all

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


Known Hero
posted August 13, 2018 10:06 PM
Edited by iliveinabox05 at 22:09, 13 Aug 2018.

Is that the only place in the exe where the creature numbers appear? It's definitely helpful either way and good to have it documented so we can come back to it later!

I guess what we also need, and is more difficult, is every place in the exe that references that table. Then the references could be redirected using the dll method.

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


Famous Hero
posted August 14, 2018 03:26 PM

iliveinabox05 said:
Is that the only place in the exe where the creature numbers appear? It's definitely helpful either way and good to have it documented so we can come back to it later!

I guess what we also need, and is more difficult, is every place in the exe that references that table. Then the references could be redirected using the dll method.


Perhaps kkfkkkfk knows how to check those references or could look into it? I recall he posted some other call references..
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0217 seconds