* improves previous commit 13cd243a031ca6c52457032e0bffc8576b549b3a ,
the problem is that both server and client must be equal protocol, so
this ugly hack check if this was loaded into FinalMinetest or Multicraft
to dinamically check client nature and re-registering the model when
server and client do not have same player models due the colisionbox check
* NOTE: the check already need to check if the engine is old and the server not,
so the conditional just try to do exact check agains TRUE boolean.
* Closed https://codeberg.org/minenux/minetest-game-minetest/issues/12
fixed the problem of collisionbox for the lufix player in ugly way but
much more effectivelly due can be mixed in FinalMinetest and Multicraft
* Player model: Remove vertical 1 node offset for new engines, but
Required due to the settable player collision box engine feature
change for MT/MTG v0.5.0 that breaks compatibility with old client
so due that this commit will added backguard compatibility
* Autodetec minetest versoin engine and provide right model
character, update player code to provide compatibility with player_api
Currently all minetest_game PR's are failing travis since the
upstream luacheck now also warns about whitespace issues, and
there are a few of those in the code. This fixes all of them
so we can yet again rely on luacheck.
Update player script to match the animations in the previous commit
Shorten the still mine animation so the hand matches the speed of the walk-mine animation
Reduce animation speed to half when sneaking
Also get the mine animation working when holding the left mouse button. Walk animations have priority over it, and sadly you can't play both at the same time
Set initial player animation to stand
Add a function which allows registering different frame ranges for different player models
Cosmetic improvements to the player script
More progress on the player animation functions, this commit adds useles code currently
I forgot frame range definitions need to be per-model, since each model could have its own animations. Specify current ones as being player.x's
Add death animation, and correct many mesh issues I didn't notice last time
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
Consists of a simple standi animation currently being looped.
Compatible with any MineCraft skin, no texture included on GIT for licensing reasons.
Walk animations for the player (forward, backward, strafe left and strafe right). This commit removes other test cases from the default script, so that player.lua can be brought to what it's intended for
Punch / mine animation, and some consistency improvements to the player script
Entries for the newly added animation features
Update player script to work with the latest code
Add a test case for attachments. A LUA entity is attached to the player with a specified name 10 seconds after the server starts
Add a detachment test case (5 seconds after attaching)
Update function names, plus add a test case for both player to player and lua-entity to player attachments
Trigger the player.lua file in init.lua
Commit the ugly and temporary test model and texture. We'll get to a real animated player mesh once the code for that is ready
Set visual_size accordingly so the player model doesn't stretch vertically (default of the sprite player)
Attempt to use the b3d model format, although it doesn't seem to work so far