Home   Help Search Login Register  

Author Topic: Configuring Environmental Sounds  (Read 973 times)

0 Members and 2 Guests are viewing this topic.

YankeeTanker

  • Guest
Configuring Environmental Sounds
« 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.
 

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Configuring Environmental Sounds
« Reply #1 on: 29 Sep 2002, 10:59:01 »
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.  :(
« Last Edit: 29 Sep 2002, 11:00:58 by Black_Feather »

YankeeTanker

  • Guest
Re:Configuring Environmental Sounds
« Reply #2 on: 30 Sep 2002, 04:08:31 »

  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.