OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: YankeeTanker on 29 Sep 2002, 05:47:30
-
Ok...
OFP experts give me a hand here.
I am far beyond trying to configure the normal music and sounds and stuff... now is there anything special or different to Configuring the environmental sounds..
this is what I have..
class CfgEnvSounds
{
sounds[] = {RadioEnvironment};
class RadioEnvironment
{
name = "RadioEnvironment";
sound[] = {"RadioEnvironment.ogg", db+0, 1.0};
titles =;
};
I wasn't sure if there needed to be anything in the titles... figured there didn't because there is no text to be displayed... but I know that this freakin thing is touchy so..??
I get the sound but it is to be only in the radius area around the radio... but when you walk in and out you still hear it. Also when the mission begins I get a 'No entry....' for the sound file that is playing all the time??
Any ideas??
Thanks
YankeeTanker.
-
this is how you make a Environment sound,
class CfgEnvSounds
{
   sounds[] = {asound};
   class asound
   {
      name = "asound";
      sound[] = {"soundfile.ogg", db+0, 1.0};
      soundNight[]={"SoundFileCanBeDifferent.ogg", db+0, 1.0};
      titles[] = {};
   };
};
but it still plays everywhere once its started. :(
-
Thanks... I would never have gotten that right... to bad it is all for nothing.. I guess if someone can come up with a way to turn it back off... everything will go as planned..
Thanks anyway BlackFeather.
YT.