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:
Легендарная война
Сердце вулкана
Передел мира