Commit graph

3031 commits

Author SHA1 Message Date
AJ Martinez
3af24b8606 Merge remote-tracking branch 'origin/master' into frey 2024-03-05 15:21:43 -07:00
AJ Martinez
99e4975023 Sting clarity 2024-03-05 15:00:22 -07:00
Eidolon
6023fa4825 Only record tumble time for machine local players 2024-03-05 14:48:09 -06:00
AJ Martinez
a11602869f Merge remote-tracking branch 'origin/master' into frey 2024-03-03 20:55:40 -07:00
James R.
69e8a26eaa Merge branch 'fix-invinc-spindash-crack' into 'master'
Don't allow spindash above max power

Closes #1105

See merge request KartKrew/Kart!1998
2024-03-04 02:46:04 +00:00
James R
9f982a574e Add LapsPerSection property to map headers, fixes finish line distance in hybrid section-circuit maps
- It is possible to have a circuit map separated into
  sections, where there are multiple "laps" before making
  a full loop
- Normally the lap count is used to multiply the finish
  line distance, but it fails for these maps
- The LapsPerSection property fixes the calculation by
  specifying how many laps make up a full loop
  - Default = 1 lap (most maps)
2024-03-03 03:06:52 -08:00
James R
0d4f42cf80 Add debuglapcheat command, disables lap cheat prevention and prints a console message 2024-03-03 03:03:23 -08:00
AJ Martinez
ba0a40c1b1 Don't allow spindash above max power 2024-03-03 01:22:46 -07:00
Oni
d631f62da9 Merge branch 'bot-hold-instawhip' into 'master'
Bot behavior for charged instawhip

Closes #1035

See merge request KartKrew/Kart!1974
2024-03-03 08:07:39 +00:00
AJ Martinez
647ab66c2f WIP: low-ring conveyance fixups 2024-03-03 00:46:21 -07:00
James R.
27764435f9 Merge branch 'big-gachabom' into 'master'
Scale Gachabom, Ballhog and SPB with Grow/Shrink

See merge request KartKrew/Kart!1993
2024-03-03 05:18:42 +00:00
Oni
00643195a5 Merge branch 'nerf-stacked-invinc' into 'master'
Reduce time gain on stacked invincibility

See merge request KartKrew/Kart!1985
2024-03-03 03:09:26 +00:00
James R
1ebac1f553 Scale SPB with Grow/Shrink 2024-03-02 18:46:56 -08:00
James R
8524401c03 Scale Gachabom and Ballhog with Grow/Shrink 2024-03-02 18:39:29 -08:00
Oni
d0a66f9a4e Merge branch 'no-wavedash-breakpoint' into 'master'
Award a (weaker) boost for short-charge wavedashes

Closes #612

See merge request KartKrew/Kart!1982
2024-03-03 02:06:37 +00:00
Oni
6c60d7165d Merge branch 'dont-cheat-lap' into 'master'
Finish line cheese Super Prevention

See merge request KartKrew/Kart!1972
2024-03-03 01:56:34 +00:00
James R.
7ce6ec3477 Merge branch 'wtf-tripwire' into 'master'
Grant short tripwire leniency when passing tripwire

See merge request KartKrew/Kart!1984
2024-03-03 01:50:03 +00:00
James R
f3548d2ec8 K_DoInvincibility: fix S-Monitor power-up after time gain change 2024-03-02 17:44:29 -08:00
James R.
5bc7d105cc Merge branch 'battle-powerup-feedme' into 'master'
Battle: Visual and audio feedback for power-ups

See merge request KartKrew/Kart!1986
2024-03-03 01:30:54 +00:00
AJ Martinez
c8757b10b2 Merge branch '4th-gear' into 'master'
Add "let's get fired up!" cheat (4th Gear)

See merge request KartKrew/Kart!1970
2024-03-02 10:38:02 +00:00
AJ Martinez
4fc6567dc6 Merge branch 'ring-shooter-fixes' into 'master'
Ring Shooter polyobject interaction + Ring Shooter cooldown

Closes #989

See merge request KartKrew/Kart!1968
2024-03-02 07:58:13 +00:00
AJ Martinez
75adf359cb Merge branch 'fix-sliptide-extension' into 'master'
Fix sliptide extensions activating out of fast drifts

See merge request KartKrew/Kart!1971
2024-03-02 07:57:09 +00:00
SteelT
cb21a9c8cd Flicker player and add hitlag when collecting a powerup 2024-03-01 18:03:52 -08:00
AJ Martinez
36c6af6eae Reduce time gain on stacked invincibility 2024-03-01 18:27:33 -07:00
AJ Martinez
0114c82fe8 Grant short tripwire leniency when passing tripwire 2024-03-01 18:14:44 -07:00
AJ Martinez
af06d575fd Set wavedash power everywhere wavedashboost is directly awarded, increase threshold 2024-03-01 17:18:42 -07:00
AJ Martinez
19c62d37b9 Scale wavedash boost power to initial charge, not to remaining boost 2024-03-01 16:41:35 -07:00
AJ Martinez
dcf9d37c8e Grant a (weak) boost even for low-charge wavedash attempts 2024-03-01 16:18:07 -07:00
AJ Martinez
b5e4311704 Merge remote-tracking branch 'origin/master' into tether-refinements 2024-03-01 00:42:38 -07:00
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