Jump to content
Sign in to follow this  
lukeprtr

How would I add sounds to my terrain?

Recommended Posts

How would I add sounds to the map? I have played maps like Bornholm and Lingor and they play ambient sounds like birds chirping and such.

Share this post


Link to post
Share on other sites

Taviana also had doors slamming around houses and branches snapping in the forests, I'd be intrested in this also.

Share this post


Link to post
Share on other sites

@ Richie The door slamming are defined in the model.

Do add custom sound to your Map check this :

http://tactical.nekromantix.com/wiki/doku.php?id=arma:cfgenvsounds

the customsound on a Map get defined in the config, something like this:

class CfgEnvSounds;

class EnvSounds: CfgEnvSounds

{

class Wind

{

name = "Wind";

sound[] = {"YOUR_PATH\to\your_sound",0.1977828,1};

volume = "(1-forest)*windy*0.5";

};

class Coast

{

name = "Coast";

sound[] = {"A3\sounds_f\ambient\waves\beach_sand_small_waves1STEREO",0.265893,1,500};

soundNight[] = {"A3\sounds_f\ambient\waves\beach_sand_small_waves1STEREO",0.2694328,1,500};

volume = "coast";

};

class Rain

{

sound[] = {"A3\sounds_f\ambient\rain\rain_new_1",0.12,1};

volume = "rain";

name = "Rain";

soundNight[] = {"A3\sounds_f\ambient\rain\rain_new_2",0.162341,1};

};

class Sea

{

sound[] = {"A3\sounds_f\ambient\waves\sea-1-sand-beach-stereo",0.13,1,200};

name = "Sea";

soundNight[] = {"A3\sounds_f\ambient\waves\sea-1-sand-beach-stereo",0.13,1,200};

volume = "sea*(1-coast)";

};

class Trees

{

name = "Trees";

sound[] = {"YOUR_PATH\to\your_sound",0.06177828,1};

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

};

class TreesNight

{

name = "Trees (swirling slowly in the night)";

sound[] = {"YOUR_PATH\to\your_sound",0.057177827,1};

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

};

class Meadows

{

name = "Meadows";

sound[] = {"YOUR_PATH\to\your_sound",0.12387212,1};

volume = "(1-forest)*(1-houses)*(1-night)*(1-sea)";

randSamp0[] = {"YOUR_PATH\to\your_sound",0.15309572,1,70,0.1,10,25,40};

randSamp1[] = {"YOUR_PATH\to\your_sound",0.15309572,1,100,0.1,15,25,30};

randSamp2[] = {"YOUR_PATH\to\your_sound",0.15309572,1,100,0.1,10,25,40};

randSamp3[] = {"YOUR_PATH\to\your_sound",0.19623414,1,70,0.15,10,25,40};

randSamp4[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.16,10,25,40};

randSamp5[] = {"YOUR_PATH\to\your_sound",0.15162277,1,70,0.17,10,25,40};

randSamp6[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.17,10,25,50};

randSamp7[] = {"YOUR_PATH\to\your_sound",0.15234132,1,70,0.17,10,25,40};

randSamp8[] = {"A3\sounds_f\ambient\single_sfx\fly_2",0.08162277,1,70,0.16,10,25,50};

randSamp9[] = {"A3\sounds_f\ambient\single_sfx\fly_3",0.08162277,1,70,0.16,10,25,50};

randSamp10[] = {"A3\sounds_f\ambient\single_sfx\fly_4",0.08162277,1,70,0.16,10,25,50};

randSamp11[] = {"A3\sounds_f\ambient\single_sfx\bird_1",0.08162277,1,70,0.1,10,25,50};

randSamp12[] = {"A3\sounds_f\ambient\single_sfx\bird_2",0.08162277,1,70,0.1,10,25,50};

randSamp13[] = {"A3\sounds_f\ambient\single_sfx\bird_3",0.08162277,1,70,0.1,10,25,50};

randSamp14[] = {"A3\sounds_f\ambient\single_sfx\bird_4",0.08162277,1,70,0.1,10,25,50};

randSamp15[] = {"A3\sounds_f\ambient\single_sfx\insect_3",0.16234133,1,20,0.1,10,25,50};

randSamp16[] = {"A3\sounds_f\ambient\single_sfx\fly_1",0.08162277,1,70,0.16,10,25,50};

random[] = {"randSamp0","randSamp1","randSamp2","randSamp3","randSamp4","randSamp5","randSamp6","randSamp7","randSamp8","randSamp9","randSamp10","randSamp11","randSamp13","randSamp14","randSamp15","randSamp16"};

};

class MeadowsNight

{

name = "MeadowsNight";

sound[] = {"A3\sounds_f\dummysound",0.07584893,1};

volume = "(1-forest)*(1-houses)*night*(1-sea)";

randSamp0[] = {"YOUR_PATH\to\your_sound",0.16,1,100,0.12,10,25,40};

randSamp1[] = {"YOUR_PATH\to\your_sound",0.16,1,100,0.12,10,35,60};

randSamp2[] = {"YOUR_PATH\to\your_sound",0.16,1,100,0.12,10,25,40};

randSamp3[] = {"A3\sounds_f\ambient\single_sfx\bird_night_2",0.12623413,12,100,0.1,10,25,40};

randSamp4[] = {"A3\sounds_f\ambient\single_sfx\bird_night_5",0.12162278,1,60,0.1,10,25,40};

randSamp5[] = {"A3\sounds_f\ambient\single_sfx\bird_night_4",0.12162278,1,70,0.1,10,25,40};

random[] = {"randSamp0","randSamp1","randSamp2","randSamp3","randSamp4","randSamp5"};

};

class Forest

{

name = "Forest";

sound[] = {"YOUR_PATH\to\your_sound",0.18511887,1};

volume = "forest*trees*(1-night)";

randSamp0[] = {"YOUR_PATH\to\your_sound",0.15309572,1,70,0.1,10,25,40};

randSamp1[] = {"YOUR_PATH\to\your_sound",0.15309572,1,100,0.1,15,25,30};

randSamp2[] = {"YOUR_PATH\to\your_sound",0.15309572,1,100,0.1,10,25,40};

randSamp3[] = {"YOUR_PATH\to\your_sound",0.19623414,1,70,0.15,10,25,40};

randSamp4[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.16,10,25,40};

randSamp5[] = {"YOUR_PATH\to\your_sound",0.15162277,1,70,0.17,10,25,40};

randSamp6[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.17,10,25,50};

randSamp7[] = {"YOUR_PATH\to\your_sound",0.15234132,1,70,0.17,10,25,40};

randSamp8[] = {"YOUR_PATH\to\your_sound",0.19623414,1,70,0.1,10,25,40};

randSamp9[] = {"A3\sounds_f\ambient\single_sfx\bird_9",0.08623413,1,80,0.1,10,25,40};

randSamp10[] = {"A3\sounds_f\ambient\single_sfx\fly_3",0.08162277,1,70,0.1,10,25,50};

randSamp11[] = {"A3\sounds_f\ambient\single_sfx\insect_3",0.096234135,1,40,0.1,10,25,40};

randSamp12[] = {"A3\sounds_f\ambient\single_sfx\insect_1",0.08623413,1,50,0.1,10,25,40};

randSamp13[] = {"A3\sounds_f\ambient\single_sfx\forest_single_4",0.09162278,1,70,0.06,10,25,40};

randSamp14[] = {"A3\sounds_f\ambient\single_sfx\insect_3",0.16234133,1,20,0.1,10,25,50};

randSamp15[] = {"A3\sounds_f\ambient\single_sfx\bird_5",0.08623413,1,100,0.12,10,25,40};

random[] = {"randSamp0","randSamp1","randSamp2","randSamp3","randSamp4","randSamp5","randSamp6","randSamp7","randSamp8","randSamp9","randSamp10","randSamp11","randSamp12","randSamp13","randSamp14","randSamp15"};

};

class ForestNight

{

name = "ForestNight";

sound[] = {"YOUR_PATH\to\your_sound",0.015848929,1};

volume = "forest*trees*night";

randSamp0[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.16,10,25,40};

randSamp1[] = {"YOUR_PATH\to\your_sound",0.15162277,1,70,0.17,10,25,40};

randSamp2[] = {"YOUR_PATH\to\your_sound",0.15623413,1,70,0.17,10,25,50};

randSamp3[] = {"YOUR_PATH\to\your_sound",0.15234132,1,70,0.17,10,25,40};

randSamp4[] = {"YOUR_PATH\to\your_sound",0.19623414,1,70,0.1,10,25,40};

randSamp5[] = {"A3\sounds_f\ambient\single_sfx\bird_night_6",0.08623413,1,100,0.12,10,25,40};

randSamp6[] = {"A3\sounds_f\ambient\single_sfx\bird_night_2",0.08162277,1,70,0.1,10,25,40};

randSamp7[] = {"A3\sounds_f\ambient\single_sfx\fly_3",0.096234135,1,10,0.1,10,25,50};

randSamp8[] = {"A3\sounds_f\ambient\single_sfx\insect_3",0.096234135,1,40,0.1,10,25,40};

randSamp9[] = {"A3\sounds_f\ambient\single_sfx\bird_night_4",0.08162277,1,70,0.1,10,25,40};

randSamp10[] = {"A3\sounds_f\ambient\single_sfx\forest_single_4",0.09162278,1,70,0.04,10,25,40};

random[] = {"randSamp0","randSamp1","randSamp2","randSamp3","randSamp4","randSamp5","randSamp6","randSamp7","randSamp8","randSamp9","randSamp10"};

};

};

This is the config from my LostIslandMap!

Change the path to your folder where you have placed your Audiofiles.

(Audiofiles must be .wss files).

  • Like 1

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  

×