Skip to content

Posts from Current questions and answers regarding the map editor. Auto-translated

5.0 (12 ratings)
#2362
Auto-translated
Thank you for your help. The selection and dungeons are working now. I just haven't figured out the extended mode. Where is the Resource located, and how do I enter the extended mode? Please explain in more detail.
User Avatar
#2363
Auto-translated
go to the "videos" topic – it's a little further down. You'll find detailed instructions on the first three pages.

Whatever
User Avatar
#2364
/post/364245/
502 Bad Gateway
__________________________________
nginx/0.8.54
In reply to Олегарх
#2365
Auto-translated
I have a few questions about the map editor.
1. How do I delete the "StoneRoad" path?
2. How do I create a script?
3. How do I create an animation, for example, a "killed" animation?
4. How do I make a creature on the map inactive so that it cannot be attacked?
User Avatar
#2366
Auto-translated
1. In the tiles tab, select your path, but slightly below, click the eraser. Then, erase it.
2. In the properties tree, find "map script." Create a new script. Or, go to the general properties of the map, find the "script" tab, and click "edit script." It may lag and crash.
3, 4: Using scripts.

3. In the script, enter:
PlayObjectAnimation("creature name", "death", ONESHOT_STILL);

In the editor, place the creature, find its name in the list on the right, and give it any name. Then, insert the above line into the script, replacing "creature name" with the name you assigned to it. (Don't forget the quotes).

There are many other animations; they are listed in the scripting manual.

4. Insert into the script:
SetObjectEnabled('name', nil)

Similarly, I explained above what to write instead of "name."

You can find the scripting manuals in the game folder, in a folder called "Editor Documentation."

Whatever
#2367
Auto-translated
Regarding scripts, I managed to make it so they can't be attacked, but the hero can't pass through them, as if they need to be killed first before running past them. How can I fix this?
User Avatar
#2368
Auto-translated
it doesn't change anything. The model remains the same anyway.

Whatever
User Avatar
#2369
Auto-translated
1) Remove the monsters completely. 2) Find an alternate route. 3) "Jump over" the monster using Astral Gates.
502 Bad Gateway
__________________________________
nginx/0.8.54
#2370
Auto-translated
I think this can be removed. I saw something similar in a mission for the Stronghold faction where you need to collect heads; there are "Creatures" standing in front of the garrisons that you can simply walk through.
User Avatar
#2371
Auto-translated
So, the passage was quite wide there.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
#2373
Auto-translated
No, theoretically it is possible. You just need to remove the active tiles in the creature's model, and it will become transparent. However, this change will affect all creatures of that type, even those that need to remain opaque.

Whatever
#2374
Auto-translated
Where can I find the maps from the original campaigns of the Hammers of Fate or Tribes of the East? I want to take a map from there.
User Avatar
#2375
Auto-translated
Hammers of Fate – I’m not sure you’ll find them. We have Tribes of the East right now. But you can find them by opening the extended editor mode.

Whatever
#2376
Auto-translated
How do I open it? There are a lot of buttons.
User Avatar
#2377
Auto-translated
How do I open the advanced editor? It's written above.

Whatever