Skip to content

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

5.0 (12 ratings)
User Avatar
#882
Auto-translated
A huge thank you to Ment and Pobeditel, I've finally made some progress:smile01. Now I can create a small, slightly buggy battle:D.
User Avatar
#883
Auto-translated
Is there a way to control the camera so it moves the way I want it to? For example, I need it to simply turn and move back a bit. But instead, it starts circling the entire arena and only after that ends up where I need it:mad:
User Avatar
#884
Auto-translated
You can set IgnoreYawDif to true in the CameraSet parameters. However, if the difference in the Yaw parameter is too large, it might not work as expected; otherwise, everything should function correctly. You can also experiment with other parameters: the main thing is that the camera always rotates in one direction, so if you need to turn it in the other direction, you need to rotate the final position by 360 degrees, and then it should work.
 

К А
Стикеры GBF в Telegram
#885
Auto-translated
:confused: How do you create a Dwarf Dungeon?
User Avatar
#886
Auto-translated
In the right panel of the editor, go to the "tiles" tab (second from the left), select "Subterra" from the dropdown list, and you'll find the dwarven tile there.
 

К А
Стикеры GBF в Telegram
User Avatar
#887
Auto-translated
I have a couple of questions about mapmaking:

1. How do you create a chasm in a dungeon?:smile45:
2. How do you create a glow (shine) on the map?:smile45:
3. Could you provide an example script for a peasant corpse, please?:smile45:
===========================================================
Thank you for correct answers!:D
Warning for spamming:mad:
Offense will be met with offense:)
User Avatar
#888
Auto-translated
1. Place any stone on the map; in the left panel of the editor, in the "shared" row, click on the text value, then on the ellipsis, and select one of the items from the tree:

2. Select an object, in the left panel under "pointLights," right-click, add, and then configure it.
3. PlayObjectAnimation([peasant name], 'death', ONESHOT_STILL);
Attachments 1
1 file attached • Total size: 58.0 KB
 

К А
Стикеры GBF в Telegram
User Avatar
#889
Auto-translated
Another question: what is the script name for a peasant?
In reply to Анаган
User Avatar
#890
Auto-translated
Anagan
Another question: what is the script name for a peasant?
Let's look at the manual with the catchy title HoMMV_IDs_for_scripts_rus, which I attached to this message for some reason (and it's located in the Editor documentation folder in the game's folder), and we'll find out that:
CREATURE_PEASANT = 1

The problem with this manual is that it doesn't list the IDs for Orc and Altgreymon creatures. You have to calculate them, paying attention to the order of factions in the existing part of the manual.

Oh yes, I didn't quite understand you. To set the name of a peasant in the Ment'a script, you need to select that peasant on the map, and in the Name line in Map Properties Three, set any name.
Attachments 1
1 file attached • Total size: 95.5 KB
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
User Avatar
#891
Auto-translated
Hello everyone!
I haven't been here for a while, and I have another question:
How can I make a script that, when a hero captures a town, it destroys the town instead of simply taking it over?
Please :smile45:. Thank you in advance for your answer!
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:
User Avatar
#892
Auto-translated
The problem with this guide is that it doesn't list the IDs for Orc and Altgreymon creatures. You have to figure them out by looking at the order of the factions in the existing part of the guide.
Fan-made guides aren't needed for this; all the IDs are in the official one (IDs_for_scripts.pdf, I think).
Hello everyone!
I haven't been here in a while, and I have another question:
How can I use scripts to make it so that when a hero captures a town, they destroy it instead of just taking it over?
Please. Thank you in advance for your answer!
Place a trigger on capture (OBJECT_CAPTURE_TRIGGER) and call RazeTown. The only downside is that it's better to have a garrison in the town; otherwise, the town screen will open first, and then it will be destroyed when you exit.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#893
Auto-translated
Ment
You don't need fan-made guides for this; all the IDs are in the official document (IDs_for_scripts.pdf, I think).

Place a trigger on capturing (OBJECT_CAPTURE_TRIGGER) and call RazeTown. The only caveat is that it's better to have a garrison in the town; otherwise, the town screen will open first, and then it will be destroyed when you exit.
But that was the official guide, from the Editor Documentation folder.

And can all towns be destroyed? I thought only human and demon towns could be destroyed; their destroyed towns are even listed in the "Towns" tab :confused:.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
#894
Auto-translated
No, not all of them by default. But you can choose a model for a ruined city: some kind of shapeless ruins, and for the Dwarves, for example, a crater in better condition would be more suitable. Then, a special option is activated, and the city is beautifully destroyed.
 

К А
Стикеры GBF в Telegram
User Avatar
#895
Auto-translated
How do you set player commands in the editor in version 3.1?
User Avatar
#896
Auto-translated
Map Properties -> Teams. Configure everything as you need.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"