Jump to content
Sign in to follow this  
Linker Split

cfgEnvSounds for ARMA islands?

Recommended Posts

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?huh.gif

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

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 by Snake Man

Share this post


Link to post
Share on other sites

OOOOk snake man...

I'll try it wink_o.gif

btw, do you know anything about that sintax used also to spawn insects, birds, and animals?huh.gif?

that

Quote[/b] ]((20 - 5 * rain) * (3 * (windy factor [0.2, 1]))) * (1 - sea)

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  

×