Linker Split 0 Posted April 18, 2008 Hi guys Do you remember for OFP we used to add the class cfgEnvSounds specifying our own was/ogg/wss sounds to be played along the whole island? Is there a way to get working for ArmA too? Or simply ArmA only uses sounds produced by the insects inserted via config (mosquito, honeybees and so on)? Share this post Link to post Share on other sites
Snake Man 401 Posted April 18, 2008 (edited) Check VTE terrain config, I've included environmental sounds there. Only thing is that I didn't get Rain or Sea sounds to work, I'm looking into it. //class CfgEnvSounds {}; // snake attempt to create name environmental sounds class CfgEnvSounds { class Default { name = $STR_CFG_ENVSOUNDS_DEFAULT; sound[] = {$DEFAULT$, 0, 1}; soundNight[] = {$DEFAULT$, 0, 1}; }; // not working class Rain { name = "NAM rain"; sound[] = {"\VTE_sounds\Environment\JungleRain1.wss",1,1};//0.002 volume = "meadow*(1-rain)*(1-night)";// was just "rain" }; // not working class Sea { name = "NAM sea"; sound[] = {"\VTE_sounds\Environment\JungleOcean1.wss",1,1};//0.0008 volume = "sea"; }; class Meadows { name = "NAM meadows"; sound[] = {"\VTE_sounds\Environment\JungleAmbience1.wss",0.006,1};//0.0006 volume = "meadow*(1-rain)*(1-night)"; }; class Trees { name = "NAM trees"; sound[] = {"\VTE_sounds\Environment\JungleHill1.wss",0.00316,1};//0.000316 volume = "trees*(1-rain)*(1-night)"; }; class MeadowsNight { name = "NAM meadows night"; sound[] = {"\VTE_sounds\Environment\JungleNight1.wss",0.006,1};//0.0006 volume = "meadow*(1-rain)*night"; }; class TreesNight { name = "NAM trees night"; sound[] = {"\VTE_sounds\Environment\JungleNight1.wss",0.006,1};//0.0006 volume = "trees*(1-rain)*night"; }; class Hills { name = "NAM hills"; sound[] = {"\VTE_sounds\Environment\JungleHill1.wss",0.006,1};//0.0006 volume = "hills"; }; class Wind { name = "NAM wind"; sound[] = {"", db-75, 1}; volume = "(1-hills)*windy*0.5"; }; }; Edited October 5, 2009 by Snake Man Share this post Link to post Share on other sites
Linker Split 0 Posted April 18, 2008 OOOOk snake man... I'll try it btw, do you know anything about that sintax used also to spawn insects, birds, and animals?? that Quote[/b] ]((20 - 5 * rain) * (3 * (windy factor [0.2, 1]))) * (1 - sea) Share this post Link to post Share on other sites