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
Snt sounds [Help]
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Snt sounds [Help]

Get sony vegas or something and convert it into a .ogg sound. Then make a text file and put this into it:


Quote:<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="nameofsound.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>
Replace nameofsound with the name of the sound (keep the .ogg)

Then in a function block.

Add:

PlaySoundAtEntity("", "Nameofsound.snt", "Player", 0, false);

01-21-2012, 01:37 PM
Find


Messages In This Thread
Snt sounds [Help] - by trollox - 01-21-2012, 01:14 PM
RE: Snt sounds [Help] - by flamez3 - 01-21-2012, 01:37 PM
RE: Snt sounds [Help] - by RawkBandMan - 01-22-2012, 02:12 AM



Users browsing this thread: 1 Guest(s)