Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2493
Auto-translated
Juss456
1) Once the map is created in the editor, press M on the keyboard, or go to View -> Map properties. A window with various settings will open. Check the "HasUndergroundLevel" box. Save.
2) To create a cutscene, first "expand" the editor, then go to Resource -> Select Tables -> DialogScenes -> Ok. And start creating. More detailed information about this can be found in the corresponding topic here.
3) To work with scripts, open the Map properties window, select the Scripts tab, and click Edit Script. Alternatively, you can use a special program available on the website.
4) There are Manuals on writing scripts. I will post what I have.
5) I created the prison using scripts (there might be another way). Learn how to use them first.
Link to download the Manuals: http://rghost.ru/47699868

Added 2 minutes ago
Now I have some questions:
1) Which function in Lua converts a real number to an integer? (rounds)
2) How does the function SetPlayerHeroesCountNotForHire(nPlayerID, nCount) work? (detailed description)
1) round(n) is the standard rounding function
ceil(n) rounds up
floor(n) rounds down
intg(n) simply discards the fractional part of the number.
Not relevant: frac(n) discards the integer part of the number.
All these functions are only available in version 3.1
2) Prevents player nPlayerID from hiring more than nCount heroes.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4

Statistics

Welcome our newest member: artem

Users Online 2 users 1416 guests