Home   Help Search Login Register  

Author Topic: desperate for help....  (Read 1037 times)

0 Members and 1 Guest are viewing this topic.

futurehornetdriver

  • Guest
desperate for help....
« on: 29 Sep 2002, 05:04:45 »
Sup all..I know this topic has been covered over and over again. But I can't get my custom music to work in my custom missions.  I've gotten it to work before but I must be missing something.  I've got my ogg files in the music folder of the mission here's my description.ext:
class CfgMusic
{

tracks[]={free,beret};


class free
{

name = "GetFree";
sound[] = {\music\free.ogg, db+0, 1.0};
};
class beret
{

name = "GBerets";
sound[] = {\music\beret.ogg, db+0, 1.0};
};
};  
Any help would GREATLY be appreciated..thanks in advance

crow

  • Guest
Re:desperate for help....
« Reply #1 on: 29 Sep 2002, 09:13:35 »
This is a description.ext file that I know works.  I keep using the same one just change the names.
class CfgMusic
{
class cr33dance
{
name = "cr33dance";
sound[] = {\music\cr33dance.ogg, db+300, 1.0};
};

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

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

};

I hope this helps.  
 :cheers:
« Last Edit: 29 Sep 2002, 09:15:04 by crow »

futurehornetdriver

  • Guest
Re:desperate for help....
« Reply #2 on: 29 Sep 2002, 19:33:41 »
well, I tried copying and pastin so many example discription.ext's it's not even funny...I still get not found when I type playmusic"title".  I have all the music files in the music folder..their all ogg format at 128bits and 44100. I even tried renaming the mission folder with an ending of .demo cause I heard that was supposed to help..but when I do that then I can't pull up the mission in the editor. Is that because the mission is on an addon island? are there any other suggestions anyone else could think of....I'm perplexed..I spent all freakin day yesterday tryin to get this thing to work.....

Kaliyuga

  • Guest
Re:desperate for help....
« Reply #3 on: 29 Sep 2002, 19:52:54 »
class CfgMusic
{
      tracks[]={music};
 
      class music
      {
            name = "";
            sound[] = {\Music\WhiteZombie.ogg,db+30, 1.0};
      };
 class music1
      {
            name = "";
            sound[] = {\music\People of the Sun.ogg, db+30,  
1.0};
      };  
};

there's another one for you to copy ;)      

Now, put the .ogg file in a folder named music, put it inside your mission folder....

and then in a trigger or waypoint use this code:

playmusic "music"    (for the first track listed)
playmusic "music1"  (for the second track listed)

**notice the text in quotes is the class listed in the description.ext**

This works, used it yesterday ;)
« Last Edit: 29 Sep 2002, 19:55:32 by Kaliyuga »

futurehornetdriver

  • Guest
Re:desperate for help....
« Reply #4 on: 30 Sep 2002, 06:21:32 »
Thanx guys for the assit...I finally got that custom music problem solved...I had saved the file wrong...LOL....now back to finishing thing between classes and flyin..lata