Posts from Current questions and answers regarding the map editor.
Auto-translated
In short, sounds need to be imported as resources; then it will work properly! So that the editor assigns an ID and handles everything else automatically.
I added a new sound like this: I checked the box when adding it, which said "Export after creation." I didn't find another way to add it.
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира
I added a new sound like this; I checked the box when adding it that said "Export after creation." I didn't find another way to add it.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира
Play2DSound("/Maps/SingleMissions/Map Name/SecretArea.(Sound).xdb#xpointer(/Sound)");
The sound played. Guarantee ~75%
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Okay. Since we are not interested in how it doesn't work, but how it does work, I will tell you how it worked for me. I downloaded the sound in wav format and put it in the Complete folder of the game folder. I opened my map and found the line in the Map Properties Tree => Loading Screen Sound (it doesn't really matter which one, the main thing is for the Sound type). I clicked New and entered the name — SecretAreaSound.(Sound). I clicked OK, and in the window that appeared, in the parameters, in Srcfile, I selected my sound from the Complete folder. Then I set Is3D to false and NeedLocalization to true. I hovered over the sound resource in the file system tree on the left, right-clicked => Export. The editor automatically reloaded, and I clicked OK in the window, and it closed. I go to the script and write thereThe sound played. Guarantee ~75%Play2DSound("/Maps/SingleMissions/Map Name/SecretArea.(Sound).xdb#xpointer(/Sound)");
I remember once even trying to do something similar when I needed to add voice acting to the loading screen.
Thank you, it worked.
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира
I remember once trying to do something similar, when I needed to add voiceovers to the loading screen.
Thanks, it worked.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
The editor has been studied at a decent level, and I want to create something complete. I am interested in the topic of how to add my fan-made campaign to Heroes 5 and link the leveled-up heroes between missions. I would be very grateful.
After creation, the campaign file will be sent to the folder: Game folder/User campaigns/.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Hello. Campaigns are created through Tools => Create Campaign. It's not necessary to have all missions created; campaigns can be edited by simply opening them in the editor. After creation, a new window will appear; you'll quickly figure it out. If not, feel free to ask.
After creation, the campaign file will be saved to the folder: Game folder/User campaigns/.
Thank you)
Added 7 hours 52 minutes ago
Hello again. I have a couple more questions.
1. How can I make it so that only my edited heroes appear in the tavern? I've looked everywhere, even found how to change building prices and how to modify the units added, but I don't know how to place my desired heroes in the tavern, with their own biography, army, and payment.
2. How can I make a caravan with a unit of troops appear from nowhere and head to a specified city?
3. Is it possible to restrict certain weeks? That is, to prevent some creatures from spawning because they ruin the atmosphere of the map?
1. How can I make it so that only my edited heroes appear in the tavern? I've looked everywhere, even found how to change building prices and how to modify the units added, but I don't know how to put my desired heroes in the tavern, with their own biography, army, and payment. I'm aware of the AllowPlayerTavernRace command, but I specifically want my edited heroes, with their own biography, army, and payment.
2. How can I make a caravan with a squad of troops appear out of nowhere and head to a specified town?
3. Is it possible to limit certain weeks? That is, to prevent some creatures from spawning because they ruin the atmosphere of the map?
2. Use the CreateCaravan function. In the end coordinates, specify the cell in front of the city exit.
3. Yes, Map Properties Tree => Moon Calendar Modifications => Block Monster Weeks => true.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
1. To prevent unnecessary heroes from appearing in the tavern, adjust the Map Properties => Heroes settings. Uncheck the boxes for all the heroes you don't want to see in the taverns. Note: Are the new heroes completely new, or are they modified versions of existing ones? P.S. I'm not sure if it's possible to set the price of a hero in the tavern using scripts...
2. Use the CreateCaravan function. Specify the coordinates of the end point as the tile just before the exit from the city.
3. Yes, Map Properties Tree => Moon Calendar Modifications => Block Monster Weeks => true.
Regarding the first point. I've created a series of scripted heroes, both main and secondary. I simply don't want to release a single hero to explore the map, as it's always annoying that the computer tries to seize a captured Castle, or I just want to save time and level up my main hero faster. But I don't want to allow regular, non-scripted heroes to appear. Let's just say I'm trying to create my own world. Perhaps it will help if I specify that a secondary hero is not a scripted hero; will it then appear in the tavern?
DeployReserveHero(...);
SetObjectOwner(..., PLAYER_1);
Note: this is necessary if you have reserved the hero for the computer.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
It probably won't display because user-created heroes don't have their own unique ID. And the developers have a reserved list of these IDs somewhere. Simply put, set IsHideInEditor = false in AdvMapHeroShared. Then, in Map Properties => Players => Player Number => ReserveHeroList, add your scripted heroes. It's best to do this for computer-controlled heroes. Then, by setting a trigger (for example, touching a tavern), use:Note: this is necessary if you have reserved the hero for the computer.DeployReserveHero(...);
SetObjectOwner(..., PLAYER_1);
Thank you. I'll try it. I hope I won't bother you too much here. I have a feeling I'll have a couple more questions.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________