Jump to content
Sign in to follow this  
icfhoop

Description

Recommended Posts

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

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

<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 smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×