h4util random map generater made by Slava Salnikov

Maps and the art of mapmaking.

Moderator: Moderators

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 9 2016, 2:23

How does this work?where should I extract the h4util?How complicated is it 2 use?

User avatar
Pol
Admin
Admin
Posts: 7750
Joined: 29 Nov 2005
Location: IN SOMNIS VERITAS
Contact:

Re: h4util random map generater made by Slava Salnikov

Postby Pol » Sep 9 2016, 6:19

Check all about it here.

Maybe iLiVeInAbOx05 will tell you more about his utility in development.

But the key question is, what do you want to achieve with?
Last edited by Pol on Sep 9 2016, 6:34, edited 1 time in total.
"We made it!"
The Archives | Collection of H3&WoG files | Older albeit still useful | CH Downloads
PC Specs: A10-7850K, FM2A88X+K, 16GB-1600, SSD-MLC-G3, 1TB-HDD-G3, MAYA44, SP10 500W Be Quiet

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 9 2016, 11:52

My goal is 2 start making maps.I have a lot of time on my hands now and always enjoyed heroes 4.Always wished it had a random map generator and it seems that there has been some progress in that department since last i checked.

User avatar
iLiVeInAbOx05
Equilibris Team
Equilibris Team
Posts: 488
Joined: 21 Jul 2014

Re: h4util random map generater made by Slava Salnikov

Postby iLiVeInAbOx05 » Sep 9 2016, 15:09

If you need a quick fix for random maps, currently the only thing available is what H4Util has to offer.

I think there's a good chance we'll eventually see a random map generator for H4, hopefully as part of the H4MG, but that's still a little ways in the future.

We know how maps (.h4c map files) are represented and can place objects and set terrain, but there is a lot more to it to have a good RMG :)
Last edited by Anonymous on Sep 9 2016, 15:09, edited 1 time in total.

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 9 2016, 16:42

@iLiVeInAbOx05ya i kinda wanted a quick fix for maps but i can't seem 2 get h4util random map generator 2 do anything. I made a new folder and placed on my desk top.went to Start Menu, Run and typed CMD, after that, type cd desktop. Enter. Then type cd h4util, then enter again.Then i get A message Incorrect file name or file does not exist.


I tried For Picture Maps:

Here's what you need to do. Step by Step:

0. Creature your picture. The landscape so to speak.
1. It must be in a 256 bitmap image, 218 x 218 pixels for an XL map. Name it MiniMap. (Doesn't have to be MiniMap.bmp. The .bmp will be added for you automatically.)
2. Make a blank XL map and properly named the map. In this case, dummy. It can have above and under.
3. Put both files in the H4util folder.
4. Open the H4Runner and type in: dummy.h4c -w -l0 ( For underground, -w -li)
5. NOTE: -w -small "L" NOT 1 "one" as is shown in the instructions. The l is for "landscape", I assume. So, -w l0 for above or -w -l1 for under.
6. Run it.
7. You'll get an exact copy of dummy.h4c, but it's titled dummy1.h4c, and the mini-map will appear on dummy1.h4c.
8. Be prepared for tons and tons of correcting.

Nothing happened.what am I doing wrong?

I down loaded your editor as well but am waiting till I get my computer back from the shop.It runs windows 7 pro. Hopefully I can get heroes 4 to run on it(with luck I get it back today). Last time I tried it wouldn't load

User avatar
iLiVeInAbOx05
Equilibris Team
Equilibris Team
Posts: 488
Joined: 21 Jul 2014

Re: h4util random map generater made by Slava Salnikov

Postby iLiVeInAbOx05 » Sep 9 2016, 17:49

Unfortunately I've only had limited success using H4Util, so I can't really help you to get it working. There are a few threads on this forum which could help you, but you'll have to search for them since I don't recall which ones they were.

As far as the H4MG, you'll also need to install Java. The instructions are in the readme you downloaded, but can also be found here. Scroll down to "How to setup" and the instructions are there :) If you have any further issues getting it to work, please let me know and I will be happy to help!

User avatar
Karmakeld
CH Staff
CH Staff
Posts: 923
Joined: 12 Nov 2011

Re: h4util random map generater made by Slava Salnikov

Postby Karmakeld » Sep 9 2016, 20:28

It Seems Nimostar had some success with an RMG using brushes (he stated so in his mod tread on HC). I can only tell you that although the H4MG currently doesn't have an rmg feature, it's quite user friendly compared to the Utility. I gave up on that one too. To my best knowledge you need to type in codes for all commands and I also had failure in all attempts. Why not just open the editor and try out some brushes? You can find a good guide here on CH on how to get started, using brushes. Although not as efficient as an rmg, brushes can cover the area you wish, and place objects according to the brush type.
I'm silent in seven languages - and I got all my familys fear.
Everytime you throw dirt, you loose a little ground

User avatar
jeff
Moderator
Moderator
Posts: 3671
Joined: 06 Jan 2006

Re: h4util random map generater made by Slava Salnikov

Postby jeff » Sep 11 2016, 23:23

johnnycage wrote:
I tried For Picture Maps:
Nothing happened.what am I doing wrong?


It sounds as if you are doing things correctly. I personally had a great deal of luck using picturized maps in Dragon's Fate and Lamentia's Story. I did have difficulty with H4util if the folder with all the files was not in the root directory i.e. C:\, but that may not be a requirement. Unfortunately I haven't used H4util or any of the editor for over a year when I switched to Win 10; since the equilibris team has not be able to get their editor to run under win 10. By the why the only corrections needed for the picture maps was to smooth the terrain. The picture was made inserting terrain types with square shapes. I just used a extra large brush and painted the entire map with one of the road types and then used the road eraser and that smoothed out the landscaping. Minor adjustments might be needed if say snow was next to lava, but for the most part I would hide those under mountains.
Last edited by Anonymous on Sep 11 2016, 23:23, edited 1 time in total.
Mala Ipsa Nova :bugsquash:

User avatar
Karmakeld
CH Staff
CH Staff
Posts: 923
Joined: 12 Nov 2011

Re: h4util random map generater made by Slava Salnikov

Postby Karmakeld » Sep 12 2016, 15:11

@Jeff have you looked at this http://www.celestialheavens.com/forum/14/15586#p365262 at best it could solve your equi editor issue
I'm silent in seven languages - and I got all my familys fear.

Everytime you throw dirt, you loose a little ground

User avatar
jeff
Moderator
Moderator
Posts: 3671
Joined: 06 Jan 2006

Re: h4util random map generater made by Slava Salnikov

Postby jeff » Sep 12 2016, 16:01

That thread only reposts the issues I have had; and Dali says they are looking into it. There may be emulators or DOSBox type programs that will get it to run, however I have too little time to do anything but double click the icon and have it work. If it crashes as it does now; then I am done until it no longer crashes; using other means isn't an option for me. This is unfortunate as I may have time in about a year to go back and complete my unfinished campaign, but not if the status quo is unchanged.
Mala Ipsa Nova :bugsquash:

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 12 2016, 22:07

Update:
I've gotten h4util random map generator to make maps and successfully incorporated a picture to the map.

My new problem is I do not C the map listed in the selection of maps 2 play. I've added it 2 the map list but it does not appear when I go 2 play it. Any1 know how 2 do that?

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 13 2016, 14:02

Here is how the map came out

Picture

Image

Map:

Image

Underground

Picture:

Image

Map:

Image

Pretty cool stuff. I want 2 thank every 1 for there help

User avatar
jeff
Moderator
Moderator
Posts: 3671
Joined: 06 Jan 2006

Re: h4util random map generater made by Slava Salnikov

Postby jeff » Sep 13 2016, 22:21

johnnycage wrote:My new problem is I do not C the map listed in the selection of maps 2 play. I've added it 2 the map list but it does not appear when I go 2 play it. Any1 know how 2 do that?


As I recall the map has to be playable; what I mean is there has to be a faction present. Just generating it isn't enough, but it has been a long time as I may not remember correctly.
Mala Ipsa Nova :bugsquash:

User avatar
Karmakeld
CH Staff
CH Staff
Posts: 923
Joined: 12 Nov 2011

Re: h4util random map generater made by Slava Salnikov

Postby Karmakeld » Sep 14 2016, 7:25

It makes good sense Jeff.
Also make sure the file name matches that of the map name. You can view/edit the map name in 'campaign > map properties > map name. The map name is what is displayed in the game and doesn't have to be the same as the file name.
I'm silent in seven languages - and I got all my familys fear.

Everytime you throw dirt, you loose a little ground

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 14 2016, 17:15

Thanks for the tips

User avatar
Karmakeld
CH Staff
CH Staff
Posts: 923
Joined: 12 Nov 2011

Re: h4util random map generater made by Slava Salnikov

Postby Karmakeld » Sep 15 2016, 17:20

So it worked out for you?
I'm silent in seven languages - and I got all my familys fear.

Everytime you throw dirt, you loose a little ground

Steven Aus
Scout
Scout
Posts: 191
Joined: 08 Feb 2006
Location: Australia

Re: h4util random map generater made by Slava Salnikov

Postby Steven Aus » Sep 15 2016, 18:12

I know that ILiveInABox's H4MG Random Map Generating capability will take a while to be made, but it will be fantastic when it is finished!
Last edited by Steven Aus on Sep 15 2016, 18:12, edited 1 time in total.

johnnycage
Leprechaun
Leprechaun
Posts: 30
Joined: 01 Jul 2009

Re: h4util random map generater made by Slava Salnikov

Postby johnnycage » Sep 15 2016, 21:10

@Karmakeld Yes and I haven't been this happy since I was a little kid on Christmas day. I have A new toy :-). I'll check out ILiveInABox's H4MG Random Map Generator when I get my pc back next week Just hope I can get Heroes 4 2 work on it. I'm running windows 7 pro, last time I tried 2 get H4 2 run on it I did not have any success.

Steven Aus
Scout
Scout
Posts: 191
Joined: 08 Feb 2006
Location: Australia

Re: h4util random map generater made by Slava Salnikov

Postby Steven Aus » Sep 15 2016, 21:18

H4MG doesn't currently do random maps, but it will eventually do so. It will take a while to make.


Return to “Mapmaking Guild”

Who is online

Users browsing this forum: No registered users and 1 guest