Commit Graph

7 Commits

Author SHA1 Message Date
MirceaKitsune
24d8d79ea1 Make the arms swing more for the walk animation 2012-11-25 21:02:01 +02:00
MirceaKitsune
91da5d1308 Model - Get rid of the 4 walk animations and only leave one, which looks good for all directions. Also add a Walk + Mine animation, since Irrlicht doesn't support blending the two animations otherwise
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
2012-11-25 21:02:01 +02:00
MirceaKitsune
b97400d71d Updated texture from Jordach, and fix the licensing confusion
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
2012-11-25 21:02:01 +02:00
MirceaKitsune
abaf4c5121 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
2012-11-25 21:02:00 +02:00
MirceaKitsune
609646b9b5 At last, we have a player.
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
2012-11-25 21:02:00 +02:00
MirceaKitsune
24781813fa b3d, you have failed me. x model format, you're in
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
2012-11-25 21:02:00 +02:00
MirceaKitsune
0057a87b99 Add script to turn players into meshes, ticks every 1 second
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
2012-11-25 21:02:00 +02:00