Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Help with the music!
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#1
[split] Help with the music!

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.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 04-07-2012, 02:00 AM by Your Computer.)
04-07-2012, 01:57 AM
Website Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#2
RE: [split] Help with the music!

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

04-07-2012, 02:23 AM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#3
RE: [split] Help with the music!

Reply. Wink

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

04-07-2012, 07:03 AM
Website Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#4
RE: [split] Help with the music!

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.

04-07-2012, 04:11 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#5
RE: [split] Help with the music!

Seems simple! Thanks!

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

04-07-2012, 05:45 PM
Website Find




Users browsing this thread: 1 Guest(s)