mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
Add basic horse sounds
This commit is contained in:
parent
e422e47ada
commit
8b38a169e6
6 changed files with 18 additions and 2 deletions
|
@ -136,6 +136,13 @@ Origin of those models:
|
||||||
* [Cribbler](https://freesound.org/people/Cribbler/)
|
* [Cribbler](https://freesound.org/people/Cribbler/)
|
||||||
* `mobs_mc_skeleton_hurt.ogg` (CC0)
|
* `mobs_mc_skeleton_hurt.ogg` (CC0)
|
||||||
* Source: <https://freesound.org/people/Cribbler/sounds/381859/>
|
* Source: <https://freesound.org/people/Cribbler/sounds/381859/>
|
||||||
|
* [GoodListener](https://freesound.org/people/GoodListener/)
|
||||||
|
* `mobs_mc_horse_random.1.ogg` (CC BY 3.0)
|
||||||
|
* Source: <https://freesound.org/people/GoodListener/sounds/322454/>
|
||||||
|
* `mobs_mc_horse_death.ogg` (CC BY 3.0)
|
||||||
|
* Source: <https://freesound.org/people/GoodListener/sounds/322445/>
|
||||||
|
* [ERH](https://freesound.org/people/ERH/)
|
||||||
|
* `mobs_mc_horse_random.2.ogg` (CC BY 3.0)
|
||||||
|
* Source: <https://freesound.org/people/ERH/sounds/32043/>
|
||||||
|
|
||||||
Note: Many of these sounds have been more or less modified to fit the game.
|
Note: Many of these sounds have been more or less modified to fit the game.
|
||||||
|
|
|
@ -102,7 +102,13 @@ local horse = {
|
||||||
run_end = 40,
|
run_end = 40,
|
||||||
},
|
},
|
||||||
textures = horse_textures,
|
textures = horse_textures,
|
||||||
-- TODO: sounds
|
sounds = {
|
||||||
|
random = "mobs_mc_horse_random",
|
||||||
|
-- TODO: Separate damage sound
|
||||||
|
damage = "mobs_mc_horse_death",
|
||||||
|
death = "mobs_mc_horse_death",
|
||||||
|
distance = 16,
|
||||||
|
},
|
||||||
fear_height = 4,
|
fear_height = 4,
|
||||||
fly = false,
|
fly = false,
|
||||||
walk_chance = 60,
|
walk_chance = 60,
|
||||||
|
@ -363,6 +369,8 @@ donkey.animation = {
|
||||||
stand_start = 0, stand_end = 0,
|
stand_start = 0, stand_end = 0,
|
||||||
walk_start = 0, walk_end = 40,
|
walk_start = 0, walk_end = 40,
|
||||||
}
|
}
|
||||||
|
-- TODO: donkey sounds
|
||||||
|
donkey.sounds = nil
|
||||||
donkey.visual_size = { x=horse.visual_size.x*d, y=horse.visual_size.y*d }
|
donkey.visual_size = { x=horse.visual_size.x*d, y=horse.visual_size.y*d }
|
||||||
donkey.collisionbox = {
|
donkey.collisionbox = {
|
||||||
horse.collisionbox[1] * d,
|
horse.collisionbox[1] * d,
|
||||||
|
@ -382,6 +390,7 @@ local m = 0.94
|
||||||
local mule = table.copy(donkey)
|
local mule = table.copy(donkey)
|
||||||
mule.textures = {{"blank.png", "mobs_mc_mule.png", "blank.png"}}
|
mule.textures = {{"blank.png", "mobs_mc_mule.png", "blank.png"}}
|
||||||
mule.visual_size = { x=horse.visual_size.x*m, y=horse.visual_size.y*m }
|
mule.visual_size = { x=horse.visual_size.x*m, y=horse.visual_size.y*m }
|
||||||
|
mule.sounds = horse.sounds
|
||||||
mule.collisionbox = {
|
mule.collisionbox = {
|
||||||
horse.collisionbox[1] * m,
|
horse.collisionbox[1] * m,
|
||||||
horse.collisionbox[2] * m,
|
horse.collisionbox[2] * m,
|
||||||
|
|
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_death.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_death.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_hurt.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_hurt.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_random.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_random.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_random.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_horse_random.2.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue