Commit graph

505 commits

Author SHA1 Message Date
3raven
71424aa5fb update+corrections 2022-08-22 21:54:28 +00:00
Sumyjkl
307140b9a4 still over it 2022-08-12 13:03:11 +10:00
Sumyjkl
6cab000b2a fix merge conflict 2022-08-12 12:57:21 +10:00
Sumyjkl
c36fd90965 Merge remote-tracking branch 'refs/remotes/mclmaster/master'
Conflicts:
	mods/PLAYER/mcl_playerplus/init.lua
2022-08-12 12:55:50 +10:00
Sumyjkl
97472becfc I'm over it. 2022-08-12 02:26:22 +10:00
opfromthestart
f0837bdee6 Swimming collides with ice properly 2022-08-11 15:35:40 +02:00
Sumyjkl
25491b3882 prevent player from gaining too much speed by pitching down and spamming jump 2022-08-10 13:24:08 +10:00
Sumyjkl
dd9c8b3f48 more accurate physics again, prevent slow servers having slower flight 2022-08-08 11:50:23 +10:00
Sumyjkl
45c93e0340 accurater physics, can't spam jump to gain speed on flat ground (needs work to allow mc like boosting) 2022-08-08 10:50:06 +10:00
Sumyjkl
99eca2ceb9 player will not be upside down when flying or swimming 2022-08-08 02:05:03 +10:00
Sumyjkl
9fdcfcd898 significanltly more accurate values, much slower, more reliable physics, more comments 2022-08-08 00:05:00 +10:00
Sumyjkl
5a8216ba43 moved functions and constants out of global step (oops) 2022-08-07 23:12:57 +10:00
Sumyjkl
02c92dc6f8 fix getting wrong node 2022-08-07 01:05:39 +10:00
Sumyjkl
509fadfebb fix is_pressing_jump being global 2022-08-07 00:38:20 +10:00
Sumyjkl
cd6da88b37 tweaks again 2022-08-05 14:43:48 +10:00
Sumyjkl
3c0992e58d tweaks 2022-08-03 18:41:51 +10:00
Sumyjkl
4df51bac72 code quality, minor tweaks 2022-08-03 01:03:28 +10:00
Sumyjkl
b7a5a74ccf less pitch up slowdown 2022-08-03 00:14:31 +10:00
Sumyjkl
ece79cad8a prevent player from getting hyperspeed while flying from ground 2022-08-03 00:08:30 +10:00
Sumyjkl
845e43c143 tweaked several things 2022-08-02 23:51:21 +10:00
Sumyjkl
aa93ce4b3a tweaked slowdown on pitch up 2022-08-02 23:45:20 +10:00
Sumyjkl
12af0e7de8 semi-working on 0.3 server step 2022-08-02 23:42:04 +10:00
Sumyjkl
32a57133ac use dtime 2022-08-02 22:47:51 +10:00
Sumyjkl
5c085bd28f prevent player gaining infinite momentum by spamming jump while running, added dtime dependent velocity 2022-08-02 22:06:19 +10:00
Sumyjkl
c80012a14f fix gravity not being reset when died after rocketing 2022-08-02 21:23:05 +10:00
Sumyjkl
0f6a51a031 remove unused file scope variables 2022-08-02 18:39:15 +10:00
Sumyjkl
1468acf6d4 move player up to give clearance when start flying 2022-08-02 18:26:00 +10:00
Sumyjkl
5fd66d1850 can pitch up without losing too much speed 2022-08-02 18:12:15 +10:00
Sumyjkl
8378ca92e2 turning slows the player down in fly mode 2022-08-02 08:20:08 +10:00
Sumyjkl
2b5e3b5123 code quality: combine add_velocity calls into one 2022-08-02 00:14:24 +10:00
Sumyjkl
368ffda75b can only fly when pressed jump and cannot hold jump to enter fly mode, set speed to player velocity when entered fly mode 2022-08-01 23:45:41 +10:00
Sumyjkl
cd62278336 improved code quality 2022-08-01 23:01:27 +10:00
Sumyjkl
9e1b0184c5 fireworks function, slight balancing, removed debug starting speed 2022-08-01 22:15:36 +10:00
Sumyjkl
20b229a9b9 pitching up too far can make player fall fast 2022-08-01 20:53:35 +10:00
Sumyjkl
832b0afdd6 more reasonable values 2022-08-01 20:51:08 +10:00
Sumyjkl
177cf231b6 make elytra better again 2022-08-01 20:34:56 +10:00
Sumyjkl
696cc150b4 broke elytra 2022-08-01 20:12:53 +10:00
Sumyjkl
8f4388c4c8 elytra less sensitive to landing, allows entering flight without as much downward velocity 2022-08-01 17:42:43 +10:00
cora
f1915ef2f1 Fix globalstep in mcl_hunger taking a long time 2022-07-26 00:27:34 +02:00
cora
8556226cf7 Move check to the top of the function 2022-07-24 23:38:24 +02:00
cora
323a1f6e18 Fix mcl_sprint globalstep taking long 2022-07-24 12:55:37 +02:00
SumianVoice
de0a78012d fix getting stuck under non-opaque blocks 2022-07-18 10:09:04 +10:00
Sumyjkl
9062a6e22e add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode 2022-07-17 23:14:24 +10:00
Sumyjkl
a41cbb7ebf added comment and removed unnecessary code 2022-07-17 22:50:22 +10:00
Sumyjkl
4738834ddd remove unecessary code 2022-07-17 22:40:33 +10:00
Sumyjkl
2e06e22d70 removed unnecessary node_above_head variable 2022-07-17 21:50:22 +10:00
Sumyjkl
e4c7d575fc take no damage when swimming near roof, no ability to no-clip through roof when swimming 2022-07-17 21:46:36 +10:00
MysticTempest
e3abe72522 Fix healing speed, and saturation usage again; to be more accurate. 2022-06-25 01:41:10 -05:00
MysticTempest
a6e2c94028 Tweak hunger/health mechanics:
Ensure hunger is always ticking away, and ensure that health regen
is quicker when hunger bar is full.
And, tweak saturation to partially use up hunger to heal; instead
of healing on top of hunger.
2022-06-24 05:38:26 -05:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00