OpenXcom Forum
Modding => Work In Progress => Topic started by: silencer_pl on January 25, 2016, 09:55:25 pm
-
Hello,
I have a question, did something change in the way I should specify in which mission I want different music file to play? I've been using all the time specific rule called Musics where I had just this:
musics:
- type: LIGHTNINGWAR
normalization: 1.00
And in another rule for example in base defense I have something like this:
- type: STR_BASE_DEFENSE
music:
- type: LIGHTNINGWAR
Yes I have this file in my UFO/Sound folder because I had it working in the past. But now it's not working. I'm using nightly from 2015-12-27
-
try putting it in the mod's folder instead?
-
I tried putting an .ogg file in my mod, define it in the music.rul... And my game stopped playing any music whatsoever. :P
-
For reference I just tried this to add a new music and apply it to the Terror Mission and it worked fine:
musics:
- type: LIGHTNINGWAR
alienDeployments:
- type: STR_TERROR_MISSION
briefing:
palette: 2
music: LIGHTNINGWAR
music:
- LIGHTNINGWAR
-
Many thanks SupSuper, this should be helpful.
EDIT: No, I tried doing the same and it's the same problem: no music works in the game at all.
Is it a recent thing? If so, it may be an OXCE problem.
Also, does it matter where exactly in the mod the file is?
-
Try putting them under SOUND (top-level subdirectory). I kinda remember this was needed on my system to get cydonias fall working.
-
Try putting them under SOUND (top-level subdirectory). I kinda remember this was needed on my system to get cydonias fall working.
Yup, that did it. Thanks!