Home   Help Search Login Register  

Author Topic: Problem With Sound  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

bmgarcangel

  • Guest
Problem With Sound
« on: 05 Apr 2003, 05:41:56 »
I have a problem with my Description.ext file.  I have like 2 ogg. files that can be heard and stuff but then the 3rd one can't.  When I try to play the third one the lips only move, but the sound is supposed to be there too.  Here is the description stuff.  The one that says talk4 is the one i'm having trouble with here.  Please help!

// SOUNDS //
class CfgSounds
{
   sounds[] =    { talk2,talk3,talk4 };

   class talk2
   {
      name = "talk2";
      sound[] = {"03av1.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_03av1
      };
   };
   class talk3
   {
      name = "talk3";
      sound[] = {"M02v06.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_M02v06
      };
   };
   class talk4
   {
      name = "talk4";
      sound[] = {"x00v06.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_x00v06
      };
   };
};

deaddog

  • Guest
Re:Problem With Sound
« Reply #1 on: 05 Apr 2003, 06:43:07 »
The syntax looks correct as far as I can tell.  There may be something wrong with the .ogg file.  Try swapping talk3 with talk4.  Put the x00v06.ogg file under talk3 and vice-versa.  If talk4 starts working then there must be something wrong with the .ogg file.

bmgarcangel

  • Guest
Re:Problem With Sound
« Reply #2 on: 05 Apr 2003, 06:52:35 »
here.  Give this ogg file a try with your own description.ext file.  See if it works for you.  If it don't, talk to me somemore so I can find out if it don't ;D

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Problem With Sound
« Reply #3 on: 05 Apr 2003, 16:24:57 »
Well, I tried your .ogg file.

I didn't try it in any description.ext, I converted it to .wav and it played it with Winamp, it worked fine.
I also played it as an .ogg file and it still played fine.

So it appears it is a valid sound file.


Planck
I know a little about a lot, and a lot about a little.

Knut Erik

  • Guest
Re:Problem With Sound
« Reply #4 on: 06 Apr 2003, 12:15:15 »
I know, i know!  :wave:

Try to remove this :

// SOUNDS //
class CfgSounds
{
   sounds[] =    { talk2,talk3,talk4 };

   class talk2
   {
      name = "talk2";
      sound[] = {"03av1.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_03av1
      };
   };
   class talk3
   {
      name = "talk3";
      sound[] = {"M02v06.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_M02v06
      };
   };
   class talk4
   {
      name = "talk4";
      sound[] = {"x00v06.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_x00v06
      };
   };
}; <====== Remove this one !  :o
Cool eh  :toocool: