Remove segmentation of limbs, because I don't like how the arms appeared to shrink during some deformations. This makes the player mesh exactly like the one in MineCraft, and gives people more reasons to complain that we're copying it :P
Rename player to character, to avoid conflicting with the default player sprite New skin by Jordach Add licenses to readme for the model and skin Fix bad mirroring of left arm for player model
This commit is contained in:
parent
609646b9b5
commit
abaf4c5121
6 changed files with 5493 additions and 10706 deletions
|
@ -26,16 +26,15 @@ animation_mine_END = 179
|
|||
-- Set mesh for all players
|
||||
function switch_player_visual()
|
||||
prop = {
|
||||
mesh = "player.x",
|
||||
textures = {"player.png", },
|
||||
colors = {{255, 255, 255, 255}, },
|
||||
mesh = "character.x",
|
||||
textures = {"character.png", },
|
||||
visual = "mesh",
|
||||
visual_size = {x=1, y=1},
|
||||
}
|
||||
|
||||
|
||||
for _, obj in pairs(minetest.get_connected_players()) do
|
||||
obj:set_properties(prop)
|
||||
obj:set_animation({x=animation_stand_START, y=animation_walk_forward_END}, animation_speed, animation_blend)
|
||||
obj:set_animation({x=animation_stand_START, y=animation_stand_END}, animation_speed, animation_blend)
|
||||
end
|
||||
|
||||
minetest.after(10.0, switch_player_visual)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue