Posts from Current questions and answers regarding the map editor.
Auto-translated
Added 1 hour 23 minutes ago
Ment, unfortunately, something didn't work out... :smile05: :smile05: :smile05:
I found it, but it doesn't help, even though I wrote 10 and 19. I have a few level 1 units, and the rest are level 10 and 19, etc. Do you know what the reason is????
Added 57 minutes ago
Level 1 is set initially - it works, but I wanted to set it to 10 or something other than 1, but nothing works, why????
I'll post the map on the forum when I'm done. Take a look and let me know if it's good or not!
For example, Ser9K had it in "OT: Dragon Wisdom".
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
1. How to reset the initial resource set for each player on a multiplayer map?
2. How to make all arenas on a specific map nighttime (including city capture arenas), and only on that map? (While ensuring that on any other map, the arenas remain the default - daytime).
2. The lighting on the arenas is defined in the game's resources and cannot be changed without a special mod. That is, on other maps, if this is present in the maps folder, the arenas will also become nighttime.
You can simply use if HasArtefact("Erasial",66) then...
He will understand, the main thing is to remove the semicolon.
------
Just in case, the format is dds.
Could you please provide guidance on how to correctly create a MessageBox (preferably with an example) so that the message appears for each player on a Multiplayer map? I've tried using this approach: MessageBox(GetMapDataPath().."qwerty.txt"); but it doesn't work.
MessageBoxForPlayers(player identifier, path to the message, function to be executed when OK is pressed)
Example:
MessageBoxForPlayers(GetPlayerFilter(GetCurrentPlayer()),GetMapDataPath().."win.txt");GetPlayerFilter(GetCurrentPlayer()) - in this case, it's the current player;GetMapDataPath().."win.txt" - the path to the message.To display it for each player, you'll need to write a line for each player, or use what I wrote above, but how exactly - it's up to you.
Example specifically for player 1 and player 2:
MessageBoxForPlayers(1,GetMapDataPath().."win.txt", "FF");
MessageBoxForPlayers(2,GetMapDataPath().."win.txt", "FF");There are also Multiplayer equivalents for some functions. Just add ForPlayers to the end of the function name and the player identifier as the first parameter ;)
Could you please provide guidance on how to correctly create a MessageBox (preferably with an example) so that the message appears for each player on a Multiplayer map? I've tried using this approach: MessageBox(GetMapDataPath().."qwerty.txt"); but it doesn't work.
Hmm, I don't know. Are you sure that it's not working specifically because of Multiplayer?
Added 15 minutes later
2. The lighting on the arenas is defined in the game's resources and cannot be changed without a special mod. That is, on other maps, if the arena is present in the maps folder, it will also become nighttime.
Is it possible to copy the lighting object from the arena to avoid affecting all files? And is it even possible? I would try, but I don't have the editor on hand right now
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...