icfhoop 0 Posted April 19, 2008 Hell all I have a question, what is wrong with the following description.ext? Because I would like to put this sound file into my mission. The file (in .ogg format) is placed inside the sound folder inside my mission, but I keep getting an error and i cant load my map, any ideas? /////////////////////////////////////////////////////////// // Armed Assault Description File // Created with ArmA Edit - Version 1.2.7000 /////////////////////////////////////////////////////////// showCompass = 0; showGPS = 0; showWatch = 0; class CfgSounds { // List of sounds (.ogg files without the .ogg extension) sounds[] = {50 War - Atmosphere}; // Definition for each sound class 50 War - Atmosphere { name = "50 War - Atmosphere"; sound[] = {\sound\50 War - Atmosphere.ogg, db + 0, 1.0}; titles[] = {0, ""}; }; }; Share this post Link to post Share on other sites
lebson506th 0 Posted April 19, 2008 Class name can't have spaces in it, i don't think Try this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/////////////////////////////////////////////////////////// // Armed Assault Description File // Created with ArmA Edit - Version 1.2.7000 /////////////////////////////////////////////////////////// showCompass = 0; showGPS = 0; showWatch = 0; class CfgSounds { // List of sounds (.ogg files without the .ogg extension) sounds[] = {50WarAtmosphere}; // Definition for each sound class 50WarAtmosphere { name = "50 War - Atmosphere"; sound[] = {\sound\50 War - Atmosphere.ogg, db + 0, 1.0}; titles[] = {0, ""}; }; }; Share this post Link to post Share on other sites
imutep 0 Posted April 20, 2008 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ShowCompass = 0; ShowGPS = 0; ShowWatch = 0; //=======================Sounds======== class CfgSounds { tracks[]={50WarAtmosphere,nextsound1,nextsound2}; class 50WarAtmosphere {name="50WarAtmosphere";sound[]={\sound\50WarAtmosphere.ogg,db+10,1.0};titles[] = {}; }; class nextsound1 {name="nextsound1";sound[]={\sound\nextsound1.ogg,db+8,1.0};titles[] = {}; }; class nextsound2 {name="nextsound2";sound[]={\sound\nextsound2.ogg,db+10,1.0};titles[] = {}; }; }; Try this one Share this post Link to post Share on other sites