Add guardian sounds

This commit is contained in:
Wuzzy 2020-12-05 21:22:59 +01:00
parent a764298923
commit c7084cb79a
9 changed files with 21 additions and 6 deletions

View file

@ -118,6 +118,18 @@ Origin of those models:
* [bevibeldesign](https://freesound.org/people/bevibeldesign/) * [bevibeldesign](https://freesound.org/people/bevibeldesign/)
* `mobs_mc_wither_spawn.ogg` (CC0) * `mobs_mc_wither_spawn.ogg` (CC0)
* Source: <https://freesound.org/people/bevibeldesign/sounds/366095/> * Source: <https://freesound.org/people/bevibeldesign/sounds/366095/>
* [pointparkcinema](https://freesound.org/people/pointparkcinema/)
* `mobs_mc_guardian_random.1.ogg` (CC0)
* Source: <https://freesound.org/people/pointparkcinema/sounds/407252/>
* [nornalbion](https://freesound.org/people/nornalbion/)
* `mobs_mc_guardian_random.2.ogg` (CC BY 3.0)
* `mobs_mc_guardian_random.3.ogg` (CC BY 3.0)
* `mobs_mc_guardian_hurt.*.ogg` (CC BY 3.0)
* Sounds were modified
* Source: <https://freesound.org/people/nornalbion/sounds/195733/>
* [TheBuilder15](https://freesound.org/people/TheBuilder15/)
* `mobs_mc_guardian_death.ogg` (CC0)
* Source: <https://freesound.org/people/pointparkcinema/sounds/407252/>
* Blender Foundation (CC BY 3.0) * Blender Foundation (CC BY 3.0)
* `mobs_sheep.ogg`, * `mobs_sheep.ogg`,
* daufinsyd (MIT License) * daufinsyd (MIT License)

View file

@ -1,5 +1,3 @@
-- v1.4
--################### --###################
--################### GUARDIAN --################### GUARDIAN
--################### --###################
@ -28,8 +26,10 @@ mobs:register_mob("mobs_mc:guardian", {
}, },
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
sounds = { sounds = {
damage = "mobs_mc_squid_hurt", random = "mobs_mc_guardian_random",
-- TODO: more and better sounds war_cry = "mobs_mc_guardian_random",
damage = {name="mobs_mc_guardian_hurt", gain=0.3},
death = "mobs_mc_guardian_death",
distance = 16, distance = 16,
}, },
animation = { animation = {

View file

@ -28,8 +28,11 @@ mobs:register_mob("mobs_mc:guardian_elder", {
}, },
visual_size = {x=7, y=7}, visual_size = {x=7, y=7},
sounds = { sounds = {
damage = "mobs_mc_squid_hurt", random = "mobs_mc_guardian_random",
-- TODO: more and better sounds war_cry = "mobs_mc_guardian_random",
damage = {name="mobs_mc_guardian_hurt", gain=0.3},
death = "mobs_mc_guardian_death",
base_pitch = 0.6,
distance = 16, distance = 16,
}, },
animation = { animation = {