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: Roadblock with map-replacing town images
Thread: Roadblock with map-replacing town images This thread is 2 pages long: 1 2 · «PREV
Karmakeld
Karmakeld


Famous Hero
posted October 19, 2017 10:56 PM

radmutant69 said:
Yeah it has some difficulties indeed. Today I've played a lot with town objects but I had no luck at all with duplicating towns. The last thing I did was I changed an Asylum's subtype to some invalid crap and the town changed to be a Haven anyway. It seems that is the 'default' town type in the game.

Also I changed a tavern's type to 'town', it had no subtypes and no other details and it still changed to be a Haven. I don't know how could we solve this problem.


I believe all types have a default/main type if no (recognized) subtype is listed. I changed an artifact to decorative and it appears as a bird in game. They're likely listed in the same order as in the tables.objects file.

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


Promising
Famous Hero
Modding the Unmoddable
posted October 19, 2017 11:07 PM

There is another thing which would be nice to experiment.

Heroes or armies can't enter into towns on water, not even on boat.

With many other objects, it is the same (for example, regular dwellings can't be accessed on water)

However, SOME dwellings can be accessed on water, such as the pirate's cove.

Assuming its exe code is the same, as it seems to be, that means we can add more water dwellings just by using their passabilities... because the passability data would determine if something can be entered on water or not.

And if that works, potentially "water" working towns.


________________________________

Also, I had another idea.

Instead of replacing grounds or trying to add new ones, we can just create new passable objects which work as overlays (for example, mud works this way). Then we make an object brush with several of these and thus we have a "new ground" (of course, adventure map only, in combat and passability would look like the ground below)
This is what they did on H3 when they wanted more terrains.
____________
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 November 01, 2017 11:17 PM
Edited by radmutant69 at 23:19, 01 Nov 2017.

Nimostar said:
There is another thing which would be nice to experiment.

Heroes or armies can't enter into towns on water, not even on boat.

With many other objects, it is the same (for example, regular dwellings can't be accessed on water)

However, SOME dwellings can be accessed on water, such as the pirate's cove.

Assuming its exe code is the same, as it seems to be, that means we can add more water dwellings just by using their passabilities... because the passability data would determine if something can be entered on water or not.

And if that works, potentially "water" working towns.


Sorry I didn't notice this post but at least mirage saw it...

I tested it already and sadly it won't work. I copy-pasted various water objects' entrance data into dwellings and creature banks and stuff but they still worked only on ground. I cannot figure out how water objects are working.

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


Famous Hero
posted January 10, 2018 10:39 AM
Edited by Karmakeld at 12:15, 10 Jan 2018.

We kind of have the same issue with Events and Bomb, as these automatically gets invisible ingame. You can change the image, but the type seems to make it invisible. I guess they're coded that way, rather than found within header or footprint infos.

About the towns, did any of you ever look more into this or was it abandoned?
I've just reread some of your issues/suggestions and I seeing that Radmutant did display a Town with both Cemetary and Burrow Mound in game but that any doublicate will turn back to original this reminds me of how Campaign Heroes work. Have you tried renaming to eg. Town Cemetery 1, 2 etc? Or was already tested with different images?
I doubt editing the table file or exe is of much use unless jumps or dll extensions could be used.

Regarding water objects, the obvious thing to do, would be to open a bunch of water accessed objects and see if any common info can be found. That might give a clue..

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


Known Hero
posted January 10, 2018 04:25 PM

Well for me this is an 'abandoned' project. I tried everything what I could (renaming files, editing subtypes, new images etc. as you said) but I still cannot duplicate towns. The only working thing here is what you saw above: we can change the appearance of the original towns. All duplications will changing back into the original/default one. This is surely a hardcoded stuff.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0154 seconds