projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5dcf12
)
Add animations for third person view
author
BlockMen
<nmuelll@web.de>
Fri, 11 Apr 2014 23:17:54 +0000
(
01:17
+0200)
committer
BlockMen
<nmuelll@web.de>
Fri, 11 Apr 2014 23:17:54 +0000
(
01:17
+0200)
mods/default/player.lua
patch
|
blob
|
history
diff --git
a/mods/default/player.lua
b/mods/default/player.lua
index d7426d8eb43d0b2a14c75ace98f9458a99c2676d..f02e0f466318d156fc4655b5b7dd654272ba00e1 100644
(file)
--- 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)