forked from MineClone5/MineClone5
Update death animations of some mobs
This commit is contained in:
parent
895d06d28a
commit
c10f4311f7
|
@ -24,10 +24,21 @@ mobs:register_mob("mobs_mc:bat", {
|
||||||
run_velocity = 6.0,
|
run_velocity = 6.0,
|
||||||
-- TODO: Hang upside down
|
-- TODO: Hang upside down
|
||||||
animation = {
|
animation = {
|
||||||
walk_speed = 80, stand_speed = 80, run_speed = 80,
|
stand_speed = 80,
|
||||||
stand_start = 0, stand_end = 40,
|
stand_start = 0,
|
||||||
walk_start = 0, walk_end = 40,
|
stand_end = 40,
|
||||||
run_start = 0, run_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,
|
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,
|
distance = 16,
|
||||||
},
|
},
|
||||||
animation = {
|
animation = {
|
||||||
stand_speed = 25, walk_speed = 25, run_speed = 50,
|
stand_speed = 25,
|
||||||
stand_start = 40, stand_end = 59,
|
stand_start = 40,
|
||||||
walk_start = 0, walk_end = 40,
|
stand_end = 59,
|
||||||
run_start = 0, run_end = 40,
|
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,
|
water_damage = 0,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
|
|
|
@ -69,20 +69,19 @@ mobs:register_mob("mobs_mc:evoker", {
|
||||||
distance = 16,
|
distance = 16,
|
||||||
},
|
},
|
||||||
animation = {
|
animation = {
|
||||||
walk_speed = 25,
|
stand_speed = 25,
|
||||||
run_speed = 25,
|
|
||||||
stand_start = 40,
|
stand_start = 40,
|
||||||
stand_end = 59,
|
stand_end = 59,
|
||||||
stand_speed = 5,
|
walk_speed = 25,
|
||||||
walk_start = 0,
|
walk_start = 0,
|
||||||
walk_end = 40,
|
walk_end = 40,
|
||||||
shoot_start = 120,
|
run_speed = 25,
|
||||||
|
shoot_start = 120, --magic arm swinging
|
||||||
shoot_end = 140,
|
shoot_end = 140,
|
||||||
-- TODO: Implement and fix death animation
|
die_speed = 15,
|
||||||
--die_start = 190,
|
die_start = 190,
|
||||||
--die_end = 200,
|
die_end = 200,
|
||||||
--die_speed = 15,
|
die_loop = false,
|
||||||
--die_loop = false,
|
|
||||||
},
|
},
|
||||||
water_damage = 0,
|
water_damage = 0,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
|
|
|
@ -28,19 +28,19 @@ mobs:register_mob("mobs_mc:illusioner", {
|
||||||
run_velocity = 2,
|
run_velocity = 2,
|
||||||
jump = true,
|
jump = true,
|
||||||
animation = {
|
animation = {
|
||||||
walk_speed = 25,
|
stand_speed = 25,
|
||||||
run_speed = 25,
|
|
||||||
stand_start = 40,
|
stand_start = 40,
|
||||||
stand_end = 59,
|
stand_end = 59,
|
||||||
|
walk_speed = 25,
|
||||||
walk_start = 0,
|
walk_start = 0,
|
||||||
walk_end = 40,
|
walk_end = 40,
|
||||||
|
run_speed = 25,
|
||||||
shoot_start = 150,
|
shoot_start = 150,
|
||||||
shoot_end = 170,
|
shoot_end = 170,
|
||||||
-- TODO: Implement and fix death animation
|
die_speed = 15,
|
||||||
--die_start = 170,
|
die_start = 170,
|
||||||
--die_end = 180,
|
die_end = 180,
|
||||||
--die_speed = 15,
|
die_loop = false,
|
||||||
--die_loop = false,
|
|
||||||
-- 120-140 magic arm swinging, 140-150 transition between magic to bow shooting
|
-- 120-140 magic arm swinging, 140-150 transition between magic to bow shooting
|
||||||
},
|
},
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
|
|
|
@ -26,7 +26,7 @@ mobs:register_mob("mobs_mc:vindicator", {
|
||||||
{
|
{
|
||||||
"mobs_mc_vindicator_base.png",
|
"mobs_mc_vindicator_base.png",
|
||||||
"blank.png", --no hat
|
"blank.png", --no hat
|
||||||
"mobs_mc_iron_axe.png",
|
"default_tool_steelaxe.png",
|
||||||
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
|
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -54,19 +54,19 @@ mobs:register_mob("mobs_mc:vindicator", {
|
||||||
},
|
},
|
||||||
animation = {
|
animation = {
|
||||||
stand_speed = 25,
|
stand_speed = 25,
|
||||||
walk_speed = 25,
|
|
||||||
run_speed = 25,
|
|
||||||
punch_speed = 25,
|
|
||||||
stand_start = 40,
|
stand_start = 40,
|
||||||
stand_end = 59,
|
stand_end = 59,
|
||||||
|
walk_speed = 25,
|
||||||
walk_start = 0,
|
walk_start = 0,
|
||||||
walk_end = 40,
|
walk_end = 40,
|
||||||
|
run_speed = 25,
|
||||||
|
punch_speed = 25,
|
||||||
punch_start = 90,
|
punch_start = 90,
|
||||||
punch_end = 110,
|
punch_end = 110,
|
||||||
-- TODO: Implement and fix death animation
|
die_speed = 25,
|
||||||
--die_start = 170,
|
die_start = 170,
|
||||||
--die_end = 180,
|
die_end = 180,
|
||||||
--die_loop = false,
|
die_loop = false,
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
|
|
Loading…
Reference in New Issue