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 ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > MapHaven Guild > Thread: Heroes 5 Map Editor Help and Tips...
Thread: Heroes 5 Map Editor Help and Tips... This thread is 43 pages long: 1 10 ... 11 12 13 14 15 ... 20 30 40 43 · «PREV / NEXT»
Galev
Galev


Famous Hero
Galiv :D
posted November 13, 2008 10:15 PM
Edited by Galev at 22:16, 13 Nov 2008.

Heck, my editor won't load my saved map!!! It says it is not in the correct folder or corrupted or the filetype not supported.

PS.:but it loads other custom maps (downloaded ones)

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


Known Hero
Wyld Mapper
posted November 13, 2008 11:26 PM

Quote:
Heck, my editor won't load my saved map!!! It says it is not in the correct folder or corrupted or the filetype not supported.

PS.:but it loads other custom maps (downloaded ones)


Hummm... it is possible that you have managed to create a corrupted file. The H5 editor will do that on rare occasions. I always make a backup copy of my last map making session in a separate folder prior to working on the copy in the H5 Maps folder. By the end of a map, I have had up to 30 successive backups so I can go back to an earlier version.

However, corrupted files are fairly rare. But, the H5 editor is picky about certain things that are a little arcane. For example, your problem may be simply that you changed the file name and it can no longer find all the resource files it needs to open your map. If this is the case, you need to change the file name back to what it was when you created the map.

Also, if you are working with TOE editor and then try to open that map with the HOF editor you will get that error message. If you have all the versions of H5 installed, it is easy to get the wrong editor by mistake.

Try just making a test map. Put a minimum of work into it, just two castles with two players on a flat terrain. Then save it and try to open it. If it works, then you will know your editor is OK and you can recreate your corrupted map from memory. Just remember to make backup copies.

There are other people on this forum who know lots more than I do. Maybe they will have more ideas.



____________
-------------
Mage of Soquim

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


Famous Hero
Galiv :D
posted November 14, 2008 10:06 AM

Quote:

Try just making a test map. Put a minimum of work into it, just two castles with two players on a flat terrain. Then save it and try to open it. If it works, then you will know your editor is OK and you can recreate your corrupted map from memory. Just remember to make backup copies.



Tried, failed.

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


Known Hero
Wyld Mapper
posted November 14, 2008 02:29 PM

Quote:

Try just making a test map. ....

Tried, failed.


OK, a bit sad but now you know where the problem is and it is time to zero in on the problem.

What version of H5 are you running? What operating system are you running?

H5 likes to run on XP best. I know it runs on Vista because my wife's computer has Vista. But I seem to remember having to overcome a few issues with Vista, but can't remember the details.

Without question Tribes of the East is the most stable, advanced, and bug free of them all. In my opinion, it is worth the $19 or less it takes to get that version. It is stand alone, so you can un-install the earlier versions, unless you are enamored with the campaigns.

If you are running H5, make sure you have installed all the patches correctly, especially making sure that you have used the correct patch for your version of the game. The same thing is true for the Hammers of Fate and the ToE versions, which have only the one patch so they are easier. In my opinion, the best place to get the patches and info on how to install them is here: http://www.celestialheavens.com/viewpage.php?id=707

If all the patches are done correctly, and you still have a problem, then you should probably un-install the game and install it again. In my opinion, it is best to use the default installation options for file locations.

Despite it's somewhat seedy reputation, the H5 editor does work fine and you should be able to use it.


____________
-------------
Mage of Soquim

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


Famous Hero
Galiv :D
posted November 14, 2008 09:41 PM

I have XP, standard game only, patched. But thinking about it, I installed it in custom folder so that might cause it, however I doubt. It should not confuse a program nowdays

Anyways, creating maps isn't so very crucial for me. I can live without it Thank you very much for the help

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


Known Hero
Wyld Mapper
posted November 14, 2008 10:51 PM

Quote:
I have XP, standard game only, patched. But thinking about it, I installed it in custom folder so that might cause it, however I doubt. It should not confuse a program nowdays

Anyways, creating maps isn't so very crucial for me. I can live without it Thank you very much for the help


OK, I think I have it. If you are trying to open your map by double clicking on the map file, then the editor won't like it if the map is not in the standard location. Try opening the editor first, then use the Open command under the File menu to navigate to your map in the custom location. I'll bet it will work just fine.

It is not all that illogical when you look into things a bit. The editor is actually a developer's tool and, consequently, it is less forgiving than a consumer-level product. What appears as a single file in the H5 Maps folder is really a zipped directory of many files, all of which the editor has to access to open your map. These files are related to each other in a somewhat arcane hierarchical structure based on the filename and an expected resource data path that by default is based on the standard location. When you you double click on the file to open it in the editor, the default is used, which generates an error. When you explicitly open the map with the Open command and navigating to it, the editor uses the actual path.  
____________
-------------
Mage of Soquim

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


Famous Hero
Galiv :D
posted November 17, 2008 10:24 AM
Edited by Galev at 10:26, 17 Nov 2008.

I hope you didn't have too much mone on that bet

I use the little "open" button next to the "new map" button. It brings up the open map window. I click on "Tales of silentia" which is a downloaded custom map. Then I click "Open" and it opens. So I close the editor, open it again, open map, click on "tutorial" which is my extra-simple "map" with two towns and then click on open button and I have a nice error window ...

edit: also, the 2 maps are in the same folder [namely: "C:\Játék\Heroes 5\Maps" if you might wonder, játék means game in my Hungarian]

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


Known Hero
Wyld Mapper
posted November 18, 2008 02:17 AM

Quote:
I hope you didn't have too much mone on that bet

I use the little "open" button next to the "new map" button. It brings up the open map window. I click on "Tales of silentia" which is a downloaded custom map. Then I click "Open" and it opens. So I close the editor, open it again, open map, click on "tutorial" which is my extra-simple "map" with two towns and then click on open button and I have a nice error window ...

edit: also, the 2 maps are in the same folder [namely: "C:\Játék\Heroes 5\Maps" if you might wonder, játék means game in my Hungarian]


OK,here is my last idea. Send me the map by attaching it to an email message. My email address is: rdeford@dragonfarm.us

I will try to open it and see what is wrong. However, I am using the ToE editor, so when I open it and save it, you won't be able to open it with the H5 editor. But I can at least see what is wrong with the thing and maybe give you advice that will solve the problem.
____________
-------------
Mage of Soquim

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


Famous Hero
Galiv :D
posted November 18, 2008 10:05 AM

Sent it, hope you receive.

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

Tavern Dweller
posted November 29, 2008 09:10 AM

Hi im a lil new at using the HOMMV mapeditor and im not too sure how to make shipyards enabled and able to be built in towns, no matter how much water i put around it over even inside it it says there it so water tile to build one... Please help many thanks
____________

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


Promising
Legendary Hero
fallen artist
posted November 29, 2008 09:16 AM

In the properties table there is a field called" shipyard tile" or something. Set its coordinates to the desired tile.

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

Tavern Dweller
posted November 29, 2008 09:46 AM

I found the option for a shipyard tile but how do i make it work, do i do it on the outside of the city on the red markers or accually inside the city, also how close is the water ment to be to the city.
____________

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


Honorable
Undefeatable Hero
Elite Assassin
posted November 29, 2008 01:53 PM

Placing the Shipyard is tricky. That Red Marker should become Green if you placed the Town correctly near a Water Ramp. If it is green, you will be able to build the shipyard in the city, unless you disable it.
____________

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


Known Hero
Wyld Mapper
posted November 29, 2008 05:54 PM

Quote:
Placing the Shipyard is tricky. That Red Marker should become Green if you placed the Town correctly near a Water Ramp. If it is green, you will be able to build the shipyard in the city, unless you disable it.


Asheera is correct-- but you cannot see the red switch to green if you have the Show AI Passibility option turned on. Also, it is helpful to have a wide water ramp.
____________
-------------
Mage of Soquim

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

Tavern Dweller
posted November 29, 2008 08:40 PM

awesome thanks guys finally got it, ive been tring for days to figure it out
____________

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


Known Hero
with plans of Rebirth!
posted December 21, 2008 05:28 PM

I think I've been asking about this earlier butdo anyone know how to script a map to make it work like the final scenario in H5 original, with demons spawning into the battle all the time. Would be really glad to get some help .
Hopes this question goes into the topic, or is there a special thread for scripting?
____________
Once again he roams the
forums!

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


Known Hero
Wyld Mapper
posted December 21, 2008 05:50 PM

Quote:
I think I've been asking about this earlier butdo anyone know how to script a map to make it work like the final scenario in H5 original, with demons spawning into the battle all the time. Would be really glad to get some help .
Hopes this question goes into the topic, or is there a special thread for scripting?


Your best bet is to open the script for that scenario and see how the game's programmers did it. Once you see their approach, you should be able to modify it for your purposes.
____________
-------------
Mage of Soquim

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


Honorable
Undefeatable Hero
Elite Assassin
posted December 21, 2008 06:08 PM

Set the enemy hero have a combat script. How to do this: click the enemy hero you want to have a "special" fight with, and on the left in the Object Properties Tree, you'll see a "CombatScript" field. Create a new script there.

As for how the script should look, take a look at the following example:

loop = 1

while loop == 1 do
 sleep(4)

 if the_ending_condition then
   loop = 0
 end

 -- events follow here (if something then do_something, else do_something_else, etc)
end


Obviously, the_ending_condition is a condition as to where the script will end (and stop working - logically this should be when you win the battle or something similar)

For these conditions and actions, check out the functions in the "HOMM5_A2_Script_Functions.pdf" (or "HOMM5_Script_Functions.pdf" without TotE) file located in the "Editor Documentation" folder (where you installed the game)


Here's a basic example of a combat script that spawns 200 Imps once the ArchDevil stack is defeated (let's suppose the enemy hero has some ArchDevils in his army, among some other creatures)

-- first find out which one is the human: the attacker, or the defender?
AI = 0 -- we assume the AI is the attacker
if GetHost(0) == 0 then -- attacker is human, defender is AI
 AI = 1
end

EnableAutoFinish(nil) -- make sure the battle doesn't end before the Imps are summoned

-- then enter combat loop
loop = 1
while loop == 1 do
 sleep(4)

 local AI_stacks = GetCreatures(AI)

 loop = 0

 for i, v in AI_stacks do
   if GetCreatureType(v) == 28 then -- ArchDevil
     loop = 1 -- not finished yet
   end
 end
end

AddCreature(AI, 15, 200) -- add 200 Imps to AI army

EnableAutoFinish(not nil) -- make sure the battle ends

____________

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


Known Hero
with plans of Rebirth!
posted December 21, 2008 10:40 PM

Oh thanks a ton With this to work with it can't be too hard. Thanks again you two!
____________
Once again he roams the
forums!

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


Honorable
Undefeatable Hero
Elite Assassin
posted December 21, 2008 11:50 PM
Edited by Asheera at 23:51, 21 Dec 2008.

You just need a bit of logic with those if/else and other statements, and with my tips you'll be able to do anything

also, you need the IDs of different stuff (creatures, etc)

check out the scripts in data\data.pak\scripts folder, those hold all the IDs you need.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 43 pages long: 1 10 ... 11 12 13 14 15 ... 20 30 40 43 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1287 seconds