Home   Help Search Login Register  

Author Topic: Music problem  (Read 748 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
Music problem
« on: 20 May 2003, 18:34:36 »
hi
i was playing around with my description.ext trying to get sounds to work but this will not.

Then i tryed to load the mission and OFP crashed, an error msg then came up: Some input after EndOfFile.

here is a part of my discription.ext:


class CfgMusic
{
  tracks[]=
  {
      mguns
  };
 
  class mguns
  {
      name = "mguns";
      sound[] = {\music\mguns.ogg, db+10, 1.0};
  };
};
  tracks[]=
  {
      rifle1
  };
 
  class rifle1
  {
      name = "rifle1";
      sound[] = {\music\rifle1.ogg, db+10, 1.0};
  };
};
  tracks[]=
  {
      mgun_burst2
  };
 
  class mgun_burst2
  {
      name = "mgburst2";
      sound[] = {\music\mgun_burst2.ogg, db+10, 1.0};
  };
};
  tracks[]=
  {
      mgun_burst3
  };
 
  class mgun_burst3
  {
      name = "mgburst3";
      sound[] = {\music\mgun_burst3.ogg, db+10, 1.0};
  };
};
  tracks[]=
  {
      mgun_burst4
  };
 
  class mgun_burst4
  {
      name = "mgburst4";
      sound[] = {\music\mgun_burst4.ogg, db+10, 1.0};
  };
};
  tracks[]=
  {
      mgun_burst1
  };
 
  class mgun_burst1
  {
      name = "mgburst";
      sound[] = {\music\mgun_burst1.ogg, db+10, 1.0};
  };
};
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

marketleader

  • Guest
Re:Music problem
« Reply #1 on: 20 May 2003, 20:17:55 »
hey mate,
i've never seen a description.ext with:
sound[] = {\music\mguns.ogg, db+10, 1.0};
i usually do it, if i were you:
sound[] = {mguns.ogg, db10,1.0}
try it!  :)

i get problems saying it cant find the file, though. :-\. You try it but i think you'll get the same problem. not sure  :'(.
good luck mate! ;)

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Music problem
« Reply #2 on: 20 May 2003, 20:46:05 »
Here's how your description.ext should look like:

class CfgMusic
{
   tracks[]=
   {
      mguns, rifle1, mgun_burst1, mgun_burst2, mgun_burst3, mgun_burst4
   };
 
   class mguns
   {
      name = "mguns";
      sound[] = {"\music\mguns.ogg", db+10, 1.0};
   };
 
   class rifle1
   {
      name = "rifle1";
      sound[] = {"\music\rifle1.ogg", db+10, 1.0};
   };

   class mgun_burst1
   {
      name = "mgburst";
      sound[] = {"\music\mgun_burst1.ogg", db+10, 1.0};
   };
 
   class mgun_burst2
   {
      name = "mgburst2";
      sound[] = {"\music\mgun_burst2.ogg", db+10, 1.0};
   };
 
   class mgun_burst3
   {
      name = "mgburst3";
      sound[] = {"\music\mgun_burst3.ogg", db+10, 1.0};
   };
 
   class mgun_burst4
   {
      name = "mgburst4";
      sound[] = {"\music\mgun_burst4.ogg", db+10, 1.0};
   };
 
};

...if I'm not mistaken. Good luck!


Offline punisher

  • Members
  • *
Re:Music problem
« Reply #3 on: 20 May 2003, 22:02:03 »
cheers it worked
 :D
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat