Home   Help Search Login Register  

Author Topic: Sound trouble.  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

mgkaplan

  • Guest
Sound trouble.
« on: 17 Mar 2003, 08:28:49 »
Hello everyone. I'm working on a map, and I'm trying to add sound for a conversation in the intro. I used the sound tutorial by bloodmixer, and used the software suggested by the tutorial. Everything seems to go right, but when I get to the sound part, it displays the text associated with the sound, from the stringtable, but there is no audible sound. I've been pulling my hair out over this one so any help would be appreciated.

Here is my text for the description file.



class CfgSounds
{
sounds[] = { morning };

class morning
{
name = "morning";
sound[] = {"morning.ogg", db-40, 1};
titles[] =
{
0, $STRM_Morning
};
};
};




Knut Erik

  • Guest
Re:Sound trouble.
« Reply #1 on: 17 Mar 2003, 09:05:11 »
Are you sure that the sound file is in .ogg format?
Also remember that the sound must be in MONO format.
The sounds must be in a folder named "Sound" in your
operation flashpoint\users\yourname\mission\missionname

mgkaplan

  • Guest
Re:Sound trouble.
« Reply #2 on: 17 Mar 2003, 23:58:12 »
Mono? Well, I will try that. I had it in stereo. Thanks a lot for the help.




mgkaplan

  • Guest
Re:Sound trouble.
« Reply #3 on: 18 Mar 2003, 00:47:02 »
Unfourtantly I still can't hear any sound. I have uploaded my sound file. Maybe their is a problem with it. Thanks for your help.

Knut Erik

  • Guest
Re:Sound trouble.
« Reply #4 on: 18 Mar 2003, 10:23:14 »
Here is my text for the description file.



class CfgSounds
{
sounds[] = { morning };

class morning
{
name = "morning";
sound[] = {"morning.ogg", db-40, 1};
titles[] =
{
0, $STRM_Morning
};
};
};



Try to remove a }; at the end. I think it is one to mush



class CfgSounds
{
sounds[] = { morning };

class morning
{
name = "morning";
sound[] = {"morning.ogg", db-40, 1};
titles[] =
{
0, $STRM_Morning
};
};
};  <== Remove

I'll check the soundfile when I gets home  ;)

mgkaplan

  • Guest
Re:Sound trouble.
« Reply #5 on: 19 Mar 2003, 00:16:05 »
That did it! Wooo hoooo! *Dances around room screaming and jumping... knocks over lampost starts electrical fire but is still happy about the sound working*

Thanks a lot buddy. Life is so much better now!

Knut Erik

  • Guest
Re:Sound trouble.
« Reply #6 on: 19 Mar 2003, 11:33:19 »
I'm glad it worked. Now there is only one thing left..  :D


 ;) Solve the topic!  ;)