Commit graph

2952 commits

Author SHA1 Message Date
AJ Martinez
80990c82b0 Remove debug bot tether block indicator 2024-02-29 21:56:19 -07:00
AJ Martinez
840c8d497e Bot behavior for charged instawhip 2024-02-29 21:46:29 -07:00
James R
6642449908 Improve finish line distance big jump prevention
- Freeze finish line distance (instead of recalculating it
  from old nextwaypoint)
- Reset auto respawn timer right before it runs out
  (instead of AS SOON as finish line distance returns to
  normal)
- Do not ever update respawn waypoint while auto respawn
  timer is ticking
- Do not interact with finish line while auto respawn
  timer is ticking
2024-02-29 18:29:49 -08:00
James R
69ed099490 Symmetrical safelap behavior
- Do not increment lap during lightsnake
  - Symmetrical with decrement behavior
- Let lap be restored to higher safelap
  - Prevent headaches if lap is erroneously decremented
2024-02-29 18:26:57 -08:00
AJ Martinez
4f5063f71f Fix sliptide extensions activating out of fast drifts 2024-02-29 18:34:36 -07:00
AJ Martinez
d4d426e64b Add "let's get fired up!" cheat (4th Gear) 2024-02-29 17:43:07 -07:00
James R
4ccb9b22c8 Ring Shooter: add a 2 second cooldown after respawning before you can touch a Ring Shooter
This does not prevent you from using the respawn button to
summon a Ring Shooter.

- Ring Shooter only tracks the last player who touched it,
  to prevent that player from reusing it
- If another player touches the Ring Shooter, it loses
  track of the original user
- Near a Block Lightsnake waypoint, this would enter an
  endless loop where both players are able to touch the
  Ring Shooter and use it to respawn, placing them right
  above the Ring Shooter (and the cycle repeats)
2024-02-29 03:28:53 -08:00
Oni
786e4a098d Merge branch 'throwdir-restoration' into 'master'
Improve analog handling / input display

See merge request KartKrew/Kart!1967
2024-02-29 10:25:07 +00:00
AJ Martinez
0052d15fc8 Improve analog handling and input display 2024-02-28 20:08:25 -07:00
James R
9d4f57ddfb Auto respawn after 35 tics if distancetofinish jumped too much 2024-02-28 18:13:01 -08:00
James R
b4402a9486 Do not let distancetofinish change too drastically
- When updating nextwaypoint, check if distancetofinish
  jumps more than 32768 units (8192 in 1/4 scale maps)
- If it jumps this much, do not update the waypoints
- This prevents nextwaypoint from skipping ahead in a map
  where waypoints from later in the course overlap
  waypoints from earlier
2024-02-28 18:10:46 -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
64dd306138 Revert "Make ticcmd throwdir -1, 0, or 1, add deadzone"
This reverts commit 9028668104.
2024-02-28 18:33:07 -07:00
AJ Martinez
20c0c4d591 WIP: Limit bot tethering while turning 2024-02-28 18:19:49 -07:00
toaster
1c6659ed11 Tutorial Challenge: Revert K_IsPlayerLosing to default behaviour 2024-02-26 19:56:47 +00:00
Oni
9636be99e2 Merge branch 'respawn-fuck' into 'master'
Order-of-operations bugs for finish line / respawning

Closes #954

See merge request KartKrew/Kart!1946
2024-02-25 07:19:59 +00:00
James R
a03cc5489c Respawn: move lastsafelap check to K_UpdateDistanceFromFinishLine
- Order of operations; it is possible in specific
  circumstances to respawn (K_DoIngameRespawn) before the
  lap increments
- In this case, the lap would be reset to lastsafelap and
  then incremented afterward
- This would allow someone to skip the first lap
- It was possible to do this in many maps where the finish
  line intersects a respawn line, by driving into the
  corner where the lines meet
2024-02-23 22:54:05 -08:00
AJ Martinez
704766f54e Add persistent audio for nearby eggbox 2024-02-22 22:38:44 -07:00
Oni
796e2b9517 Merge branch 'bumper-boats' into 'master'
Improved combo escape mechanics in Battle

See merge request KartKrew/Kart!1914
2024-02-12 18:50:20 +00:00
AJ Martinez
c0598610e9 Credit players for deathpits that result from their hits 2024-02-11 21:40:53 -07:00
AJ Martinez
18ee3ad73d Battle bumpers: 3x progressivethrust decay 2024-02-10 14:38:04 -07:00
AJ Martinez
e0494d5576 Merge remote-tracking branch 'origin/master' into bumper-boats 2024-02-09 22:32:25 -07:00
AJ Martinez
bd9511424a Merge branch 'fuzzfixer' into 'master'
HUGE crash fixes (super hyper fuzzer + ASAN)

See merge request KartKrew/Kart!1908
2024-02-09 22:49:22 +00:00
AJ Martinez
1f2e57c060 K_RepairOrbitChain: Don't naively call P_MobjWasRemoved on NULL 2024-02-09 12:31:34 -07:00
James R
af363e575a K_UpdateDistanceFromFinishLine: fix memory leak with backwards pathfinding 2024-02-07 22:10:42 -08:00
AJ Martinez
45f043a1c4 Don't attempt itemamount correction after orbitals self-destruct 2024-02-06 06:00:59 -07:00
AJ Martinez
6f616265c4 Don't try to orbit things that aren't there 2024-02-06 01:47:10 -07:00
James R
924d46d102 K_DrawDraftCombiring: clamp inputs 2024-02-05 19:04:23 -08:00
AJ Martinez
97dcc33f0d Reset cheatchecks when respawns would decrease lap 2024-02-01 23:34:29 -07:00
Oni
ebbe8203a2 Merge branch 'bubble-gamespeed' into 'master'
Use player max speed for bubblebounce min speed (resolves #969)

Closes #969

See merge request KartKrew/Kart!1868
2024-02-01 03:00:43 +00:00
SteelT
317d1e7e06 Add justbumped exception to wall spikes 2024-01-30 22:45:52 -05: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
a0fb79370b Battle: each player is worth 3 points toward the point limit (previously 4) 2024-01-26 14:30:56 -08: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
James R
841827480b Add K_EndBattleRound, end the round and give a player 100 points if they won 2024-01-26 14:30:56 -08:00
James R
6197458ca4 Battle: fix being able to gain points or win from "final" KO after round ends 2024-01-26 14:30:55 -08:00
AJ Martinez
c4cb837a73 Use player max speed for bubblebounce min speed 2024-01-25 17:08:20 -07:00
AJ Martinez
c197d41bdc Bumper inflate refinements part 69 2024-01-25 15:14:32 -07:00
Oni
19ba6178e4 Merge branch 'fix-fault-hits' into 'master'
Fix fault exit conditions triggering before hitlag ended (resolves #947)

Closes #947

See merge request KartKrew/Kart!1856
2024-01-25 14:46:40 +00:00
Oni
5102ecab56 Merge branch 'fastfall-waterski-legends' into 'master'
Allow fastfall out of water run (resolves #902)

Closes #902

See merge request KartKrew/Kart!1858
2024-01-25 14:42:53 +00:00
AJ Martinez
a514a36128 Less volatile bumper inflate 2024-01-24 22:45:30 -07:00
AJ Martinez
26677c612e WIP: Improved bumper defenses 2024-01-23 22:06:17 -07:00
AJ Martinez
4b245b7a85 Allow mentalsonic to affect things targeting players 2024-01-23 04:55:32 -07:00
AJ Martinez
0c6820b350 "mental sonic" cheat 2024-01-23 00:28:08 -07:00
James R
311cf5ceea Battle: darken map for players who die during Overtime 2024-01-22 16:42:30 -08:00
James R
b1c9de32c6 Battle: use round end camera when player wins with final KO 2024-01-22 16:42:29 -08:00
James R
20bd1ddf35 Guard Break: fix knockback direction 2024-01-21 15:58:30 -08:00
AJ Martinez
e867a9ee41 Ring dump transparency 2024-01-20 19:15:09 -07:00