Home   Help Search Login Register  

Author Topic: Really simple question  (Read 1211 times)

0 Members and 1 Guest are viewing this topic.

buzzboy762

  • Guest
Really simple question
« on: 25 Aug 2002, 04:13:59 »
Look this is a really noobish question but I still havent figured it out yet. I just want to know how to put my own music into a mission. I think it'd be neat to play the top gun theme while in a big dogfight(actually thats what im trying to do).

Wolf

  • Guest
Re:Really simple question
« Reply #1 on: 25 Aug 2002, 04:34:17 »
Create a folder in your missions folder called music.
Then, place your music file in the folder, it must be in .ogg format.

Then create a Description.ext file and place this in it.

class CfgMusic
{
      tracks[]={music};

      class music
      {
            name = "Whateveryouwantthemusicfiletobefoundunder";
            sound[] = {\music\Musicfilename.ogg,db+30, 1.0};
      };
};

Hope that helps.
Just remeber to replace the Musicfilename with the name of the music file.
And it will appear in a trigger or waypoint under music.
Or you can use the Playmusic command.
I also believe this belongs in the Sounds and Cutscens forum.
« Last Edit: 25 Aug 2002, 04:41:09 by Wolf »