Home   Help Search Login Register  

Author Topic: ADDING MUSIC TO MISSIONS  (Read 615 times)

0 Members and 1 Guest are viewing this topic.

medic23

  • Guest
ADDING MUSIC TO MISSIONS
« on: 12 Feb 2003, 01:59:09 »
how can i add music to my mission?

Gummi

  • Guest
Re:ADDING MUSIC TO MISSIONS
« Reply #1 on: 13 Feb 2003, 00:10:54 »
hm, is this the mission editing board, nope.

anyway
to description.ext


class CfgMusic
{
     tracks[]={};


     class music1song
     {
     name = "The songs title";
     sound[] = {\music\soundname.ogg, db+10, 1.0};
     };
};


place our ogg file to a new folder in mission's folder called Music.
then you can play using: playmusic "music1song" or choosing it from Effect section of a trigger or waypoint.
you know how to create a ogg file don't you?
« Last Edit: 13 Feb 2003, 00:11:29 by Gummi »

medic23

  • Guest
Re:ADDING MUSIC TO MISSIONS
« Reply #2 on: 14 Feb 2003, 00:29:57 »
nope i just started doing ofp missions  3 days ago  :'(

Gummi

  • Guest
Re:ADDING MUSIC TO MISSIONS
« Reply #3 on: 14 Feb 2003, 14:13:24 »
hm, u need a wav to ogg converter, I don't remember where it is though.
and make sure your music is in wav when you convert :)

3 days, i have been editing fot months and i was starting to add music few days ago.  8)
« Last Edit: 14 Feb 2003, 14:14:24 by Gummi »