33 Commits

Author SHA1 Message Date
PilzAdam
49f6e00cf3 Use player:set_hotbar_image() instead of hardcoded hotbar.png 2013-09-05 00:21:16 +02:00
PilzAdam
2a3516491a Dont teleport back if holding sneak when detaching/turn freemove off 2013-05-19 20:56:58 +02:00
sapier
04225e53ec Move player collisionbox to player class 2013-04-25 18:53:50 +02:00
MirceaKitsune
2a821f6880 Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with. 2013-04-11 19:42:47 -04:00
MirceaKitsune
d0b179eff2 Dont allow fast move in water or ladder when aux1_descend is true 2013-04-05 14:58:35 +02:00
MirceaKitsune
ad16c90acf Allow modifying movement speed, jump height and gravity per-player via the Lua API. 2013-04-05 02:00:59 +02:00
Zeg9
519524e09f Fix camera "jumping" when attached and the parent goes too fast 2013-04-03 23:22:40 +02:00
sapier
fd60aa7e67 Closed add object <-> object collision handling 2013-03-28 00:09:24 +01:00
Ilya Zhuravlev
a12df55f29 Migrate to STL containers/algorithms. 2013-03-11 19:08:39 -04:00
Sfan5
3fab3825aa Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
MirceaKitsune
f0f07b20f0 Improved Player Physics 2013-02-14 06:21:30 +10:00
ShadowNinja
0755f0fc73 Don't fall off nodes if sneaking with free_move on but without fly privileges 2013-02-10 12:35:04 +01:00
PilzAdam
fd5ea41ddf Add a setting to enable always flying fast 2013-01-07 18:26:34 +01:00
PilzAdam
c611f03bf1 Use aux1 to move fast when flying 2012-12-27 18:33:24 +01:00
PilzAdam
92160e5c2d Fix falling damage when not flying 2012-12-17 18:04:41 +01:00
PilzAdam
23fff559ef Dont sneak while flying 2012-12-11 19:04:55 +01:00
PilzAdam
9c421b3e92 Only fly through walls in noclip mode wich requires the noclip privilege 2012-12-11 16:44:13 +01:00
MirceaKitsune
c294d6809c Don't send player position from client to server if the player hasn't moved 2012-12-02 20:22:02 +02:00
Calinou
18883a0212 Fix head shifting downards in glass, nodeboxes... 2012-11-28 16:14:52 +04:00
MirceaKitsune
ec0544b5de Fix more things I forgot for attached players. Such players will now properly see themselves moving when attached, and the server will read their position accordingly
Fix attached players being able to bob their view and generate foostep sounds by pressing a movement key (running in place)
2012-11-25 19:14:24 +02:00
MirceaKitsune
987a4e06dc Update attachments at the ending of the addToScene function for parents. And with this... *drum roll* Client-side attachments are at last functional and stick visibly.
Fix the last segmentation fault (apparently). So far attachments seem to be fully functional, although removing the parent causes children to go to origin 0,0,0 and possibly still cause such a fault (though this should already be addressed)

Fix a bug in falling code where entities get stuck

Also check if the parent has been removed server-side, and detach the child if so. Fixes children going to origin 0,0,0 when their parent is removed.

Unset all attachment properties when permanently detaching (on both the client and server). Also store less data we don't need

Create a separate function for detaching, and also update lua api documentation

When a child is detached, update its position from the server to clients. This WILL cause it to get positioned slightly differently client side, as the server attachment system only copies parent origin and knows not about mesh / bone transformation. This prevents different clients seeing the object detached in different spots which is most correct

Update the position of attached players to clients. An attached player will see himself move, but this is currently VERY ugly and laggy as it is done by the server (it probably must stay this way too)

Use a different approach for locally attached players. This allows for smooth positio transitions to work, as well at the player turning around freely. Still buggy however
2012-11-25 19:14:24 +02:00
Perttu Ahola
45320db840 Fix shift-descend to ladders from a floor 2012-09-03 23:31:51 +03:00
Perttu Ahola
9a70e84286 Fix the bouncy node related stuff a bit 2012-09-01 13:21:52 +03:00
Perttu Ahola
07526467af Add bouncy node group 2012-09-01 12:58:37 +03:00
Perttu Ahola
c0ad363af7 Add disable_jump and fall_damage_add_percent node groups 2012-09-01 12:07:27 +03:00
sfan5
5ef2bb1412 Make shift the default descent control on ladders and when flying
"aux1_descends" setting switches to the old descend control.
2012-09-01 09:48:07 +03:00
Matthew I
1fe9586810 Fix hovering after mining a block underneath you while sneaking 2012-07-21 20:56:56 +03:00
Kahrl
05d8ea0ebb Custom boxy nodes (stairs, slabs) and collision changes 2012-06-17 16:34:39 +03:00
Perttu Ahola
ec937ecdd8 Properly and efficiently use split utility headers 2012-06-17 02:40:36 +03:00
Perttu Ahola
e70b6545b1 Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors 2012-06-05 18:54:07 +03:00
Perttu Ahola
e07570f6c9 Add server-side enforcement of the 'fast' privilege; also fix client checking 'fly' instead of 'fast' 2012-03-31 17:08:39 +03:00
Perttu Ahola
0abf89eb12 Add 'fly' and 'fast' privileges and the underlying privileges-to-client system 2012-03-31 16:25:02 +03:00