Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Победитель
Auto-translated
Winner
I would like to add more epicness to the final battle of one of the maps. To do this, include a different melody during the battle. It would be easier to modify one of the arenas that isn't used in the game, but now I can't figure out how to include it.
I don't quite understand what you're talking about either. Creating an arena is simple, and there's also the option to add your own music to it; at least the "Music" line is present, but I haven't checked if it will play the standard music or your own (a little tweaking will make it work as needed). A self-created arena also launches without any particular problems in StartCombat.
User Avatar
Auto-translated
JonnyP, have you tried launching the arena using a script? If so, what path did you enter?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
Auto-translated
Winner
JonnyP, have you tried launching the arena using a script? If so, what path did you enter?
Yes, it works. In my map about the Raven, there are 3 or 4 arenas, I think - it launches, I just haven't messed around with the music. I don't remember the path right now - I'll check in the map.
In reply to JonnyP
User Avatar
Auto-translated
JonnyP
Yes, everything works. In my map about the Raven, there are 3 or 4 arenas, I think - it launches, I just haven't messed around with the music. I don't remember the path right now - check it in the map.
Thank you, it helped :). I guess I put too many 'nil' values. But the music still doesn't play. I'll have to figure out what to change in the settings.
Ment
Of course, I always do that. Naturally, the music will still be chosen randomly, but among the others, yours will eventually appear.
Is it possible to increase the probability of this particular melody being chosen? And do you do this in the 'Music' tab, or is there something else I need to change?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
Auto-translated
In the Music tab, rewrite the link to the music.
The probability... Well, perhaps make the music the same everywhere; otherwise, I don't know.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
Is there a way to calculate the balance of a battle? For example, if you have 5 creatures of level 3, how many creatures of level 1 would you need for the difficulty to be "medium"? Maybe there's some kind of table? I searched on Google, but I didn't find anything.
User Avatar
Auto-translated
If you change the path, everything works. The problem is that it also works in other maps. Ment, is it possible to make changes through a script?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
Auto-translated
No, unfortunately, it is not possible.
Is it possible to calculate the balance of a battle in some way?
In theory, it is possible. Each creature has a Power property (you can view it in the xdb file data.pak/GameMechanics/Creature/Creatures/etc.). If I understand correctly, they are summed up for each army, multiplied by a certain coefficient corresponding to the hero's strength, and then the size of their ratio is checked.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
Auto-translated
Could you please tell me where the specializations are located in the game files? I don't mean the descriptions, but the actual principles of how they work. For example, if I want to change Ingvar's ability so that defenders are upgraded every 2 levels instead of every 5, where do I need to go? :confused:
User Avatar
Auto-translated
Unfortunately, I couldn't find it. Perhaps it's not located there at all, but is embedded within the game itself.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
Does setting the "IsRemovable" property to true allow a script to remove the object, or does it mean something else?
In reply to 32MeTpa
User Avatar
Auto-translated
32MeTpa
Does setting the "IsRemovable" property to true allow a script to remove the object, or is it something else?
Yes. And it seems to allow moving it as well.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
Auto-translated
Could you please tell me: 1) Is it possible to change the hero's texture? (in a way that it can be packed into a map file) 2) Is there a script function that allows you to add a certain number of specific creatures to a specific castle using an (if...then) statement? Regarding the first question, I found the answer myself after a thorough search in the Shared files.
Auto-translated
2) Script function - (if ... then) add a certain number of creatures to a specific castle.
function ...function name...()
if ...condition... then
AddObjectCreatures(..."object name"..., creature ID, quantity);
end;
end;
If the condition is entering a region, interacting with an object, or the start of a new day, then a corresponding trigger is needed.
Дайте мне всего шесть строк, написанных рукой самого честного человека, и я найду, за что его можно повесить.
Весьма хороший попутчик... До первого перекрестка.
User Avatar
Auto-translated
Thank you for the feature.

Statistics

Welcome our newest member: Emil