Home   Help Search Login Register  

Author Topic: Multiple Sounds  (Read 710 times)

0 Members and 1 Guest are viewing this topic.

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Multiple Sounds
« on: 13 Feb 2003, 16:29:16 »
I cant figure out these description.ext sounds.  Ive got my sounds working, sort of.  But whenever the sound plays, I get the error;

No Entry

\description.ext/cfgsounds/b2z.titles
« Last Edit: 13 Feb 2003, 17:12:25 by [icarus_uk] »

Navy_Seals

  • Guest
Re:Multiple Sounds
« Reply #1 on: 13 Feb 2003, 17:28:49 »
Hey icarus, having to much fun there, eh buddy  ;D ::)
Ok here we go, this is the complete description.ext for class CfgMusic
class CfgMusic
{
  tracks[]=
  {
      track, track1, track2, track3, track4, track5
  };
 
  class track
  {
      name = "track";
      sound[] = {\music\track.ogg, db+0, 1.0};
  };
  class track1
  {
      name = "track1";
      sound[] = {\music\track1.ogg, db+0, 1.0};
  };
class track2
  {
      name = "track2";
      sound[] = {\music\track2.ogg, db+0, 1.0};
  };
class track3
  {
      name = "track3";
      sound[] = {\music\track3.ogg, db+0, 1.0};
  };
class track4
  {
      name = "track4";
      sound[] = {\music\track4.ogg, db+0, 1.0};
  };
class track5
  {
      name = "track5";
      sound[] = {\music\track5.ogg, db+0, 1.0};
  };
};

Ok thas should be it
Cheers  :P ;)


Edit: Hey make up ur mind hehe, u need help with music, now its sounds with error, what next  ;D
« Last Edit: 13 Feb 2003, 17:30:55 by Navy_Seals »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Multiple Sounds
« Reply #2 on: 13 Feb 2003, 18:38:12 »
I dont want music, I want sounds.

Navy_Seals

  • Guest
Re:Multiple Sounds
« Reply #3 on: 13 Feb 2003, 22:24:25 »
Hehe well i should have said so in the first place  ;D Here we go.......
class CfgSounds
{
   sounds[] =
      {
         speech1, speech2, speech3
      };
   
   class speech1
   
   {
      name = "speech1";
      sound[] = {"\sounds\speech1.ogg", 1, 1.0};
      titles[] = {   };
   };
   class speech2
   
   {
      name = "speech2";
      sound[] = {"\sounds\speech2.ogg", 1, 1.0};
      titles[] = {   };
   };
   class speech1
   
   {
      name = "speech3";
      sound[] = {"\sounds\speech3.ogg", 1, 1.0};
      titles[] = {   };
   };
};

U can also create stringtable.csv for sounds but its not nessesary
Anything else, if not u can also try reading the tutorial for further info -> http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=3364

Cheers  ;) ::)

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Multiple Sounds
« Reply #4 on: 14 Feb 2003, 03:49:34 »
Ahhh, for some reason I had all the titles parts at the end in one long string.