Jump to content
Sign in to follow this  
SGT. SAVAGE

Music

Recommended Posts

is there a way to add different music to the list found in the effects screen???

if no they ok....but if there is can someone tell me how to do it?confused.gif

Share this post


Link to post
Share on other sites

Yes. smile.gif

Make a folder in your mission folder, name it Music.

Into your description.ext (if you don't have one, create one) in your mission folder, put in the following.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic

{

tracks[]=

{

music1, music2, music3

};

class music1

{

name = "music1";

sound[] = {\music\music1.ogg, db+0, 1.0};

};

class music2

{

name = "music2";

sound[] = {\music\music2.ogg, db+0, 1.0};

};

class music3

{

name = "music3";

sound[] = {\music\music3.ogg, db+0, 1.0};

};

}

<span id='postcolor'>

Change each "music#" to the name of each music file's name.

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  

×