Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Ment
13 years ago
Auto-translated
Thank you for the answers, but I have a few more questions.

1. What is this manual? Where can I download/view it?
3. Does this mod provide map files? I.e., can they be edited later as desired? If so, please provide a link to the mod.

Update: I found the manual, but it's in English. Is there a Russian version?
In reply to Banshee
User Avatar
13 years ago
Auto-translated
1. It is located on your computer in the game folder/EditorDocumentation/A2_Scripts.pdf
3. Not quite, it allows you to play. To edit it in the editor, you need to do a little more work. Specifically, you need to unpack the mod, divide it into separate missions, and then edit them.
The manual in Russian should also be in the file archive: heroesworld.ru, then "files", "Heroes 5", and then a subsection depending on your needs.
In reply to Banshee
13 years ago
Auto-translated
Another question. I'm creating a script so that when a player uses a pointer, it shows a point and teleports them there, while also changing a building with monsters (asa) and removing a town (fuu), archangels (del4), and another building (gr), and finally, a message appears. Here's the script: function susha (heroname) OpenCircleFog(109, 119, 0, 20, 7) SetObjectPosition("Ving", 105, 109); ReplaceDwelling("asa", 3, 74); RemoveObject("del4"); RemoveObject("fuu"); RemoveObject("gr"); MessageBox ("/Maps/SingleMissions/Ch5M1/alarm.txt"); Trigger(OBJECT_TOUCH_TRIGGER, "musha22", nil); end; Trigger(OBJECT_TOUCH_TRIGGER, "musha22", "susha"); So, after using the pointer, I am teleported, the building changes, the structure changes, the archangels are removed, but the other 2 buildings (the town and the building with creatures) are not removed. Also, the message doesn't appear, but I think it's because of the part that's supposed to remove the town/building not working, because when I move the part with the message above that, it appears. Please tell me what's wrong. Version 3.0 or 3.1 (Tribes of the East). I also tried to destroy the building, but it didn't work either.

Added 2 minutes ago
Thank you for the answer, also, please tell me how to explore the map? The mod is downloaded (All_campaigns.data.h5u). Is this it? I opened all the missions
In reply to Banshee
User Avatar
13 years ago
Auto-translated
Files related to different missions should be archived separately, each in its own zip archive, preserving all paths and folders, and the extension should be renamed to h5m. Then, after editing, reassemble them. For buildings, the IsRemovable property should be set to true. I will merge this topic with "current questions and answers".
13 years ago
Auto-translated
Where is this property located? (IsRemovable) For example, when I select a town, there is no such option. http://floomby.ru/s1/57YAY
User Avatar
13 years ago
Auto-translated
Yes, it seems to be missing; maybe it only works with static objects... There's another option: RazeTown. But I don't remember how it works if there isn't a model of a destroyed town; it might require some adjustments.
13 years ago
Auto-translated
I tried RazeTown, but it didn't work either. I can't delete or destroy a town or building with creatures inside. Maybe you know of other ways to do it?
In reply to Banshee
13 years ago
Auto-translated
Banshee
Tried RazeTown, but it didn't work. I can't delete or destroy a town or building with creatures inside.
Maybe you know of other ways?
As far as I remember, human and Inferno towns can be destroyed because there is a destroyed model of these towns; for the rest, you probably need to create one.
As an alternative, you can disable the objects.
In reply to Mostovik
User Avatar
13 years ago
Auto-translated
Mostovik
As far as I remember, the cities of Haven and Inferno can be destroyed, as there is a destroyed model of these cities; for the others, it is likely necessary to create one.
As an alternative, you can disable the objects.
Try moving the city to some remote location on the map, where the player definitely won't be able to reach it. (MoveObject, I think that's the command).
User Avatar
13 years ago
Auto-translated
Before moving a town, you also need to use MakeTownMovable, if I'm not mistaken. And then SetObjectPosition. I once managed to make town destruction work. If that doesn't work, then Mostovik's method might be suitable.
In reply to Ment
User Avatar
13 years ago
Auto-translated
RazeBuilding will destroy both a Knight (or Demon) city and a building containing creatures. If you specifically need to remove a city, use MakeTownMovable + RemoveObject.
In reply to Banshee
User Avatar
13 years ago
Auto-translated
Banshee
I tried RazeTown, but it has no effect. I can't delete or destroy a city or building with creatures.
Maybe you know of other ways?

Create an object without a model and place it in the properties of destructible cities, except for Inferno and the Order faction, of course. It will work; it has been tested many times.

Example:


	
	
	
	
	
	
	
		0
		0
	
	
	
	
		
	
	false
	false
	
	
	
	false
	true
	
	
	
In reply to KioM
13 years ago
Auto-translated
How do you place creatures like these? http://floomby.ru/s1/t7pN6

I mean, so that there's a flag behind them (it seems to indicate that this creature can include others).
User Avatar
13 years ago
Auto-translated
You place a regular monster, select ObjectPropretiesTree, and add parameters to AdditionalStacks.
In reply to Ment
13 years ago
Auto-translated
Thank you very much for your response. Could you write a script so that when any hero captures an enemy castle, they are offered to rebuild it into a different type of castle? Like in the campaign for Markel, where the mage cities were rebuilt into Necropolises. And please tell me what this script requires (what needs to be changed in the castles and what to set, preferably with explanations). I would be grateful.

Statistics

Welcome our newest member: recijeb