OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Robinhansen on 06 Feb 2004, 00:17:11

Title: Radio sound loudness
Post by: Robinhansen on 06 Feb 2004, 00:17:11
My radio sounds is a bit too loud. How do I turn down the volume? ???
Title: Re:Radio sound loudness
Post by: GrimMonkey on 06 Feb 2004, 00:59:50
Code: [Select]
x SoundVolume yx= how long it takes to reach new level, 0 is instant
y= volume level to send to, default is 0.5


Beware the GrimMonkey
Title: Re:Radio sound loudness
Post by: Robinhansen on 07 Feb 2004, 14:32:42
 ???
Title: Re:Radio sound loudness
Post by: Planck on 07 Feb 2004, 14:41:01
SoundVolume just checks the current sound volume.

From the Comref:

soundVolume
Type of returned value:
    Number
Description:
    Check current sound volume (set by setsoundvolume)


Now I don't know about setsoundvolume, possibly it is a config parameter.

Rip apart some sound configs to see.


Planck
Title: Re:Radio sound loudness
Post by: GrimMonkey on 07 Feb 2004, 18:59:02
Code: [Select]
x FadeSound y

x= how long it takes to reach new volume level, 0 is instantly, 1 is in 1 second
y= volume level to send to, default is 0.5

I don't think there is a setSoundVolume, the above works just fine for me.


Beware the GrimMonkey