Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Heroist
Auto-translated
Heroist
Slovenec:

1) AddHeroCreature ('heroname', 15, 35)

2) Download the special program. It's called HoMM5MapScriptsEditor.


Thank you. I'll try it out now.
In reply to Heroist
User Avatar
Auto-translated
ChangeHeroStat('heroname' , stat_id (numbers from 0 to 8) , 0)
I repeat: ChangeHeroStat does not set, but changes the hero's parameter by the value of the third parameter. As for the stats: magic and knowledge cannot be lower than 1.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
Ugh, yes. I wrote it for the plus version.

By the way, is it impossible to make a -1000 delta? Is it necessary to use "GetStat - 1000" to output it?

Whatever
In reply to Heroist
User Avatar
Auto-translated
Heroist
Ugh, yeah. I wrote that for the plus. By the way, can't we just use -1000 as the delta? Does it have to be done through "GetStat - 1000"?
You can.....
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
Excellent. And I read somewhere that delta cannot be negative.

Whatever
In reply to Heroist
User Avatar
Auto-translated
Heroist
Excellent. And I read somewhere that delta can't be negative.
Based on my observation, the stat won't increase until the delta is compensated.

I.e.

ChangeHeroStat(hero, 1, -1000)
ChangeHeroStat(hero, 1, 10)

Will leave the hero with zero attack.

P.S. I just checked.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
Thanks again for checking. I hadn't dared to use a negative delta before.

Whatever
User Avatar
Auto-translated
Unfortunately, I can't help. Unless, of course, you want me to translate it.

Whatever
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
How does WarpToMap work?
It loads a different map. As I understand it, you need to specify the desired map.xdb (or specify it somewhere and then indicate its number).
Apparently, it only works in single-player mode in version 3.1, but I haven't found any use for it in the developers' files.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
Auto-translated
It feels like this has been discussed before, but I couldn't find it :D

The game doesn't recognize the map:
1. The path to the map and the game is short.
2. The name is in Latin characters.
3. The map opens in the editor without any issues or errors.
4. The map size is normal.
5. I even took ready-made maps, but after editing, it didn't recognize them either (minor edits were made, such as removing an extra peasant unit, etc.).
User Avatar
Auto-translated
Are those "Ready" maps perhaps RMG maps? They also don't open twice.
There might also be a problem with the paths, after all.

Whatever
Auto-translated
RMG – does it refer to the map generator? If so, then no. I modified downloaded maps and tried playing with just 2 players and 2 towns, but the result is the same.
User Avatar
Auto-translated
Downloaded maps, as well as those you create in the editor, are most likely located in the same Maps folder. This means that they have the same path. Most likely, your path contains characters that are not in the Latin alphabet, for example: D: мои игры: герои 5: HOMM_V: Maps: Karta1.h5m

Added after 49 seconds
True, I'm not sure, but I read somewhere that the problem might be in this.

Whatever
Auto-translated
No, as I wrote above, the path and names are correct. Path: D:\Heroes of Might and Magic V - Tribes of the East\Maps

Statistics

Welcome our newest member: Emil