Skip to content

minetest-mirrors/ambience

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambience Redo mod for Minetest by TenPlus1

Based on Immersive Sounds .36 mod by Neuromancer and optimized to run on servers with a brand new API to quickly and easily add sound sets to your world, it also has new fire sounds for use with Fire Redo mod...

Four new functions are available to add and change sound sets, and two commands to adjust player volume for music and sounds (api.txt file shows detailed usage):

ambience.add_set(set_name, def)

ambience.add_to_set(set_name, sound_table)

ambience.get_set(set_name)

ambience.del_set(set_name)

/mvol (volume) /svol (volume)

Changelog:

  • 0.1 - Initial release
  • 0.2 - Code change and new water sounds added
  • 0.3 - Works with Fire Redo mod to provide fire sounds
  • 0.4 - Code optimized
  • 0.5 - Changed to kilbiths smaller sound files and removed canadianloon1, adjusted timings
  • 0.6 - Using new find_nodes_in_area features to count nodes and speed up execution (thanks everamzah)
  • 0.7 - Code tweaks and added Jungle sounds for day and night time
  • 0.8 - Override default water sounds for 0.4.14 dev and above, add separate gain for each sound
  • 0.9 - Plays music files on server or local client when found at midnight, files to be named "ambience_music.1.ogg" changing number each up to 9.
  • 1.0 - Added icecrack sound when walking on snow/ice flows, also tidied code
  • 1.1 - Using newer functions, Minetest 0.4.16 and above needed to run
  • 1.2 - Added PlayerPlus compatibility, removed fire sounds, added volume changes
  • 1.3 - Added API for use with other mods, code rewrite
  • 1.4 - Re-ordered water sets to come before fire and lava, day/night sounds play when leaves around and above ground
  • 1.5 - Added 'flame_sound' and fire redo check, code tidy and tweak, added ephemeral flag for background sounds.
  • 1.6 - Finding env_sounds disables water and lava sets, added 'ambience_water_move' flag to override water walking sounds, use eye level for head node.
  • 1.7 - Music will play every 20-30 minutes if found, use '/mvol 0' to stop playing music or disable in-game.
  • 1.8 - Players can set induvidual volume for sound and music which is saved.
  • 1.9 - Tidy code, refactor music playing, add biome name to sound_check.
  • 2.0 - Add Mineclone support, add ethereal leaf check, remove minetest.after for custom timer, add Polish translation, tweak & tidy code.
  • 2.1 - Add ambience.group_total() function for easy counting of group: nodes inside a set.
  • 2.2 - Adds background sounds to sets that play looped in the background while normal sounds play on top (when conditions met), and sound chance.
  • 2.3 - Add 'ambience_music_interval' setting [default is 1200, 0 to disable]. Optimize code.

Code license: MIT

Releases

No releases published

Packages

 
 
 

Contributors

Languages