OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Blacknite on 01 Sep 2008, 04:25:01
-
Well, I am lost on what to do now... For some reason, my sound is not playing at all in game, no error messages or anything, just total silence... Here is what I did:
I converted the MP3 sound into wav format using the dBpower AMP Music Converter with 16 bit, 44100mhz, and 1 mono. Then I converted it to Ogg using the old OFP Sound Lab (http://www.ofpec.com/ed_depot/index.php?action=details&id=178&page=0&cat=xyz). Created the description file with the following info:
onLoadIntro="Hi"
onLoadMission="hello"
class CfgSounds
{
sounds[] = {melee, city, helo, hotel, test};
class melee
{
name = "melee";
sound[] = {"melee.ogg", db+1, 1.0};
titles[] = {0, };
};
class city
{
name = "city";
sound[] = {"city.ogg", db+1, 1.0};
titles[] = {0, };
};
class helo
{
name = "helo";
sound[] = {"helo.ogg", db+1, 1.0};
titles[] = {0, };
};
class hotel
{
name = "hotel";
sound[] = {"hotel.ogg", db+1, 1.0};
titles[] = {0, };
};
class test
{
name = "test";
sound[] = {"test.ogg", db+1, 1.0};
titles[] = {0, };
};
};
class CfgMusic
{
tracks[]={music};
class music
{
name = "music";
sound[] = {music.ogg, db+0, 1.0};
};
};
But not a single one of those sounds work at all!
Enclosed is one of the sound files (http://www.geocities.com/luftwaffe_50/melee.wav).
-
Maybe attach a small sample mission. Maybe its the way your calling it?
-
Nevermind...
Problem was, I was missing the "\" in the location of each of the sound file, so it should of read:
sound[] = {"\melee.ogg", db+1, 1.0};
Thanks anyways!