mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 12:25:13 +00:00
Add spider sounds
This commit is contained in:
parent
92785f7411
commit
e8cb8a789e
9 changed files with 15 additions and 4 deletions
|
@ -151,7 +151,14 @@ Origin of those models:
|
||||||
* `mobs_pig_angry.ogg`
|
* `mobs_pig_angry.ogg`
|
||||||
* `mobs_rat.ogg`
|
* `mobs_rat.ogg`
|
||||||
* `mobs_sandmonster.ogg`
|
* `mobs_sandmonster.ogg`
|
||||||
* `mobs_spider.ogg`
|
* [Daysycho](https://freesound.org/people/Darsycho/)
|
||||||
|
* `mobs_mc_spider_hurt.*.ogg` (CC0)
|
||||||
|
* Source: <https://freesound.org/people/Darsycho/sounds/505185/>
|
||||||
|
* [columbia23](https://freesound.org/people/columbia23/)
|
||||||
|
* `mobs_mc_spider_death.ogg` (CC BY 3.0)
|
||||||
|
* `mobs_mc_spider_random.*.ogg` (CC BY 3.0)
|
||||||
|
* `mobs_mc_spider_attack.*.ogg` (CC BY 3.0)
|
||||||
|
* Source: <https://freesound.org/people/columbia23/sounds/395395/>
|
||||||
* BrandonReese (LGPL v2.1)
|
* BrandonReese (LGPL v2.1)
|
||||||
* `mobs_eerie.ogg`
|
* `mobs_eerie.ogg`
|
||||||
* [Under7dude](https://freesound.org/people/Under7dude/) (CC0)
|
* [Under7dude](https://freesound.org/people/Under7dude/) (CC0)
|
||||||
|
|
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_attack.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_attack.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_attack.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_attack.2.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_death.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_death.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.2.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.3.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_hurt.3.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_random.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_spider_random.ogg
Normal file
Binary file not shown.
|
@ -32,9 +32,11 @@ local spider = {
|
||||||
visual_size = {x=3, y=3},
|
visual_size = {x=3, y=3},
|
||||||
makes_footstep_sound = false,
|
makes_footstep_sound = false,
|
||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_spider",
|
random = "mobs_mc_spider_random",
|
||||||
attack = "mobs_spider",
|
attack = "mobs_mc_spider_attack",
|
||||||
-- TODO: sounds: walk, death
|
damage = "mobs_mc_spider_hurt",
|
||||||
|
death = "mobs_mc_spider_death",
|
||||||
|
-- TODO: sounds: walk
|
||||||
distance = 16,
|
distance = 16,
|
||||||
},
|
},
|
||||||
walk_velocity = 1.3,
|
walk_velocity = 1.3,
|
||||||
|
@ -75,6 +77,8 @@ cave_spider.collisionbox = {-0.35, -0.01, -0.35, 0.35, 0.49, 0.35}
|
||||||
cave_spider.visual_size = {x=1.66666, y=1.5}
|
cave_spider.visual_size = {x=1.66666, y=1.5}
|
||||||
cave_spider.walk_velocity = 1.3
|
cave_spider.walk_velocity = 1.3
|
||||||
cave_spider.run_velocity = 3.2
|
cave_spider.run_velocity = 3.2
|
||||||
|
cave_spider.sounds = table.copy(spider.sounds)
|
||||||
|
cave_spider.sounds.base_pitch = 1.25
|
||||||
mobs:register_mob("mobs_mc:cave_spider", cave_spider)
|
mobs:register_mob("mobs_mc:cave_spider", cave_spider)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue