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 > Library of Enlightenment > Thread: Heroes 2 Bitmap to Map Generator
Thread: Heroes 2 Bitmap to Map Generator
OldLich
OldLich


Hired Hero
posted December 24, 2017 06:17 AM
Edited by OldLich at 06:29, 24 Dec 2017.

Heroes 2 Bitmap to Map Generator

Hi, here is a tiny program I made to convert bitmap pixels to terrain in the map editor (Automatic tile drawing)

Just make a 72 x 72 windows bitmap (In Paint for example) and use 9 different RGB color for each of the 9 terrain types.

Then run the program on the bitmap and then run the map editor and it will automatically fill in those tiles for you.

Each pixel represents 2x2 tile in the map editor, so it works "roughly", you have to fine tune the hard edges when it is complete. It's only meant to quickly paint the basis for a map.

Oh yes, it only works on 144 x 144 maps, because I only make large maps myself.

h2bm2map.zip

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


Hired Hero
posted December 26, 2017 02:22 AM
Edited by OldLich at 02:28, 26 Dec 2017.

I wanted to make it paint one full screen at the time, but I wanted the tool for myself so I did it quickly and it paints one tile at the time horizontally, but it works and it's easy to draw the basics of a map. I could make it faster but I don't see the need for it.

The annoying thing about the map editor is that it doesn't allow for single tiles to be drawn so to implement that into this tool I would have to simulate "tricky" mouse movements to get the smallest tiles in place, maybe I will do that another time.

Hell I don't even know if a tool like this already exist AND if people still play Heroes 2, at least I do

I'm the "blacksmith" kind of guy, I make tools and don't mess around.

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


Supreme Hero
posted December 26, 2017 09:35 AM

Great! Post it on Enroth forum:
Enroth forum
It can be useful for converting HIII,IV maps to H2 format.
Random generated content on picture ground would be good, if someone can do it.

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

Page compiled in 0.0245 seconds