Fix player model for 5.0.0
This commit is contained in:
parent
ba8195d8fd
commit
35b9535e87
BIN
mods/default/models/character.b3d
Normal file
BIN
mods/default/models/character.b3d
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -64,7 +64,7 @@ function default.player_register_model(name, def)
|
||||
end
|
||||
|
||||
-- Default player appearance
|
||||
default.player_register_model("character.x", {
|
||||
default.player_register_model("character.b3d", {
|
||||
animation_speed = 30,
|
||||
textures = {"character.png", },
|
||||
animations = {
|
||||
@ -142,7 +142,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.x")
|
||||
default.player_set_model(player, "character.b3d")
|
||||
player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30)
|
||||
|
||||
-- set GUI
|
||||
|
Loading…
x
Reference in New Issue
Block a user