Cyper 18 Posted January 10, 2013 So... I need a lot of dialog and other sound effects for an upcoming campaign but it does not work for me. I have been searching for various solutions and this is what I have done so far. 1. I converted the soundfile to .wav 2. I used Audacity and set the file to mono, and then to 16bit. 3. I saved the file as Ogg Vorbis. 4. I created the sound-folder 5. I added this description: showCompass = 0; showGPS = 0; showWatch = 0; class CfgSounds { (.ogg files without the .ogg extension) sounds[] = {Siberiahell2}; class Siberiahell2 { name = "Siberiahell2"; sound[] = {\sound\Siberiahell2.ogg, db + 0, 1.0}; titles[] = {0, ""}; }; }; I tried to activate the sound via a trigger, but there was no sound. I also tried this say "siberiahell" but I did not hear anything. The file appear in Voice. The game reads the file - at least I think so - because there is no error. Any suggestions how to fix this would be greatly appreciated. Share this post Link to post Share on other sites
kilrbe3 37 Posted January 10, 2013 I may not be 100% on this, as I have only started with custom sounds only in the past two weeks. But mine looks like this; class castle2 { name = "castle2"; // Name for mission editor sound[] = {\sounds\castle2.ogg, 0.4, 1.0}; titles[] = {0, ""}; }; And in the trigger I call it with player say ["castle2",3] Is what I use to call it & works. Think you forgot the [ ] around the name & volume. Also not sure the db + is needed in the description. I can't be 100% on that, someone may want to back that up. More info here; http://community.bistudio.com/wiki/say Share this post Link to post Share on other sites
Cyper 18 Posted January 11, 2013 The sound seems not to be read when I used that script. There is no error message, but now it doesn't appear in the trigger menu. Share this post Link to post Share on other sites
Cyper 18 Posted February 1, 2013 Does anyone have a solution for my problem? Because I really need environmental sounds aswell as voices. Share this post Link to post Share on other sites
cuel 25 Posted February 1, 2013 Have you tried player say "Siberiahell2" Also whenever you edit description.ext you need to do a Ctrl+S in the editor for the change to apply before you preview. Share this post Link to post Share on other sites
tryteyker 28 Posted February 1, 2013 The format for the sound would be the following: sound[] = {"\sound\Siberiahell2.ogg", 1, 1}; "Filename", volume, pitch Use the classname when referring to the sound, so something like this: playSound Siberiahell2 Also The (.ogg files without .ogg extension) isn't a valid comment and might be processed by the .ext file. To prevent this add // infront of that line. Share this post Link to post Share on other sites