TheJokerMan 0 Posted August 12, 2006 hey guys... i need some help concerning the description.ext file. i want to put about 9 sounds in this map im making but i only know how to make 1 work. this is what i have in my description.ext <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds { sounds[] = { talking1 }; class talking1 { name = ""; sound[] = {"talking1.ogg", db+0, 1.0}; titles[] = { 0, $STRM_talking1 }; }; }; as you can see this is only set up for 1 sound, i tried messing around and copying and pasting and chaning "talking1" to 2 and 3 and stuff, but no other sound will register in the editor, does anyone know how to make the right description.ext? Share this post Link to post Share on other sites
SevenBEF 0 Posted August 12, 2006 class CfgSounds { sounds[] = { sound1, sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9 }; class sound1 { name = "sound1"; sound[] = {"sound1.ogg", 10, 1.0}; titles[] = { }; }; class sound2 { name = "sound2"; sound[] = {"sound2.ogg", 10, 1.0}; titles[] = { }; }; class sound3 { name = "sound3"; sound[] = {"sound3.ogg", 10, 1.0}; titles[] = { }; }; class sound4 { name = "sound4"; sound[] = {"sound4.ogg", 10, 1.0}; titles[] = { }; }; & so on....... till class sound9 { name = "sound9"; sound[] = {"sound9.ogg", 10, 1.0}; titles[] = { }; }; }; All sounds should be in folder sound Greatz Share this post Link to post Share on other sites
TheJokerMan 0 Posted August 14, 2006 Thanks dude that works great. Another question though. How would I lower the db of one of the sounds, I assume it has something to do with this line <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">sound[] = {"sound1.ogg", 10, 1.0}; i cant seem to get it to go down though, is it the 10 part or the 1.0 part that is the db, and does anyone know the range of the db? like -50 to +50 or something? Share this post Link to post Share on other sites
SevenBEF 0 Posted August 14, 2006 it's the 10 part you can change for volume; the 1.0 is the pitch Dunno about ur last question though Greetz *edit" found this Quote[/b] ]Setting volume (db) of music far from zero will disable fadeMusic command. Optimal values are from -10 to 10. Source Share this post Link to post Share on other sites
Trapper 0 Posted August 15, 2006 i cant seem to get it to go down though, is it the 10 part or the 1.0 part that is the db, and does anyone know the range of the db? like -50 to +50 or something? Range is unlimited. Db is a virtual volume setting for 3d positioned sounds. It defines how far from the source a sound will be heard. For "normal" volume control you have to amplify the .ogg file. Share this post Link to post Share on other sites