Frictional Games Forum (read-only)

Full Version: [split] Help with the music!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
Reply. Wink
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.
Seems simple! Thanks!