Commit Graph

84 Commits

Author SHA1 Message Date
cora 5deaabdb47
Fix player bone positions and properties setting
The comparison and setting logic in the previous patch that set player
bone positions and properties conditionally incorrectly did not update
some values (like player eye level position) when they changed. This
patch fixes it and adds asserts to ensure the code works as intended.
2021-12-09 04:53:45 +01:00
cora d77f31eab8
Only set/send player properties if necessary
Before this patch, Mineclonia set (and therefore sent) player bone
positions and player properties in every globalstep. This results in
about 30 TOCLIENT_ACTIVE_OBJECT_MESSAGE per second per player. This
patch adds conditional functions to set bone positions and properties.
The functions set values only when they have changed, reducing traffic.
2021-12-09 04:26:22 +01:00
Elias Åström 5d3514880a Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.
2021-05-16 13:44:04 +02:00
Code-Sploit 6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
Code-Sploit 99b5dff849 Fix another bug 2021-02-27 16:13:05 +00:00
Code-Sploit de9d838642 Fix a bug and improve some things
Bugs:
1) When player is in liquid and takes off his/her boots, he/her still has increased speed.

Improve:
1) Check for liquid group instead of node names
2021-02-27 16:10:11 +00:00
Code-Sploit 828c1110b1 Implement Depth Strider enchantment 2021-02-27 15:37:25 +00:00
Elias Fleckenstein e5263d854e Localize player_vel_yaw 2021-02-27 15:10:25 +01:00
Elias Fleckenstein 5a0b7bc131 Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
epCode 73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
epCode fb5f86d829 Fix #1196 2021-02-25 12:07:25 -08:00
epCode 8c1444a1a8 Fix Swim toggling 2021-02-25 12:06:24 -08:00
epCode fbb79635eb Fix player body rotation glitch 2021-02-24 17:11:00 -08:00
epCode c1c3dbfaec Fix #1184 2021-02-24 15:21:05 -08:00
epCode 4334339ba3 Fix player head bone in while attached 2021-02-23 14:18:52 -08:00
epCode 9caf6f2904 Add more MC-like player body bone positioning 2021-02-22 18:48:09 -08:00
Elias Fleckenstein 152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
epCode d8b5620115 Make head block detection more stable 2021-02-21 04:11:20 +00:00
epCode 98f6e05cdc Make swimming a bit smoother 2021-02-20 16:21:09 -08:00
epCode ecb70aaf55 Make player head anim while attached more flexible 2021-02-19 14:07:36 -08:00
AFCMS 0531aae687 replace pairs() by ipairs() in mcl_playerplus 2021-02-18 15:27:50 +00:00
epCode 18a8d011a2 Sprinting anim, MC-like Player anims, Swimming detection 2021-02-17 15:17:12 -08:00
epCode c238fd9ba7 Set swiming detection to "node_feet" 2021-02-16 14:18:06 -08:00
epCode 24c14e7f15 Fix bow having weird hand placements while hitting and loading 2021-02-16 20:13:12 +00:00
epCode 3b775c38cd Fix wrong numbers (Swaped)
My bad
2021-02-15 23:46:27 +00:00
epCode 164aad4ff9 Fix player glitches when standing by the water
Instead of making the player collisionbox smaller from the ground, I made it smaller from the top.
2021-02-15 16:59:24 +00:00
epCode 52c36d45da Remove Buggy Crawling for Fixing 2021-02-14 11:18:46 -08:00
epCode ba86cf1d8b Impliment crawling 2021-02-13 16:09:00 -08:00
epCode a9fe8d58e5 Add bow aiming animations 2021-02-12 09:16:08 -08:00
epCode 6a3a0362a3 Fix player looking up while on water and attached 2021-02-09 19:00:54 +00:00
kay27 bd1e4187a0 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1079 by epCode 2021-02-08 11:48:31 +04:00
epCode 29d43b9709 Fix player head with wrong pitch while swiming 2021-02-06 18:18:19 -08:00
kay27 84289a3a11 Tiny code cleanup and potentially bugfix after latest mergings 2021-02-07 02:56:00 +04:00
epCode 282af37555 Add some sneaking commentary 2021-02-05 19:44:41 -08:00
epCode 729c60cd4b Nametag vanishes when sneaking 2021-02-05 16:39:50 -08:00
epCode 403c174722 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:14:06 -08:00
epCode 37baf5e69a Fix sneak/R.click bugs. 2021-02-03 17:12:28 -08:00
epCode f37096cb4b Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:05:48 -08:00
epCode cf837247a7 Fix sneak/R.click bugs. 2021-02-03 16:59:58 -08:00
epCode bd98529945 Fix sneak/R.click bugs 2021-02-03 16:29:33 -08:00
epCode 2b2e0914d4 Added arm pitch control 2020-12-20 14:42:45 -08:00
epCode 2e2b22dc15 Player properties for sneaking 2020-12-18 16:43:42 -08:00
Elias Fleckenstein 479dfd6c0d Soul Speed 2020-11-09 10:50:27 +01:00
kay27 4eb42c3a9a Merge bzoss_player feature branch 2020-09-25 00:39:51 +04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy 131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Wuzzy 94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00