Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#2906
Auto-translated
That's bad. And it doesn't work even with the mainHero setting. But... okay, I can remove the main heroes... Then I'll at least create one.
In any case, thank you very much for the explanation.

Whatever
User Avatar
#2907
Auto-translated
In the end, I implemented the treasure mechanic using a workaround – I placed trigger events on them that activate upon touch, and when triggered, they move the treasure to a hidden location. Scripts then simulate the player picking it up. When the treasure needs to reappear, I move it back. Patch 3.1 undoubtedly introduced many good features, but unfortunately, it also has its share of bugs.
In reply to Jack_of_shadows
User Avatar
#2908
Auto-translated
Jack_of_shadows
I ended up implementing the treasures using a workaround – I placed trigger events on them, and when triggered, I move the treasure to a hidden location, using scripts to simulate the player picking it up. When the treasure needs to reappear, I move it back. Patch 3.1 undoubtedly introduced many good features, but unfortunately, it also has its share of bugs.
Good idea!
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
#2909
Auto-translated
By the way, I was curious to know: if I create a video on one map and then copy it to another, what will happen if I delete the original map later? In other words, is the video actually recorded, and can it be inserted wherever I want, or is it still linked to the original "terrain"?

Whatever
In reply to Heroist
User Avatar
#2910
Auto-translated
If it's an advmap, then it only needs the text.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2911
Auto-translated
Yeah, just create a video on a different map, then transfer it to another map, and delete the original one. Then everything will be fine. It's just that creating terrain and landscapes in videos isn't supported, and it's essential. Thank you.

Added 5 hours 38 minutes ago
I sincerely apologize for asking the question here, but this topic is visited more often than the one where I should have asked it. Actually, the problem is that the music has disappeared from the game. Completely. I only noticed this recently, as I hadn't turned on the music in the game before. The volume is set in the profile settings, and it works everywhere. But as soon as I launch the game, everything goes silent. I apologize again. I just don't have much time to browse the forum and look for answers. I hope you understand. If you could point me to a post with an answer, or just tell me what's going on, I would be very grateful.

Added 11 hours 27 minutes ago
Is it possible to put the music file directly into the .h5m file with the map, or is it impossible to access it through the .xdb file later? Because the standard path \Maps\SingleMissons\Map\Music.odd doesn't work. You can only use ..\Maps\Music.odd, but then you still have to install the file in the Maps folder.

Whatever
User Avatar
#2912
Auto-translated
Is it possible to embed a music file directly into the .h5m map file, or is it impossible to access it through the .xdb file?
Not with music. But I had an idea to add voiceovers to maps using sounds and scripts that trigger them. Sounds can be embedded in the map, so it works fine. There aren't many limitations on the quality, so it's a viable method.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#2913
Auto-translated
Ment
There's no music. But I had an idea to add sound effects to maps using sounds and scripts that trigger them. The sounds are embedded in the map, so everything is fine. There aren't any particular limitations on the quality, so the method works.
Wouldn't the music and sound effects triggered by scripts overlap and create indistinguishable noise?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to Ment
User Avatar
#2915
Auto-translated
Is it possible to embed a music file directly into the .h5m map file, or is that not feasible? And if so, how can I access it through the .xdb file?
Because the standard path \Maps\SingleMissons\Map\Music.odd doesn't work, unfortunately. The only option is to use ..\Maps\Music.odd, but then the file still needs to be placed in the Maps folder.
It's not possible to embed it directly into the map if /maps/singlemissions/... doesn't work. There are two options:
1) Ask players to manually place the music file in the music folder;
2) Create a self-extracting archive. In this case, the user will only need to specify the path to the game folder.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2916
Auto-translated
Well, my idea is basically the same. Just ask players to unpack everything from the archive into the maps folder. The sound will also be placed there as a separate file, and it won't be too difficult to launch it from there.
As for the archive, that's a very good idea. It would look nice.

Whatever
User Avatar
#2917
Auto-translated
I have the following situation: the enemy hero is constantly stationed in the city garrison and doesn't venture out. I need to take part of his army using scripts. I already know how to take the army, but the function doesn't have access to his creatures – the hero is in the garrison. Is there a way to solve this problem?
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
#2918
Auto-translated
Use the (Add/Remove/Get)HeroCreatures functions.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2919
Auto-translated
It doesn't work. Since the hero is inside the town, he doesn't exist as an object for the game.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
#2920
Auto-translated
and can’t you teleport him either? Does an error message appear when you try to do anything with his name?

Whatever