Commit graph

16489 commits

Author SHA1 Message Date
James R
1e73c842e2 Run squish effect for players too
This is ironic.
2021-11-28 23:14:53 -08:00
James R
696ca049d8 Apply momentum based squash and stretch to every object
Also netsave.
2021-11-28 22:43:48 -08:00
James R
5b86a70db2 Merge remote-tracking branch 'origin/master' into jelly-racers 2021-11-28 22:03:37 -08:00
James R
72ded01ac8 Smoother ceiling clipping
- Apply some gravity immediately.
- Play the bump (like against walls) effect.
2021-11-28 21:45:31 -08:00
James R
332d3bfa12 Fix passing tripwire not triggering SOMETIMES 2021-11-28 18:48:27 -08:00
James R
9750e2cd07 Tumble when passing tripwire while spinning out and with >200% speed 2021-11-28 17:27:06 -08:00
James R
2cab15c7a3 Automatically apply additive to tripwires 2021-11-28 16:34:46 -08:00
James R
54aaf6d98e Apply tripwire effect to TRIPWIRE and 4RIPWIRE 2021-11-28 16:23:37 -08:00
toaster
8852874465 KHUD NOT NETSYNCED, hyuu cannot safely use it as a reference point 2021-11-28 21:00:49 +00:00
Sally Coolatta
fbaa57a39c Give Landmines its own bot usage function
Prevents them from attempting to use landmines tossed forward. (Not really notable at all, since there's no one in front of you when you get landmine, at most means they may hold onto it longer, but it was just a weird thing I always meant to fix)
2021-11-28 15:20:57 -05:00
toaster
15741da0a4 Improve some of the efficiency loss in F_DoWipe compared to K.S.'s 2.1 code by seperating out some of the loops. 2021-11-28 20:18:41 +00:00
toaster
ba3e896655 Make the game loading-bar miniwindow do OS polling, to allow you to tab back into it without it being considered frozen by the OS. 2021-11-28 20:15:42 +00:00
Sally Coolatta
e4b27933f2 Comment the tire grease change 2021-11-28 15:13:54 -05:00
Sally Coolatta
3536c73b66 Fix eggbox stealth being bugged and never being used... 2021-11-28 15:08:54 -05:00
toaster
3141ca0221 Replay fixes mark whatever
Not a pancaea for EVERYTHING, just a bunch of good stuff.

* Some issues with spectators not == true because the assignment wasn't casted.
* Netgame status (or rather its inverse) is recorded in netreplays now, to allow for power levels controlling spawn position.
* Fixed tally screen for replays to not scream infinitely at you.
* P_IsLocalPlayer now uses display players in replays.
* A bunch of good testing prints that helped me find these problems, commented out for now just in case we need them again soonish.
2021-11-28 20:03:49 +00:00
Sally Coolatta
6be351a304 Improved item throwing
- Bots attempt to do fast item snipes (they will throw more often when above top speed)
- They will not waste double jawz anymore (they check for a jawz already targetting who they want to shoot before they decide to shoot it)
2021-11-28 14:55:03 -05:00
Sally Coolatta
40958073e3 Increase bot max top speed now that everything around it is fixed lol 2021-11-28 14:42:44 -05:00
Sally Coolatta
c7caf7ab44 Pull the prediction a lot more forward by default 2021-11-28 14:37:21 -05:00
Sally Coolatta
dca887e23e Do not adjust friction on bots for tire grease 2021-11-28 14:36:58 -05:00
Sally Coolatta
0c35e3f8b7 Bring back more jitter 2021-11-28 13:31:25 -05:00
James R
2276304c1d Don't skip other line specials if a trip wire is passed 2021-11-28 04:09:15 -08:00
James R
0e6bb75230 Check TRIPWIRE texture at map load
So it can be animated.
2021-11-28 04:08:38 -08:00
James R
8e20ca4c04 TRIPWIRE
Set a sidedef's midtexture to "TRIPWIRE" to turn that line
into a tripwire.

Players can't drive through a tripwire and will bounce
back at high speed if they're in one of the following
states:

1. Invincibility / Grow
2. Sneakers
3. Flame Shield dash
4. >200% on the speedometer

Hitting a tripwire plays a sound, sends you into hitlag,
then plays another sound when the hitlag is over. The
sounds used depend on whether you can drive through the
tripwire.
2021-11-28 03:03:43 -08:00
Sally Coolatta
e1ee0977af Merge branch 'master' into snapify-hitlag 2021-11-28 01:23:53 -05:00
Sally Coolatta
c1b34d4d4f A few more instances 2021-11-28 00:32:07 -05:00
Sally Coolatta
15556dce0b Quakes are scaled with map scale
Finally
2021-11-28 00:25:40 -05:00
Sally Coolatta
0974d6d1f4 Reduced hitlag jitter
Makes a little easier to parse. I might have gone overboard but I really wanted to test my hunch if Ivo's issue was mostly the fact it jitters so hard :V
2021-11-28 00:08:50 -05:00
SteelT
c142648d03 Add cmake config option to compile a dev build 2021-11-27 20:36:40 -05:00
James R
17b3cd205e Merge branch 'snapify-hitlag' into 'master'
Snap da sentinel like hitlag

See merge request KartKrew/Kart!458
2021-11-28 00:29:29 +00:00
Sal
b239974675 Merge branch 'spring-grease-tweaks' into 'master'
Spring grease tweaks

See merge request KartKrew/Kart!457
2021-11-28 00:22:10 +00:00
Sal
e5a5727781 Merge branch 'segasonic-sounds' into 'master'
Add SegaSonic Arcade sounds

See merge request KartKrew/Kart!447
2021-11-28 00:21:27 +00:00
James R
9d485e17e7 Merge branch 'karma-gate' into 'master'
Elimination timer for karma bombs during overtime

See merge request KartKrew/Kart!459
2021-11-28 00:20:52 +00:00
James R
9abb632d19 Merge branch 'fix-hitlag-level-music' into 'master'
Fix level music not starting during hitlag

Closes #178

See merge request KartKrew/Kart!455
2021-11-28 00:20:20 +00:00
James R
b4fd699082 Merge branch 'balloons-collision' into 'master'
Let the player touch balloons

See merge request KartKrew/Kart!456
2021-11-28 00:20:07 +00:00
James R
e099cc2df8 Merge branch 'sound-def-volume' into 'master'
Volume option for sounds (like with MUSICDEF)

See merge request KartKrew/Kart!449
2021-11-28 00:19:53 +00:00
James R
5e6dac7020 Merge branch 'spbcapsul' into 'master'
No ring capsules when SPB-locked

See merge request KartKrew/Kart!452
2021-11-28 00:19:38 +00:00
James R
f90c85ef79 Merge branch 'fast-snake-netsave' into 'master'
Fix potential desync

See merge request KartKrew/Kart!454
2021-11-28 00:19:20 +00:00
Sally Coolatta
a17f11e6c5 Ignore collisions between 2 objects that are BOTH in hitlag
Still allows it if a new object interferes to add more hitlag, but this should hooopefully prevent super big knockback stacking from 1 object?
2021-11-27 13:45:23 -05:00
Sally Coolatta
cb5ea8b335 Add basic damage hitlag effects
- Invert high contrast greyscale colorization effect for damage hitlag
- Jitter is now also exclusive to damage-related hitlag
- Since jitter is now just tied to a flag, removed the old trick momentum hack
2021-11-27 13:38:45 -05:00
James R
0d3a1b72cb Apply grease to vertical only springs too 2021-11-27 03:05:04 -08:00
James R
f6e6c2010e Reintroduce battle overtime barrier minimum radius
- 768 fracunit minimum.
- Emerald spawning arc reduced so they spawn right next to
the barrier at minimum radius.
- Items always spawn.
2021-11-27 01:23:41 -08:00
Sally Coolatta
eb9e3d3e1b Snap da sentinel like hitlag
- Added a hitlag cap of 18 frames (can be decreased to 12 if it's too much)
- Hitlag amount can't be reduced, only increased
- Hitlag added is the same between both objects, instead of being different between the two
- Objects in hitlag can be interacted with again with TryMove (I was too nervous of it but it's fine in Snap lol)
- Rebalanced the damage hitlag lengths to make it feel relatively the same with all of the above considered
2021-11-27 03:24:29 -05:00
James R
fd6c65a339 Don't count down overtime karma timer while waiting to become bomb 2021-11-27 00:14:48 -08:00
James R
5f9ec5caa6 Fix karma overtime not counting down after 10 seconds :) 2021-11-27 00:06:01 -08:00
James R
059058476e Elimination timer for karma bombs during overtime
Every hit on another player while you are alive awards you
five seconds of karma bomb time during overtime. When this
timer is empty, you will DIE.
2021-11-26 21:55:32 -08:00
SteelT
d1a5a82980 Spring grease vfx is no longer visible when you're airborne 2021-11-26 23:44:06 -05:00
SteelT
db4bb74c42 All springs give spring grease 2021-11-26 23:42:25 -05:00
James R
25c6852482 Let the player touch balloons 2021-11-26 19:17:53 -08:00
James R
5f625437a8 Move level music check out of player thinker
Hitlag during this tic will skip playing the music.
2021-11-26 18:20:16 -08:00
James R
1958f3f61c Sync respawn.airtimer
Oops!
2021-11-26 12:55:23 -08:00