Skip to content

Posts from Is it possible to add custom music to the game?

No ratings yet — be the first to rate!
In reply to }{0TT@6bI4
User Avatar
#16
Auto-translated
I would like to clarify: 1) Let's say I absolutely dislike the dungeon music in the game, and I want other players to hear my version instead. Does this mean I first need to reformat my version into a WAV file, export it to the map, remove the paths to the standard dungeon music, and then run this WAV file using a script when the player's heroes touch a location leading to the dungeon? And at the same time, I also need to somehow stop the currently playing file with the previous musical theme.
2) Converting to WAV will significantly increase the map file size, and if there are several such compositions... I read somewhere on the forum that once a certain size is reached, either the map will stop launching, or saves will not work. Is this true?
Мои карты для:
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis
User Avatar
#17
Auto-translated
1. Yes, approximately like that. But if you delete the paths in the files (Music), the music should stop playing!
2. Converting one file to wav won't take up much space, and neither will 10 (relatively). I don't know who told you that the map won't launch if the size is too large... In my map that I'm preparing, I exported about ten models and a lot of textures, and nothing, the map launches without bugs.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
User Avatar
#18
Auto-translated
Thank you for your answers; I think I won't focus too much on the music for now.
Мои карты для:
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis
User Avatar
#19
Auto-translated
The option from message number 11 can actually be implemented if the map has its own installer that distributes everything to the correct folders. It's not difficult to create an installer like InstallShield Wizard; there used to be a function for compiling such installers built into some high-level programming language compilers (Borland Delphi, for example), and it could be done in a few clicks. I think there are still such tools available. Here's one of the first results from a Google search: https://jrsoftware.org/isdl.php#qsp Regarding the map size, the problem isn't the size itself, but the large number of objects and other elements, which increases the size of the save files and can corrupt saves during extended gameplay. However, music and various texture mods won't cause any problems, as this information won't be written into the save file.
 

К А
Стикеры GBF в Telegram