mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Better mob_mount animations (riding)
This commit is contained in:
parent
d3a2faefe2
commit
d12009538e
7 changed files with 4 additions and 1 deletions
|
@ -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())
|
||||||
|
|
||||||
|
|
|
@ -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},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue