Commit Graph

398 Commits

Author SHA1 Message Date
kay27
b587b1f2a5 [mcl_spawn] Cleanup 2021-03-29 02:48:45 +04:00
AFCMS
57ce5143b9 Clarify API documentation 2021-03-27 23:39:22 +01:00
AFCMS
3ba7a40251 Add API documentation 2021-03-27 23:07:46 +01:00
AFCMS
6a6b5970b3 fix API 2021-03-27 20:23:51 +01:00
AFCMS
30e50a64ef basic API (WIP) 2021-03-27 20:12:48 +01:00
ArTee3
910c9083e5 Fix player speed on soul sand, https://git.minetest.land/MineClone2/MineClone2/issues/1356 2021-03-22 21:55:57 +01:00
iliekprogrammar
12745bd450 Remove debug information... again :/ 2021-03-20 10:13:48 +08:00
iliekprogrammar
34dbddb40a Move holding code into mcl_playerplus 2021-03-20 08:42:48 +08:00
iliekprogrammar
249b5cfd1e Remove debug information 2021-03-20 00:11:12 +08:00
iliekprogrammar
f5f85a2148 Slightly lift your right arm when holding an item. 2021-03-19 23:28:33 +08:00
Elias Fleckenstein
9391628813 Fix wielded nodes being upside down 2021-03-19 12:41:03 +01:00
Elias Fleckenstein
f3580efced Separate Head / Body rotation (Implement #1189) 2021-03-19 11:32:17 +01:00
Elias Fleckenstein
4a53ba67ab Wielditem rotation tweak 2021-03-19 09:37:24 +01:00
Nicu
e61f1e38f2 Rotation fix for all wielded items
These were probably needed in an older version of the game/engine, but most items don't need changes for correct wielding. The only tweak was needed for the screwdriver.
2021-03-18 19:31:51 +00:00
Elias Fleckenstein
df59cc12a8 Proper bucket rotations (Fix #1289) 2021-03-18 12:48:29 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
c1da231f9d Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-15 09:37:54 +01:00
epCode
39c357672c Add cammera zoom effect while drawing bow 2021-03-14 17:13:23 -07:00
AFCMS
2dcaf8fdcb improve performances of mcl_playerplus
really noticeable gain with caching  global functions
2021-03-15 00:32:19 +01:00
epCode
975efb2288 Fix #1136 2021-03-13 10:35:36 -08:00
epCode
360070bb6a Fix player eye height above head 2021-03-11 15:56:09 -08:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
Elias Fleckenstein
31441a02e5 Add CSM sprinting with double tap forward 2021-03-05 09:26:13 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Code-Sploit
83ade6fadd Merge branch 'master' into master 2021-02-28 14:04:10 +00:00
Code-Sploit
6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
epCode
9f66238aaa Transform mcl_meshhand_female.b3d to correct rotation 2021-02-27 11:36:18 -08: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
Elias Fleckenstein
ba1e42a638 Remove debug chat_send_all xD 2021-02-27 14:42:39 +01:00
epCode
2b513aa592 Change mcl_meshand depending on skin metadata 2021-02-26 15:01:30 -08:00
epCode
73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
epCode
3406342ed0 remove unessesary Message every time skin is changed 2021-02-25 13:38:02 -08:00
epCode
8f2a588059 Fix #1156 2021-02-25 12:27:14 -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
Elias Fleckenstein
d4401a6c3e Simplify 3D wielded nodes (improves performance + possibly fixes a crash) 2021-02-25 17:35:44 +01:00
epCode
fbb79635eb Fix player body rotation glitch 2021-02-24 17:11:00 -08:00
kay27
3ceb2b0a4d Fix https://git.minetest.land/MineClone2/MineClone2/issues/1160 2021-02-25 03:30:34 +04:00
epCode
c1c3dbfaec Fix #1184 2021-02-24 15:21:05 -08:00
epCode
d1fd3cc827 Add 3D wieldveiw for non-item objects 2021-02-24 13:20:31 -08:00
Elias Fleckenstein
da606fa9d2 Add 3d wielded nodes (not functional until Right_Hand bone is added) 2021-02-24 12:58:30 +01: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
38cb2fdeec Fix swimming crash (sorry) 2021-02-20 19:19:59 -08: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
4c3954959c replace pairs() by ipairs() in mcl_player 2021-02-18 15:32:15 +00:00
AFCMS
25653e6178 replace pairs() by ipairs() in mcl_playerinfo 2021-02-18 15:31:13 +00:00
AFCMS
0531aae687 replace pairs() by ipairs() in mcl_playerplus 2021-02-18 15:27:50 +00:00
AFCMS
2e2d0b49ea performance fix in mcl_skins 2021-02-18 15:07:37 +00:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
epCode
18a8d011a2 Sprinting anim, MC-like Player anims, Swimming detection 2021-02-17 15:17:12 -08:00
epCode
a49e144911 Localize a couple variables 2021-02-17 02:51:33 +00: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
Elias Fleckenstein
98b00898a5 Merge pull request 'Make player wield switch instant' (#1129) from Code-Sploit/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1129
2021-02-16 12:40:55 +00:00
Code-Sploit
9cbfaf012e Make player wield switch instant 2021-02-16 12:34:26 +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
d7cfe54eb4 Give the player some eyes 2021-02-11 12:20:39 -08:00
epCode
6a3a0362a3 Fix player looking up while on water and attached 2021-02-09 19:00:54 +00:00
Elias Fleckenstein
484ffc924a Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-09 18:19:18 +01:00
Elias Fleckenstein
b36db2044f 3D Player preview in inventory 2021-02-08 20:13:08 +01: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
epCode
c5169e48a1 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:50:27 -08:00
epCode
38f70561c5 Swiming coment 2021-02-06 17:44:30 -08:00
epCode
df8bdfbc36 Animations for swiming 2021-02-06 17:40:07 -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
1868f31673 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-05 16:40:14 -08:00
epCode
729c60cd4b Nametag vanishes when sneaking 2021-02-05 16:39:50 -08:00
epCode
6f8d728035 Merge pull request 'master' (#6) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/6
2021-02-06 00:10:00 +00: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
kay27
13a9dbed3e Fix https://git.minetest.land/MineClone2/MineClone2/issues/1052 (stop searching trees after 10+ attempts) 2021-02-04 03:41:43 +04:00
kay27
9492f276fc Make mcl_spawn compatible with flat mapgen with superflat MCL2 option (but better to have some trees still) 2021-02-03 16:08:00 +04:00
kay27
e8f8d4cb1e Better fix spawn point search (follow-up 32cf25dc17) 2021-02-03 04:22:02 +04:00
kay27
32cf25dc17 Fix spawn point search 2021-02-03 03:53:47 +04:00
epCode
e0ad09900c Merge pull request 'master' (#5) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/5
2021-02-02 22:19:58 +00:00
MysticTempest
c1c5ed4869 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-24 17:47:28 -06:00
kay27
81c27363a3 Add limitations to respawn search algorithm to make it work faster 2021-01-17 22:07:02 +04:00
kay27
5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
kay27
fe33f172d4 Add player-friendly respawn place search algorithm, fix https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Elias Fleckenstein
3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
kay27
4d54766590 quick fix of https://git.minetest.land/Wuzzy/MineClone2/issues/954 2021-01-05 12:15:43 +01:00
Elias Fleckenstein
cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Elias Fleckenstein
2bc5a281f5 Player damage texture modifier 2021-01-02 10:57:33 +01:00