Need help w H4til

The old Heroes games developed by New World Computing. Please specify which game you are referring to in your post.
User avatar
rakne fne
Leprechaun
Leprechaun
Posts: 25
Joined: 06 Jan 2006
Contact:

Need help w H4til

Unread postby rakne fne » 19 Sep 2009, 08:27

I just downloaded Slava's H4util program. I want to extract a c-like file of my map, then edit the file and put it back into the map.
I can't seem to get it to work. I have placed the H4util.exe in the Heroes4 map, and runs H4util -p test.h4c (mapname is 'test'), but it can't find it. The map is also in the H4util directory.

What do I do wrong?

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 19 Sep 2009, 10:40

I've used the H4 util a lot!! But I have never extracted maps from a campaign with it. I didn't even know you could. You can't extract the maps normally like with H3C?

User avatar
rakne fne
Leprechaun
Leprechaun
Posts: 25
Joined: 06 Jan 2006
Contact:

script

Unread postby rakne fne » 19 Sep 2009, 15:38

I meant extracting the scripts from the map, it's a c-like file where you can edit it and put it back.
I just can't make it work. It's probably something simple I've overlooked.

I'm making a quest hut where you can gamble like the slot machines where you get jackpot if you get 3 of a kind of artifacts - like in WOG. It's easier to use copy and paste in the H4util file, I guess..

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 19 Sep 2009, 20:28

Yeah. The scripting part of the H4 util is real confusing. I agree. Which is probably why I have never used that part of it. I usually just seek out help from other H4 mapmakers who know scripting than on the H4 util.

User avatar
rakne fne
Leprechaun
Leprechaun
Posts: 25
Joined: 06 Jan 2006
Contact:

Yes, finally.

Unread postby rakne fne » 21 Sep 2009, 11:46

I found out now, by using the FAQ here about H4util. I added the commands on the properties of a shortcut on my desk.

I noticed the H4util can't read the script LESS THAN OR EQUAL, it translate it to GREATER THAN OR EQUALS when I take the scripts back to the map.... anyway it was a help on the quest I made. I'm already planning a new map, even though my latest - A Kingdom of Mortals - hasn't been released yet... hehe.

User avatar
Hippotaur
Leprechaun
Leprechaun
Posts: 14
Joined: 07 Nov 2009
Location: San Francsico, California
Contact:

Unread postby Hippotaur » 20 Nov 2009, 06:13

@rakne or anyone...
I found out now, by using the FAQ here about H4util.
Where? I searched the Forum topics for FAQ & H4util and only found this page. I went to the Celestial Heavens main site, and only found a NewsSearch which didn't produce any results. I don't see how to search for stuff on the Celestial Heavens site.

Am I missing something really obvious...?
"Well, we did do the nose."

User avatar
rakne fne
Leprechaun
Leprechaun
Posts: 25
Joined: 06 Jan 2006
Contact:

...

Unread postby rakne fne » 20 Nov 2009, 13:59

so long time ago, cant remember now, sorry.

User avatar
Koni
Round Table Hero
Round Table Hero
Posts: 2588
Joined: 06 Jan 2006
Location: Teutonic Magetower

Unread postby Koni » 20 Nov 2009, 14:51

Hippotaur: If you want to download H4-utils, then have a look here.

You find the link on Downloads page below under tools "here".


Return to “Heroes I-IV”

Who is online

Users browsing this forum: No registered users and 2 guests