Results 1 to 3 of 3

Thread: cfgEnvSounds for ARMA islands?

  1. #1
    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)?

  2. #2
    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.
    Code:
    //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";
    	};
    };
    Last edited by Snake Man; Oct 5 2009 at 08:27.
    PMC Editing Wiki opened for ArmA 3 information, guides, tutorials, etc!

    PMC Tactical - Operation Flashpoint, Armed Assault and ArmA 2 addons / mods / missions.
    PMC Editing Wiki for tutorials.
    Vietnam: The Experience - BIS forum group, join now for all your Vietnam War mod needs.

  3. #3
    First Sergeant Linker Split's Avatar
    Join Date
    Feb 1 2006
    Location
    Rom
    Posts
    854
    Author of the Thread
    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 Originally Posted by [b
    Quote[/b] ]((20 - 5 * rain) * (3 * (windy factor [0.2, 1]))) * (1 - sea)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •