Home   Help Search Login Register  

Author Topic: sound unitlost not found  (Read 630 times)

0 Members and 1 Guest are viewing this topic.

fragsta

  • Guest
sound unitlost not found
« on: 24 May 2003, 22:51:28 »
my description.ext is like this:

Code: [Select]
class CfgSounds
{
   sounds[] =
      {
         unitlost
      };
   
   class unitlost
   
   {
      name = "unitlost";
      sound[] = {"\sounds\unitlost.ogg", 1, 1.0};
      titles[] = {   };
   };
   class speech2
   
};

and i have a trigger so that when someone dies, the sound will play. I have a the right named sound in the sounds folder of the mission, but when i preview the mission, it says "Sound unitlost not found." So what am I doing wrong?

Thanx in advance

fragsta

  • Guest
Re:sound unitlost not found
« Reply #1 on: 24 May 2003, 23:27:27 »
please help me!!!!!!!!!!!!!!!!! I need to know!

thanx in advance!?

bmgarcangel

  • Guest
Re:sound unitlost not found
« Reply #2 on: 25 May 2003, 00:01:46 »
// SOUNDS //
class CfgSounds
{
   sounds[] =    { example };

      class example
   {
      name = "example";
      sound[] = {"example.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_
      };
   };
};

This is what is should look like
« Last Edit: 25 May 2003, 00:03:41 by BMGARCANGEL <Brendan> »

fragsta

  • Guest
Re:sound unitlost not found
« Reply #3 on: 25 May 2003, 11:59:23 »
Ok, there is no "Unitlost nof found message" but the sound isnt playing. I think I will abandon this idea for a while.

Knut Erik

  • Guest
Re:sound unitlost not found
« Reply #4 on: 26 May 2003, 12:56:33 »
Is your sound file in MONO format???
It has to be in order to make it work!
Also... If you use the exsample that Brendan gave you, the file must NOT be in a "sound" folder. It must be in the same folder as your scripts, description, mission.sqm ... ... ...

Does it work now :/

fragsta

  • Guest
Re:sound unitlost not found
« Reply #5 on: 26 May 2003, 13:31:03 »
I'm pretty sure it is mono, and i changed the descriprion so it runs from a sound folder. I dunno!

Knut Erik

  • Guest
Re:sound unitlost not found
« Reply #6 on: 26 May 2003, 14:29:31 »
In your description ext file you'll find a line that looks like this
     sound[] = {"example.ogg", db-40, 1.0};


Change it into this
     sound[] = {"example.ogg", db-0, 1.0};


Any luck :-/

fragsta

  • Guest
Re:sound unitlost not found
« Reply #7 on: 26 May 2003, 15:54:46 »
Nope, no luck, unfortunately!

Knut Erik

  • Guest
Re:sound unitlost not found
« Reply #8 on: 26 May 2003, 17:39:46 »
Upload your sound file and let me have a look

fragsta

  • Guest
Re:sound unitlost not found
« Reply #9 on: 26 May 2003, 18:58:01 »
Here it is:
It is my voice edited to sound like EVA's from CnC. It's the best I could do.