Jump to content
Sign in to follow this  
pazuzu

Playing more than one music file

Recommended Posts

Hi, I'm having trouble playing more than one music file in the mission I'm making. I have 3 ogg files in my music folder but only one will play & only in the first trigger I've set for the intro/cutscene. When I set another trigger to play another music file for later in the game the trigger will work for text but the music wont play. I'm making this mission for OFP Cold war crisis v1.46. Is there a limit for size of music files in this version?

Oh & not only will the custom music not play but also the stock music from editor...

Thanks

Share this post


Link to post
Share on other sites

Did you fade the first musicpart out (time fademusic 0)? If you did that, yu'll have to fade it in again (time fademusic 10) or you won't be able to hear any music. Did you write it correctly in the desxription.ext?

Like this:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic{

tracks[]= {};

       class music1{name="music1";sound[]={\music\music1.ogg,db+12,1};titles[]={};};

       class music2{name="music2";sound[]={\music\music2.ogg,db+12,1};titles[]={};};

 

};

Mfg MEDICUS

Share this post


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

hmm - time fadeMusic 1

should do it aswell - 0 - 1 is the usual range of ofp's volume

btw - by saying: your stock doesn't play aswell anymore after

your first song, then i guess it must have to do with what

Medicus said - somewhere you must have faded out your

music to stop it from playing.

~S~ CD

Share this post


Link to post
Share on other sites

Right before your new music, put

playmusic ""

Then no music will play, then it'll work I think smile_o.gif

(Hope that's your problem)

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  

×