Commit Graph

485 Commits

Author SHA1 Message Date
Perttu Ahola
91937acf76 Merge Taoki's 3D player improvements 2012-11-27 08:15:38 +02:00
MirceaKitsune
e7b4b2ba57 Fix the death animation looping while the player is dead, by using a still frame instead (I don't believe the amount of detail for a full animation is needed anyway). Also call the animation Lay instead of Death, so other mods like beds can use it 2012-11-27 02:50:19 +02:00
MirceaKitsune
89fb5aed7f Fix positioning for sit animation 2012-11-27 01:52:39 +02:00
MirceaKitsune
df54836ea0 Add support for hats, so that MineCraft skins using this feature are compatible 2012-11-27 01:26:51 +02:00
MirceaKitsune
f2a67871d2 VanessaE suggested a sit animation, so add one to the player. Not used by default, but many mods might find this handy 2012-11-27 01:19:48 +02:00
PilzAdam
c3eaa9cd64 Add glass breaking sound 2012-11-26 19:53:28 +01:00
Vanessa Ezekowitz
d39044a2a7 new apple image. 2012-11-25 20:25:28 +01:00
MirceaKitsune
24d8d79ea1 Make the arms swing more for the walk animation 2012-11-25 21:02:01 +02:00
MirceaKitsune
cb4bfa51a1 Models allow multiple materials with multiple textures, so make the player texture field a list instead 2012-11-25 21:02:01 +02:00
MirceaKitsune
7a01de2f36 Improve and optimize the player script and add better comments 2012-11-25 21:02:01 +02:00
MirceaKitsune
c7a4a68d28 Implement death animation, but it currently loops constantly after the player dies (the player gets up and falls to the ground forever) 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
39e4bf0346 Get player walking and standing animations working! The player will play the proper animation when walking or standing.
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
2012-11-25 21:02:01 +02:00
MirceaKitsune
dce87664d2 Important improvements to the player script. Instead of setting model and texture every X seconds, only do it when the player joins (so far)
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
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
04d40a5ce4 Fix attachment test script and unregistered entities. Thanks jin_xi for this 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
PilzAdam
e9ad8d06c8 Render nayncat as a cube in inventory 2012-11-24 18:13:43 +01:00
PilzAdam
0495f9e209 Rotate the wield image of the shovel for better animation 2012-11-24 17:24:02 +01:00
Vanessa Ezekowitz
d0638d7284 sandstone should drop itself, and craft back to 4 sand.
Otherwise you lose 3 sand every time you have to dig up sandstone to move it.
2012-11-23 22:23:13 -05:00
PilzAdam
6687b5504d Fix a rare bug in leafdecay 2012-11-21 18:05:52 +01:00
PilzAdam
c455ba9b68 Fix dry shrubs being placed in cacti and fix incorrect comments 2012-11-20 17:43:46 +01:00
PilzAdam
165da9348a Use groups to craft things 2012-11-18 17:47:22 +01:00
PilzAdam
fb8144f703 Don't grow papyrus into trees 2012-11-18 17:25:43 +01:00
PilzAdam
df2fdba2b4 Make steel block and brick drop themselves when digged and make them craftable back into the their materials 2012-11-12 17:51:48 +01:00
PilzAdam
2768d4974b Add VanessaE's selection box for apples, saplings and papyrus 2012-11-11 18:17:09 +01:00
PilzAdam
91ee23d61b Add Calinou's improved default textures 2012-11-09 19:29:14 +01:00
Perttu Ahola
df3a694099 Swap out pixel-perfect nyan cat by request of Chris Torres 2012-11-09 20:16:14 +02:00
PilzAdam
ff9e2a75ee Update default_water.png to the new water textures 2012-11-04 11:55:35 +01:00
PilzAdam
4a68126a2b Add animation for water 2012-11-02 18:24:25 +01:00
darkrose
25a6cd866b Merge pull request #18 from darkrose/master
stop using hacks for sign input
2012-11-01 11:07:17 -07:00
PilzAdam
e5502c9415 Move falling to builtin 2012-10-31 19:09:17 +01:00
darkrose
e5e62f9085 formspec changes 2012-10-29 02:03:27 +10:00
Perttu Ahola
87a1e37d34 Update invsize[8,9;] -> size[8,9] 2012-09-03 17:38:32 +03:00
Perttu Ahola
6ad1d56b3d Remove obsolete metadata_name field 2012-09-03 17:30:07 +03:00
Perttu Ahola
0722c8064b Animated torches 2012-09-03 00:22:06 +03:00
Perttu Ahola
d98eab6a84 Fix crash when furnace is full 2012-08-12 17:10:28 +03:00
Perttu Ahola
7db7ea543f Remove some unwanted items from the creative inventory 2012-07-26 00:08:47 +03:00
Perttu Ahola
81afea1c00 Use new creative mode inventory properly 2012-07-25 18:05:13 +03:00
Perttu Ahola
6de625c67f Use improved inventory callbacks 2012-07-25 15:14:36 +03:00
Perttu Ahola
e550a0e26f Update locked chest metadata to new metadata inventory API 2012-07-25 02:40:26 +03:00
Perttu Ahola
c7b624d67c Remove /give, /giveme, /spawnentity and /pulverize as they are now implemented by the engine 2012-07-23 17:43:47 +03:00
Perttu Ahola
6ba4f01d0b Make fire a tiny bit less eager to jump everywhere 2012-07-21 03:08:59 +03:00
user
537344bc62 Make rails selectable.
Rails weren't selectable, and couldn't be removed from a map asides from
using worldedit (or maybe sand)
2012-06-20 04:33:26 +00:00
Perttu Ahola
d05002ecc0 Rename crack.png to crack_anylength.png as required by new engine (needed for proper texture pack compatibility) 2012-06-16 20:49:37 +03:00
Perttu Ahola
d817c9babe Add flowing lava animation and update some field names 2012-06-16 17:19:35 +03:00
Perttu Ahola
4e996ffa35 Update license in all READMEs (forgot to do that) 2012-06-09 13:33:05 +03:00
Perttu Ahola
1dd62938c1 Use traditional mese texture 2012-06-08 01:43:08 +03:00
Perttu Ahola
9a624d85d0 Change license to LGPLv2/later, as agreed major contributors 2012-06-05 18:58:30 +03:00
Perttu Ahola
a93527dfb6 Proper top/bottom textures for active furnace 2012-06-05 02:13:12 +03:00
Perttu Ahola
fcaacdb4ad Fire visualization in furnace menu 2012-06-04 00:14:45 +03:00
darkrose
dd9b33db67 Use new node metadata API for chests and furnaces; use cisoun's textures 2012-06-03 22:51:57 +03:00
Perttu Ahola
894f98d878 Fix typo in nyan cat generation 2012-05-20 18:32:58 +03:00
Perttu Ahola
3a1a7d511d Improve style of item descriptions 2012-05-20 16:02:51 +03:00
Perttu Ahola
53e9b0e107 Re-implement nyancat generation in Lua (they don't occur in the exact same spots, though) 2012-05-20 15:30:27 +03:00
Perttu Ahola
216227bac3 Tune ore generation 2012-05-20 14:32:19 +03:00
Perttu Ahola
1a62348e44 Attempt to balance cutting of wood with axes vs. swords 2012-05-20 14:32:01 +03:00
Perttu Ahola
3aac1adb15 Make falling nodes fall into all non-walkable nodes 2012-04-08 18:59:24 +03:00
Perttu Ahola
2302e55dbb Rework falling node code (now based on the falling_node group) 2012-04-08 17:49:02 +03:00
Perttu Ahola
279eff9a7f Add fire. Lava can cause it, and you can /giveme fire:basic_flame. 2012-04-08 15:32:31 +03:00
Perttu Ahola
df2037b886 Add 'flammable' group to suitable nodes (and a bit of other things) 2012-04-08 01:03:50 +03:00
Perttu Ahola
ccf3b71c28 Generate slightly less shrubs 2012-04-08 00:32:13 +03:00
Perttu Ahola
5296dc1518 Generate dry shrubs on deserts 2012-04-08 00:09:49 +03:00
Perttu Ahola
51fce37fc1 Tune cactus generation 2012-04-07 19:45:40 +03:00
Perttu Ahola
9207e9af46 Digging desert stone gives desert stone 2012-04-07 18:00:06 +03:00
Perttu Ahola
befc604af3 Add cactus generation, desert_sand and desert_stone 2012-04-07 15:37:31 +03:00
Perttu Ahola
5f6039bc3c papyrus generation 2012-04-07 14:09:07 +03:00
Perttu Ahola
4abfcda81f Optimize leaf decay based on EnvRef:find_node_near 2012-04-06 22:57:55 +03:00
Perttu Ahola
95f4ccab51 Move map generator stuff around a bit and generate coal and iron deep underground 2012-04-04 15:43:17 +03:00
Perttu Ahola
dee4b328a3 Make it not possible to get coal by cooking trees 2012-04-01 15:30:07 +03:00
Perttu Ahola
60c16eb57b Spread load better in leaf decay trunk caching 2012-04-01 13:46:46 +03:00
Perttu Ahola
68504124d7 Fix leaf decay at borders of the active block area 2012-03-31 16:37:23 +03:00
Perttu Ahola
fe315ac1eb Leaf decay drops saplings 2012-03-31 14:27:40 +03:00
Perttu Ahola
ab84afd071 Leaf decay, based on the groups 'leafdecay' and 'tree' 2012-03-31 13:12:12 +03:00
Perttu Ahola
de13e8f1fa Fix author information of stuff taken from G4JC's Almost MC Texture Pack 2012-03-30 21:36:31 +03:00
Perttu Ahola
1d4ae73e0d Move media author information to README.txt in mod directories 2012-03-30 11:15:01 +03:00
Perttu Ahola
492e86050c Clean/fix clay generation, update tool definitions to suit the latest engine 2012-03-29 13:44:56 +03:00
Perttu Ahola
0b157335d1 Generate clay 2012-03-29 03:48:23 +03:00
Perttu Ahola
8fece11cc7 Modify textures, add map generator necessities 2012-03-29 02:27:40 +03:00
Perttu Ahola
b4d659d8ae Add map generator output aliases as required by an in-development minetest branch 2012-03-28 01:33:02 +03:00
Perttu Ahola
cd280c865a Initial sounds 2012-03-26 22:58:49 +03:00
Perttu Ahola
f9ab8cd018 Add initial content 2012-03-26 22:50:35 +03:00