Aeon 0 Posted March 5, 2007 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
Planck 1 Posted March 5, 2007 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
Aeon 0 Posted March 6, 2007 I knew that 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