Posts from Current questions and answers regarding the map editor.
Auto-translated
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:)
2. Select an object, in the left panel under "pointLights," right-click, add, and then configure it.
3. PlayObjectAnimation([peasant name], 'death', ONESHOT_STILL);
Another question: what is the script name for a peasant?
CREATURE_PEASANT = 1The 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.
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
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!
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.
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!
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.
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:.
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"