Jump to content
Sign in to follow this  
Aeon

Volume ?

Recommended Posts

I wish to know more about the parameter "volume" inside CfgEnvSounds. What is its utility ? and how it work ?

(since the sound volume is already defined with "db-/+" parameter)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Meadows

{

name = "";

sound[] = {"", db-85, 1};

volume = "meadow*(1-rain)*(1-night)";

};

class MeadowsNight {

name = "";

sound[] = {"", db-85, 1};

volume = "meadow*(1-rain)*night";

};

Share this post


Link to post
Share on other sites

You misunderstand

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Meadows

{

name = "";

sound[] = {"", db-85, 1};

volume = "meadow*(1-rain)*(1-night)";

};

Is one sound..............

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class MeadowsNight

{

name = "";

sound[] = {"", db-85, 1};

volume = "meadow*(1-rain)*night";

};

Is another sound.

Planck

Share this post


Link to post
Share on other sites

I knew that tounge2.gif

but yet no about : volume = "meadow*(1-rain)*(1-night)";

(OR volume = "meadow*(1-rain)*night"; for this second example)

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  

×