Home   Help Search Login Register  

Author Topic: More Music  (Read 2040 times)

0 Members and 1 Guest are viewing this topic.

Raven

  • Guest
More Music
« on: 28 Aug 2002, 21:38:10 »
Hi Guy

Help please. How do i get more than one piece of my own music into a mission, I've got one in but I'm having problems with a second/third etc. Is it possible, and if so, can someone help with the script.

Thanks

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:More Music
« Reply #1 on: 29 Aug 2002, 04:25:50 »
class CfgMusic
{
     tracks[]={mymusic1, mymusic2, mymusic3};


     class mymusic1
     {
     name = "";
     sound[] = {\music\mymusic1.ogg, db+10, 1.0};
     };

     class mymusic2
     {
     name = "";
     sound[] = {\music\mymusic2.ogg, db+10, 1.0};
     };

     class mymusic3
     {
     name = "";
     sound[] = {\music\mymusic3.ogg, db+10, 1.0};
     };

};

Raven

  • Guest
Re:More Music
« Reply #2 on: 29 Aug 2002, 19:37:11 »
Thanks Black Feather worked a treat.