Jump to content
Sign in to follow this  
Newborn

sound cfg

Recommended Posts

Hi all,

it`s the first time i am making a mission without any templates so i have a question about the descreption file. I want to put two soundcfg`s together but it doesn`t work for me it looks like that

class CfgSounds

{

sounds[] = {steam};

class steam

{

name = "steam";

sound[] = {"launch\steam.ogg", db+10, 1};

titles[] = {};

};

};

{

sounds[] = {Landing};

class landing

{

name = "Landing";

sound[] = {"Sounds\Landing.ogg", 1, 1};

titles[] = {0, ""};

};

};

does anyone know how i have to put it together or what it has to look like ???

many thx greetz

Share this post


Link to post
Share on other sites

class CfgSounds
{
sounds[] = {steam, Landing};
     class steam
     {
          name = "steam";
          sound[] = {"launch\steam.ogg", db+10, 1};
          titles[] = {};
     };
     class landing
     {
          name = "Landing";
          sound[] = {"Sounds\Landing.ogg", 1, 1};
          titles[] = {0, ""};
     };
};

I edited a few things for you, maybe this will work better. I'm no expert in this so it might not work, but it's worth trying until someone else chimes in...

Good luck.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×