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
Change Sound Volume
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#3
RE: Change Sound Volume

(11-09-2012, 10:22 PM)The chaser Wrote: You cannot do it louder with sound, but you can with music. It would be something like:

PlayMusic("scare_thump_loop.ogg", false, float afVolume, 1, 1, false);
That's a number. Change it and play with it until you get the desired effect.
Correct me if I'm wrong, but you can change the sound volume by editing the .snt file that comes with the sound.

there's a sound.ogg and a sound.snt

This is the Sound.snt


<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="YOURSOUNDFILE.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>


<Sound File="YOURSOUNDFILE.ogg" />
Tells you which .ogg must be played.

Volume="5"
Change the volume to a higher number.


You can change the volume of the sound. You just have to make your own custom sound.
Good luck!

[Image: 25F7U37.png]
(This post was last modified: 11-09-2012, 10:36 PM by Melvin.)
11-09-2012, 10:34 PM
Website Find


Messages In This Thread
Change Sound Volume - by tonitoni1998 - 11-09-2012, 10:13 PM
RE: Change Sound Volume - by The chaser - 11-09-2012, 10:22 PM
RE: Change Sound Volume - by Melvin - 11-09-2012, 10:34 PM



Users browsing this thread: 1 Guest(s)