wowgetoffyourcellphone Posted January 1 Report Share Posted January 1 So, it would be nice in Atlas/biomes/random maps to be able to choose a different ambient sound for a map. The current "birds chirping in a North American forest" sound is pretty played out. How difficult would it be to code something like that? Just a drop list in Atlas and then some lines in the biome and random map code. While playtesting the new NAVAL OVERHAUL (PLEASE REVIEW!), I play something like the video in the background to give me that ocean ambient. ^Great for island maps 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 1 Report Share Posted January 1 Currently hardcoded in one js file called ambient.js or something. Maybe it could read the biome data or something. 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted January 2 Author Report Share Posted January 2 9 hours ago, Stan` said: Currently hardcoded in one js file called ambient.js or something. Maybe it could read the biome data or something. /** * This class is concerned with playing an ambient track, birds chirping etc. */ class Ambient { constructor() { Engine.PlayAmbientSound(pickRandom(this.Tracks), true); } } /** * TODO: Let the map decide the tracks. */ Ambient.prototype.Tracks = [ "audio/ambient/dayscape/day_tropical_10.ogg", "audio/ambient/dayscape/day_tropical_11.ogg" ]; I altered the tracks in the list at the bottom and it works. Yeah, unfortunately there's still no way to change it on a per map basis. Definitely a desire. Either the ambient tracks could be listed in the biome file or this ambient.js file could allow you to do it. 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.