Update death animations of some mobs

This commit is contained in:
Wuzzy 2018-05-30 17:34:38 +02:00
parent 895d06d28a
commit c10f4311f7
6 changed files with 51 additions and 32 deletions

@ -24,10 +24,21 @@ mobs:register_mob("mobs_mc:bat", {
run_velocity = 6.0,
-- TODO: Hang upside down
animation = {
walk_speed = 80, stand_speed = 80, run_speed = 80,
stand_start = 0, stand_end = 40,
walk_start = 0, walk_end = 40,
run_start = 0, run_end = 40,
stand_speed = 80,
stand_start = 0,
stand_end = 40,
walk_speed = 80,
walk_start = 0,
walk_end = 40,
run_speed = 80,
run_start = 0,
run_end = 40,
-- TODO: Less ugly death animation
--[[ die_speed = 60,
die_start = 40,
die_end = 80,
die_loop = false,
]]
},
water_damage = 1,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

@ -59,10 +59,19 @@ mobs:register_mob("mobs_mc:villager", {
distance = 16,
},
animation = {
stand_speed = 25, walk_speed = 25, run_speed = 50,
stand_start = 40, stand_end = 59,
walk_start = 0, walk_end = 40,
run_start = 0, run_end = 40,
stand_speed = 25,
stand_start = 40,
stand_end = 59,
walk_speed = 25,
walk_start = 0,
walk_end = 40,
run_speed = 25,
run_start = 0,
run_end = 40,
die_speed = 15,
die_start = 210,
die_end = 220,
die_loop = false,
},
water_damage = 0,
lava_damage = 4,

@ -69,20 +69,19 @@ mobs:register_mob("mobs_mc:evoker", {
distance = 16,
},
animation = {
walk_speed = 25,
run_speed = 25,
stand_speed = 25,
stand_start = 40,
stand_end = 59,
stand_speed = 5,
walk_speed = 25,
walk_start = 0,
walk_end = 40,
shoot_start = 120,
run_speed = 25,
shoot_start = 120, --magic arm swinging
shoot_end = 140,
-- TODO: Implement and fix death animation
--die_start = 190,
--die_end = 200,
--die_speed = 15,
--die_loop = false,
die_speed = 15,
die_start = 190,
die_end = 200,
die_loop = false,
},
water_damage = 0,
lava_damage = 4,

@ -28,19 +28,19 @@ mobs:register_mob("mobs_mc:illusioner", {
run_velocity = 2,
jump = true,
animation = {
walk_speed = 25,
run_speed = 25,
stand_speed = 25,
stand_start = 40,
stand_end = 59,
walk_speed = 25,
walk_start = 0,
walk_end = 40,
run_speed = 25,
shoot_start = 150,
shoot_end = 170,
-- TODO: Implement and fix death animation
--die_start = 170,
--die_end = 180,
--die_speed = 15,
--die_loop = false,
die_speed = 15,
die_start = 170,
die_end = 180,
die_loop = false,
-- 120-140 magic arm swinging, 140-150 transition between magic to bow shooting
},
view_range = 16,

@ -26,7 +26,7 @@ mobs:register_mob("mobs_mc:vindicator", {
{
"mobs_mc_vindicator_base.png",
"blank.png", --no hat
"mobs_mc_iron_axe.png",
"default_tool_steelaxe.png",
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
},
},
@ -54,19 +54,19 @@ mobs:register_mob("mobs_mc:vindicator", {
},
animation = {
stand_speed = 25,
walk_speed = 25,
run_speed = 25,
punch_speed = 25,
stand_start = 40,
stand_end = 59,
walk_speed = 25,
walk_start = 0,
walk_end = 40,
run_speed = 25,
punch_speed = 25,
punch_start = 90,
punch_end = 110,
-- TODO: Implement and fix death animation
--die_start = 170,
--die_end = 180,
--die_loop = false,
die_speed = 25,
die_start = 170,
die_end = 180,
die_loop = false,
},
water_damage = 1,
lava_damage = 4,