Jump to content
Sign in to follow this  
UKSubmariner

Sound issues

Recommended Posts

I've got a minor glitch in one of the missions I've been churning out..

There are 2 voice sample. "voicesample" and "voicesample2"

As well as 2 Music files "Theme" and "Closing"

Now I can only get "Voicesample" and "Theme" to play, the rest wont.

Below is the code from the description file.. can someone who knows there stuff tell me if it's something to do with the way it's laid out?

Quote[/b] ]

// Define speech sounds in the game

class CfgSounds

{

sounds[] =

{

voicesample,voicesample2

};

class voicesample

{

name = "";

sound[] = {"\sound\voicesample.ogg", db+40, 1.0};

titles[] =

{

0, $STRM_voicesample

};

class voicesample2

{

name = "";

sound[] = {"\sound\voicesample2.ogg", db-40, 1.0};

titles[] =

{

1, $STRM_voicesample2

};

};

};

class CfgMusic

{

tracks[]={theme};

class theme

{

name = "";

sound[] = {\music\theme.ogg, db+30, 1.0};

class closing

{

name = "";

sound[] = {\music\closing.ogg, db+30, 1.0};

};

};

class CfgSFX

{

sounds[] = {};

};

class CfgEnvSounds

{

sounds[] = {};

};

Thanks a bundle if you can help.. if you can't.. thanks anyway for looking smile_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]

{

tracks[]={theme};

This line should look like this

tracks[]={theme,closing};

as for the sound cant see the error so far

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  

×