From: BlockMen Date: Fri, 11 Apr 2014 23:17:54 +0000 (+0200) Subject: Add animations for third person view X-Git-Tag: 0.4.10~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15740ffd3d1ea1af182a8607c600f3af414c2c73;p=oweals%2Fminetest_game.git Add animations for third person view --- diff --git a/mods/default/player.lua b/mods/default/player.lua index d7426d8e..f02e0f46 100644 --- a/mods/default/player.lua +++ b/mods/default/player.lua @@ -141,6 +141,7 @@ end -- Update appearance when the player joins minetest.register_on_joinplayer(function(player) default.player_set_model(player, "character.x") + player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30) end) minetest.register_on_leaveplayer(function(player)