mod-sounds/README.md
2021-06-15 12:49:50 -07:00

5.8 KiB

Sound Pack for Minetest

Description:

A Minetest mod that provides a set of free sounds & methods. It is intended as a more universal method for adding sounds to games than depending on MTG & default for sounds only.

As of right now, only sounds from default mod have been added.

icon

Licensing:

  • Code: MIT
  • Icon/Screenshot: CC0
  • Media: see following table

Sound file sources & licensing:

Filename Author License Source
sounds_break_glass.1 cmusounddesign CC BY 3.0 freesound.org
sounds_break_glass.2 Tomlija CC BY 3.0 freesound.org
sounds_break_glass.3 lsprice CC BY 3.0 freesound.org
sounds_dig_choppy.* Sheyvan CC0 freesound.org
sounds_dig_cracky.* Benboncan CC BY 3.0 freesound.org
sounds_dig_crumbly Mito551 CC BY-SA 3.0 minetest_game
sounds_dig_gravel.* lolamadeus CC0 freesound.org
sounds_dig_ice.* dheming CC BY 3.0 freesound.org
sounds_dig_metal yadronoff CC BY 3.0 freesound.org
sounds_dig_snappy blukotek CC0 freesound.org
sounds_dug_gravel.* lolamadeus CC0 freesound.org
sounds_dug_ice Angel_Perez_Grandi CC BY 3.0 freesound.org
sounds_dug_metal.* qubodup CC0 opengameart.org
sounds_dug_node.* Mito551 CC BY-SA 3.0 minetest_game
sounds_step_dirt.* Mito551 CC BY-SA 3.0 minetest_game
sounds_step_glass Mito551 CC BY-SA 3.0 minetest_game
sounds_step_grass.* Mito551 CC BY-SA 3.0 minetest_game
sounds_step_gravel Mito551 CC BY-SA 3.0 minetest_game
sounds_step_hard.* Erdie CC BY 3.0 freesound.org
sounds_step_ice.* InspectorJ CC BY 3.0 freesound.org
sounds_step_metal.* mypantsfelldown CC0 freesound.org
sounds_step_sand.* worthahep88 CC0 freesound.org
sounds_step_snow.* Ryding CC0 freesound.org
sounds_step_water.1 AGFX CC BY 3.0 freesound.org
sounds_step_water.2 AGFX CC BY 3.0 freesound.org
sounds_step_water.3 AGFX CC BY 3.0 freesound.org
sounds_step_water.4 AntumDeluge CC0 generated with Audacity
sounds_step_wood.* Mito551 CC BY-SA 3.0 minetest_game
sounds_place_metal.* Ogrebane CC0 opengameart.org
sounds_place_node* Mito551 CC BY-SA 3.0 minetest_game

Usage:

If your mod depends on default for node sounds only, then you can easily switch to sounds. Simply add default & sounds as optional dependencies in your mod.conf. sounds aliases or overrides methods used by default to its own. For example default.node_sound_dirt_defaults.

Example code:

function sounds.node_dirt(tbl)
	tbl = tbl or {}

	tbl.footstep = tbl.footstep or {name="sounds_step_dirt", gain=0.4}
	tbl.dug = tbl.dug or {name="sounds_step_dirt", gain=1.0}
	tbl.place = tbl.place or {name="sounds_place_node_soft", gain=1.0}

	sounds.node(tbl)
	return tbl
end

default.node_sound_dirt_defaults = sounds.node_dirt