![]() |
[split] Help with the music! - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [split] Help with the music! (/thread-14573.html) |
[split] Help with the music! - JetlinerX - 04-07-2012 I have a "PlayMusic" script, and I need voice acting over that. But only audio with the 0 priority can be heard, how do I use another "PlayMusic" for a voice over, or how do I make the correct file to have them both play? Thanks in advance. RE: [split] Help with the music! - Xanthos - 04-07-2012 use a .snt file. For the .snt files you can do PlaySoundAtEntity instead of PlayMusic. Reply if you don't know how to make .snt files RE: [split] Help with the music! - JetlinerX - 04-07-2012 Reply. ![]() RE: [split] Help with the music! - Xanthos - 04-07-2012 First make a new notepad file. Put this file and the .ogg file in the same sounds folder. Rename the notepad file. "Name of the ogg file.snt" In the .snt file do this ------------ <SOUNDENTITY> <SOUNDS> <Main> <Sound File="Name of ogg to play.ogg" /> </Main> </SOUNDS> <PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" /> </SOUNDENTITY> ---------------- When the .snt file is played it will automatically play the .ogg file or if you put two ogg files names in the snt file it will play a random one. I am not sure how to add two so backup one of the regular amnesia ones and open it and see. RE: [split] Help with the music! - JetlinerX - 04-07-2012 Seems simple! Thanks! |