0
0
Fork 0

Better mob_mount animations (riding)

This commit is contained in:
epCode 2021-03-10 12:27:42 -08:00
parent d3a2faefe2
commit d12009538e
7 changed files with 4 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function mobs.attach(entity, player)
minetest.after(0.2, function(name) minetest.after(0.2, function(name)
local player = minetest.get_player_by_name(name) local player = minetest.get_player_by_name(name)
if player then if player then
mcl_player.player_set_animation(player, "sit" , 30) mcl_player.player_set_animation(player, "sit_mount" , 30)
end end
end, player:get_player_name()) end, player:get_player_name())

View File

@ -366,6 +366,7 @@ mcl_player.player_register_model("mcl_armor_character.b3d", {
swim_mine = {x=411, y=430}, swim_mine = {x=411, y=430},
run_walk = {x=440, y=459}, run_walk = {x=440, y=459},
run_walk_mine = {x=461, y=480}, run_walk_mine = {x=461, y=480},
sit_mount = {x=484, y=484},
}, },
}) })
@ -393,6 +394,7 @@ mcl_player.player_register_model("mcl_armor_character_female.b3d", {
swim_mine = {x=411, y=430}, swim_mine = {x=411, y=430},
run_walk = {x=440, y=459}, run_walk = {x=440, y=459},
run_walk_mine = {x=461, y=480}, run_walk_mine = {x=461, y=480},
sit_mount = {x=484, y=484},
}, },
}) })

View File

@ -33,6 +33,7 @@ mcl_player.player_register_model("character.b3d", {
sneak_walk_mine = {x=325, y=344}, sneak_walk_mine = {x=325, y=344},
run_walk = {x=440, y=460}, run_walk = {x=440, y=460},
run_walk_mine = {x=461, y=481}, run_walk_mine = {x=461, y=481},
sit_mount = {x=484, y=484},
}, },
}) })