OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Red Storm on 05 Nov 2002, 17:12:52

Title: Adding multiple music files
Post by: Red Storm on 05 Nov 2002, 17:12:52
Hey all,

I manage to add one custom music file to my mission, but I can't get any additional musics to work...

Could someone please post am example of a description.ext with multiple music files here, I'm pretty much lost  :-\

Greetz,
Red Storm
Title: Re:Adding multiple music files
Post by: Navy_Seals on 05 Nov 2002, 19:06:16
class CfgMusic
{
  tracks[]=
  {
      music1, music2
  };
 
  class music1
  {
      name = "music1";
      sound[] = {\music\music1.ogg, db+30, 1.0};
  };
  class music2
  {
      name = "music2";
      sound[] = {\music\music2.ogg, db+30, 1.0};
  };
};

and i suggest u check out this tutorial -> http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=3364 (http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=3364) cheers
Title: Re:Adding multiple music files
Post by: Red Storm on 05 Nov 2002, 20:15:11
Thanks Navy.....I printed your tutorial this afternoon already  ;)