Home   Help Search Login Register  

Author Topic: Problem with CfgSFX  (Read 1070 times)

0 Members and 1 Guest are viewing this topic.

PRiME

  • Guest
Problem with CfgSFX
« on: 12 Sep 2002, 09:25:49 »
OFP crashes when I try and play the sound effect

this is whats in description file

class CfgSFX
{
   sounds[] = {};

   class click
   {
      name = "click";
      sound[] = {"click.ogg", db-10, 1.0};
      title = ;

};

the click.ogg is in /sound

Any ideas, Also will it work in MP?

PRiME

  • Guest
Re:Problem with CfgSFX
« Reply #1 on: 12 Sep 2002, 09:45:07 »
apparently its ment to be

class CfgSFX
{
        sounds[] = {"click"};
        class click
        {
                name = "click";
                sounds[]= {sound1};
                sound1[] = {"click.ogg", db-0,1,1,5,1,10};
                empty[] = {, , , , 1 , 5, 20};
        };
};

However im still having issues getting it to play ingame