Commit graph

422 commits

Author SHA1 Message Date
Antonio Martinez
01dcfafe5c Negative edge Overdrive 2024-08-24 18:37:57 -07:00
Ashnal
ee74b747ac Exp hud math for target 500 at 1.0 exp 2024-08-24 23:27:20 +00:00
Antonio Martinez
e6db4e4d9b Backshots resurrection 2024-08-23 21:02:43 -07:00
Ashnal
9cfa67dae6 WIP Exp math
temp changes to distribution debugger
2024-08-19 00:10:45 -04:00
Antonio Martinez
f4e3cf1555 Digital-friendly sliptide extensions 2024-08-13 16:12:03 -07:00
Oni
4bf99e7f16 Merge branch 'amps' into 'master'
Overdrive!

See merge request KartKrew/Kart!2414
2024-08-13 02:46:56 +00:00
Antonio Martinez
83be26cd76 Defensive Overdrive when hit into debt 2024-08-04 00:09:16 -07:00
Antonio Martinez
199a92ebb2 WIP: Overdrive 2024-07-22 02:14:11 -07:00
Antonio Martinez
1b19cd6a38 Power item scam removal mk.2 2024-07-21 16:18:47 -07:00
James R
489bc15161 Autoring: set follower to 50% transparency if player cannot use rings 2024-05-05 01:20:08 -07:00
AJ Martinez
bf585359c9 Add soft tumble, don't drop items vs invinc 2024-05-01 18:09:34 -07:00
AJ Martinez
b97c6e34c2 Fix K_PlayerTripwireSpeedThreshold breakage 2024-04-27 23:46:30 -07:00
Sally Coolatta
78f3d62808 No thunderdome in GP 2024-04-11 03:07:56 -04:00
toaster
7072bd06d5 Good faith effort to update ZarroTsu copyright for k_kart sourcefiles 2024-04-02 17:43:26 +01:00
James R
d4d2196c73 GP bonus round: do not spawn duel mode items TWICE
Level load ordering's a bitch, I explain in the code
comments.
2024-03-07 03:06:38 -08:00
James R
ecbcc5addb Make automatic respawn (from lap cheat prevention) more lenient
- When potential lap cheating is detected, start a 10
  second timer (previously 1 second)
- After 3 seconds, tell the player they can respawn with
  the Y button
  - You don't need to hold the Y button, just tap it
- After 10 seconds, automatically respawns the player
2024-03-06 18:19:34 -08:00
James R
3179669ce7 Refactor player waypoint code
- Condense K_GetPlayerNextWaypoint and
  K_UpdateDistanceFromFinishLine into slightly smaller
  functions
- Rename K_GetPlayerNextWaypoint to
  K_SetPlayerNextWaypoint
- Add K_UpdatePlayerWaypoints
2024-02-28 18:06:32 -08:00
AJ Martinez
09b5cb5020 MAXCOMBOTIME 6s -> 4s 2024-02-10 15:50:15 -07:00
AJ Martinez
b55d236733 Scale bumper size to combo length when hit 2024-02-10 15:16:48 -07:00
AJ Martinez
10ba1fa25f WIP: Adjust combo escape tuning defines 2024-01-29 18:27:26 -07:00
AJ Martinez
9231e95101 WIP: Battle combo mitigation rework 2024-01-29 17:02:25 -07:00
AJ Martinez
0878946b7e Merge remote-tracking branch 'origin/master' into bumper-boats 2024-01-29 16:06:58 -07:00
James R
b52384b294 Add K_GivePointsToPlayer, gives the points and spawns the VFX in one fell swoop 2024-01-26 14:30:56 -08:00
AJ Martinez
c197d41bdc Bumper inflate refinements part 69 2024-01-25 15:14:32 -07:00
AJ Martinez
26677c612e WIP: Improved bumper defenses 2024-01-23 22:06:17 -07:00
AJ Martinez
e867a9ee41 Ring dump transparency 2024-01-20 19:15:09 -07:00
Sal
65aaf679b6 Merge branch 'easy-top-bounce' into 'master'
Slow down top if player's out of control

Closes #627

See merge request KartKrew/Kart!1836
2024-01-14 21:04:21 +00:00
James R
a349b1acf0 Revert "Add K_UpdateDamageFlashing, refactor Battle 0-flashing tics"
This reverts commit 3856fbf1c6.
2024-01-13 22:56:16 -08:00
AJ Martinez
a76507e17f Slow down top if player's out of control 2024-01-13 20:30:20 -07:00
Oni
4e2373cdc0 Merge branch 'quiet-rings-2' into 'master'
3x slower ring volume regen

Closes #878

See merge request KartKrew/Kart!1830
2024-01-13 06:23:51 +00:00
AJ Martinez
a271942ab7 3x slower ring volume regen 2024-01-12 15:10:09 -07:00
James R
3856fbf1c6 Add K_UpdateDamageFlashing, refactor Battle 0-flashing tics
Instead of setting flashing tics to 0 in Battle, simply
don't update the value in damage contexts (if Battle).
2024-01-11 22:01:37 -08:00
AJ Martinez
1a2a2df383 Refactor guard/whip cooldown checks 2024-01-09 20:26:35 -07:00
Sally Coolatta
abde576c58 Enforce const in bot ticcmds
There were a few remaining cases of bot ticcmd generation editing player structures directly. Fix all of this and make as much of it pass const player pointers so this physically can't be allowed to happen ever again. Appears to improve bot sync in netgames & demos bot support, but I have not tested extensively.
2023-12-22 23:28:08 -05:00
Oni
94a593487b Merge branch 'fix-reducevfx' into 'master'
Fix `reducevfx` mkaing some VFX visible, when they shouldn't be

See merge request KartKrew/Kart!1622
2023-11-18 07:11:25 +00:00
AJ Martinez
d54d2f6d04 Merge remote-tracking branch 'origin/master' into catholic-vfx 2023-11-14 21:47:51 -07:00
James R
ee7f3d7108 Replace K_ReduceVFX with K_ReduceVFXForEveryone, replace owner cases with RF_REDUCEVFX 2023-11-13 23:49:33 -08:00
James R
61cad641bb Invincible player punts hazardous/solid things, unless MF_ELEMENTAL
If player is in one of these states:

- Invincibility
- Grow (K_IsBigger)
- Flame Shield dash
- Over 200% speed

And the other object:

- Does not have MF_DONTPUNT

Then, touching a solid object:

- Punts the object, unless the object has MF_ELEMENTAL
- Fizzles the object, if the object has MF_ELEMENTAL

Or, when an object damages the player:

- That object is punted, unless it has MF_ELEMENTAL
- The object fizzles, if it has MF_ELEMENTAL

Punting means:

- A copy of the object is made
- Both the player and copy receive 5 tics of hitlag
- The copy is thrust away from the player at a minimum of
  60 FU, or 2x either the player's or object's momentum,
  whichever is ultimately greater
- The copy despawns after 2 seconds
- The copy flickers constantly, while thrust away

Fizzling means:

- The object disappears completely
- A puff of smoke is spawned in place of the object
- No hitlag is applied to the player

Both punting and fizzling:

- Hide the original object (intangible and invisible)
- The original object reppears after 30 seconds
- For 2 seconds before reappearing, the object flickers
  back in, but is still intangible
2023-11-13 22:18:35 -08:00
AJ Martinez
4997c4c0ed Add K_IsPlayingDisplayPlayer for HUD sounds 2023-11-10 17:28:54 -07:00
AJ Martinez
954bd85139 WIP: Trickpanel crack experiments 2023-11-08 01:52:07 -07:00
toaster
5ffae81b08 Trick Indicator first pass
The author of this commit doesn't know what it's doing
2023-11-06 01:13:13 +00:00
toaster
263c968cc8 Fix the Hanagumi Hall ring vent overflow
The way the cap was being handled was kind of messed up, and was trying to subtract your existing Super Ring count.
But because the datatype doesn't support negative numbers, it rolled under to approx UINT16_MAX!
Fix the datatypes and add the extra over-range check to prevent this from happening again.
2023-11-02 11:24:54 +00:00
Oni
fc982e84fd Merge branch 'duel-items-in-bonus' into 'master'
Spawn Duel items in GP Bonus

See merge request KartKrew/Kart!1584
2023-10-29 16:07:29 +00:00
AJ Martinez
1a75bc2e00 Fix Duel Bonus items being shortcircuited in P_AllowMobjSpawn 2023-10-29 05:28:45 -07:00
AJ Martinez
6ad7c7692c Sliptide/drift exit cleanup 2023-10-21 19:50:21 -07:00
James R
905592003d Add K_SetTireGrease, spawn spring grease VFX and set tiregrease 2023-10-14 21:28:11 -07:00
AJ Martinez
17cfff1dfd More lenient whip charge tether 2023-10-14 17:42:14 -07:00
AJ Martinez
1eab3a6838 More whip tuning 2023-10-14 16:09:21 -07:00
AJ Martinez
b67aa8af4f Charge instawhip test fixups 2 2023-10-14 05:56:42 -07:00
AJ Martinez
4928fec622 Reduce whip charge time 2023-10-13 22:49:06 -07:00