Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5161
Auto-translated
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 placed it in the Complete folder of the game's 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 that it's 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, I selected my sound from the Complete folder in Srcfile. 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 there:
Play2DSound("/Maps/SingleMissions/Map Name/SecretArea.(Sound).xdb#xpointer(/Sound)");
The sound played. Guarantee ~75%
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________