OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mgkaplan 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
};
};
};
-
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
-
Mono? Well, I will try that. I had it in stereo. Thanks a lot for the help.
-
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.
-
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 ;)
-
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!
-
I'm glad it worked. Now there is only one thing left.. :D
;) Solve the topic! ;)