EO 11227 Posted January 2, 2016 In need of a little advice/guidance please..... I can disable all ambient sound using enableEnvironment. I would like to replace with my own custom sounds. (ambience,rain,wind,etc.) This would be for use in a SP environment. I have all the necessary .ogg files, but need to know what would be the best way to execute such a task. Thank you. Share this post Link to post Share on other sites
R3vo 2652 Posted January 2, 2016 Define the sounds inside the description.ext. Afterwards think about what conditions need to be met in order for the sounds to play. For example the player has to be near a forest in order to hear owls or similar. Share this post Link to post Share on other sites
EO 11227 Posted January 2, 2016 Define the sounds inside the description.ext. Afterwards think about what conditions need to be met in order for the sounds to play. For example the player has to be near a forest in order to hear owls or similar. So a combination of CfgSounds activated via triggers? Share this post Link to post Share on other sites
R3vo 2652 Posted January 2, 2016 It depends on how advanced you want to get. Build something with triggers and see if you like it, if not, do it differently. Share this post Link to post Share on other sites
EO 11227 Posted January 2, 2016 It depends on how advanced you want to get. Build something with triggers and see if you like it, if not, do it differently. The simpler the better.... :P I do read the wiki's and watch tutorials but it's easy to lose the way when knowledge is limited. Thanks for the pointers. Share this post Link to post Share on other sites
nikiller 18 Posted January 3, 2016 hi, Use class CfgEnvSounds (you can also have a sound for the night, use stereo 22500 Khz), CfgSFX in your description.ext and use setSoundEffect or use triggers as suggested above. example description.ext class CfgEnvSounds { sounds[] = {battle, storm}; class battle { name = "battle"; sound[] = {battle.ogg,-10,0,1}; soundNight[] = {"",0,0,1}; }; class storm { name = "storm"; sound[] = {stormyday.ogg,0,0,1}; soundNight[] = {stormynight.ogg,0,0,1}; }; }; class CfgSFX { sounds[] = {anbientsound}; class anbientsound { name = "anbient sound"; sounds[] = {birds, cows}; sound1[] = {birds.ogg, 0, 1, 0.3, 5, 1, 10}; sound2[] = {cows.ogg, 0, 1, 0.3, 5, 1, 10}; empty[] = {, , , , 1 , 5, 20}; }; }; cya. Nikiller. 1 Share this post Link to post Share on other sites