replace default player model with stu's knees-and-elbows model

master
Vanessa Ezekowitz 2015-08-25 19:48:47 -04:00
parent 25e0a9024d
commit aab689c566
4 changed files with 10508 additions and 2 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ function default.player_register_model(name, def)
end
-- Default player appearance
default.player_register_model("character.b3d", {
default.player_register_model("character.x", {
animation_speed = 30,
textures = {"character.png", },
animations = {
@ -93,7 +93,7 @@ end
-- Update appearance when the player joins
minetest.register_on_joinplayer(function(player)
default.player_attached[player:get_player_name()] = false
default.player_set_model(player, "character.b3d")
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)
-- set GUI