Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
14 years ago
Auto-translated
Not at all. Take a hero, click Object Properties at the top of the screen, then Settings, and finally Experience.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
14 years ago
Auto-translated
Thank you very much, Ment!!!

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????
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:
User Avatar
14 years ago
Auto-translated
Because it displays not the level, but the experience. To find out how much experience is needed for a specific level, look for the HOMM5_Hero_Level_and_Experience.pdf file in the Editor Documentation.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
14 years ago
Auto-translated
Ment, I can't find the manual. Could you please tell me how much experience is needed to reach: - Level 3. - Level 5. - Level 8. - Level 11. - Level 14. Thank you in advance!
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:
In reply to Ment
User Avatar
14 years ago
Auto-translated
Thank you very much, Ment, everything worked out.
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!
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:
User Avatar
14 years ago
Auto-translated
I would like to ask this question in advance. I have seen on many maps, including those not from the campaign, how a custom image is set in the loading screen instead of the standard HoMMV image. How can this be done?:confused:

For example, Ser9K had it in "OT: Dragon Wisdom".
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
14 years ago
Auto-translated
A couple of questions arose, maybe someone knows:
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).
User Avatar
14 years ago
Auto-translated
1. SetPlayerStartResources(player, wood, ore, mercury, crystals, sulfur, gems, gold);
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.
 

К А
Стикеры GBF в Telegram
User Avatar
14 years ago
Auto-translated
Ment, thank you for the quick response.
User Avatar
14 years ago
Auto-translated
Ment
You can simply use if HasArtefact("Erasial",66) then...
He will understand, the main thing is to remove the semicolon.
Yes, thank you, it helped. I have another question: what should the image be so that it is displayed when the map is loaded?
User Avatar
14 years ago
Auto-translated
1024x1024, but some pixels at the bottom won't be visible (apparently starting from the 801st pixel).
------
Just in case, the format is dds.
 

К А
Стикеры GBF в Telegram
User Avatar
14 years ago
Auto-translated
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 method: MessageBox(GetMapDataPath().."qwerty.txt"); but it doesn't work.
User Avatar
14 years ago
Auto-translated
Hmm, I don't know. Are you sure that the issue isn't specifically related to multiplayer?
 

К А
Стикеры GBF в Telegram
In reply to jackysm
User Avatar
14 years ago
Auto-translated
jackysm
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.
To avoid various errors, it is strongly recommended to use a different function in Multiplayer, even if you need to send a message to all players ;)
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 ;)
jackysm
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.
Ment
Hmm, I don't know. Are you sure that it's not working specifically because of Multiplayer?
Of course, it wouldn't hurt to check the file encoding, the file path (even with the GetMapDataPath() function, the file might be in a completely different folder), etc. - these are very common mistakes too.

Added 15 minutes later
Ment

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
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...

Statistics

Welcome our newest member: recijeb