Posts from Is it possible to add custom music to the game?
To play a music track, you need to set it as the music for the territory the hero is traversing, or as the music for the hero himself. The latter is preferable, as it affects fewer files.
Everything is configured in the "Music" tab of the extended editor (usually the bottom left window).
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Added 50 minutes later
Regarding the extended editor, I already made it, that's why I'm saying it's hard to figure out how to add music there.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
How can I make custom music play during a specific battle? Or is that impossible? And... how would I even implement it?
1. Remove all combat music.
2. Reconvert all the necessary combat music from the Music type to the Sound type.
3. Play the music as a sound using the Play2DSound function in the combat script.
Pros:
+ The desired result will be achieved.
Cons:
- The map will become a mod.
- Huge file size for the map.
- Not tested in practice, possible issues may arise.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
You can also do it like this:
1. In the Map Properties Tree, find Music and click on "...".
2. Choose any theme for the heroes (in my case, it's Godric).
3. Enter "SomeMusicName.ogg" instead of "Heroes-Godric.ogg". Make sure that the music is in OGG format and you need to put this music into the Music/AdvMap-Heroes folder.
4. PROFIT
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
I have 2 questions: 1. Why is all the music in the folder in a notepad with some kind of .xtd format? 2. How do I create a campaign where all the scenarios are interconnected?
xtd?? Are you opening the music with Notepad?
You can create it through the editor: Tools=>Create Campaign. Or you can do it using Notepad as a template.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________