Commit graph

3031 commits

Author SHA1 Message Date
AJ Martinez
4c901e8a56 SPB Attack polish 2024-03-23 21:02:01 -07:00
Gunla
7a2cda0ef9 Merge branch 'wavedash-lock-conveyance' into 'master'
Wavedash lock conveyance

See merge request KartKrew/Kart!2149
2024-03-23 01:43:18 +00:00
AJ Martinez
e7b71661db Lower volume of non fully charged wavedash drain 2024-03-21 18:22:54 -07:00
AJ Martinez
4a2e5d368a Fully charged wavedash conveyance 2024-03-21 18:19:11 -07:00
toaster
8d5ababc27 Skipstats teleport: Change sound behaviour
- Replace with a random teleport sound from Sonic 2, because shipping with a thok between every tutorial would have made us look like clowns.
- Don't play for Versus contexts.
2024-03-21 22:16:48 +00:00
AJ Martinez
628be3950f Hide useless instawhip charge between picking up and confirming item boxes 2024-03-19 01:22:44 -07:00
James R
99656765e5 Pause waypoint updates while player is touching finish line but not crossing it
- Right on the line, P_PointOnLineSide may disagree with
  P_TraceWaypointTraversal.
- If this happens, nextwaypoint may update ahead of the
  finish line before the player crosses it.
- This bloats the finish line distance and triggers lap
  cheat prevention, preventing the player from gaining a
  lap.
- Since this only seems like it can happen very near to
  the line, simply don't update waypoints if the player is
  touching the line but hasn't crossed it.
- This will cause distancetofinish to jump but only for a
  very short distance (the radius of the player).
2024-03-16 06:50:16 -07:00
Oni
d0d948e451 Merge branch 'yet-fewer-bot-maintenance' into 'master'
Yet fewer bot maintenance

Closes #966, #899, #875, and #818

See merge request KartKrew/Kart!2102
2024-03-14 01:32:42 +00:00
Gunla
0212191839 Merge branch 'tutorial-spectate-debug' into 'master'
Freecam spectator fixes; Tutorial spectator debugging

See merge request KartKrew/Kart!2098
2024-03-13 23:49:25 +00:00
Sally Coolatta
b8e3ac465e Bot friction amount is based on their speed
Similar to !1814 but it is eased into.
2024-03-13 05:07:09 -07:00
James R
790d64015a Add debugnewchallenger, do not restart map for toggling Duel mode 2024-03-12 17:53:01 -07:00
AJ Martinez
6c8db5bc0e Use gamespeed multiplier checks for "hard" difficulty behavior (4th Gear compatibility) 2024-03-11 17:54:25 -07:00
James R.
aa9f1246e8 Merge branch 'fix-lap-cheat-edge-case' into 'master'
Lap cheat prevention: always reset lap to safelap when timer is reset

See merge request KartKrew/Kart!2069
2024-03-11 09:38:42 +00:00
AJ Martinez
32e2999386 Merge branch 'die-in-ta' into 'master'
All TA deaths are final deaths

See merge request KartKrew/Kart!2077
2024-03-11 02:27:10 +00:00
James R
448781bdd9 HUD: do not scroll FINISH across the screen when NO CONTESTING
- Don't show this for Time Attack fail
2024-03-10 19:23:05 -07:00
AJ Martinez
8fb2ee6392 Merge branch 'safer-final-failsafe-2' into 'master'
Allow final failsafe in RESPAWNST_DROP (take 2)

See merge request KartKrew/Kart!2061
2024-03-11 01:29:58 +00:00
Oni
4de4c9e57d Merge branch 'pre-podium-music' into 'master'
Add pre-Podium intermission music

Closes #1084

See merge request KartKrew/Kart!2075
2024-03-10 21:08:11 +00:00
Sally Coolatta
9b93f56111 Add pre-Podium intermission music 2024-03-10 14:08:59 -04:00
AJ Martinez
c2963b6299 Use alternate Ring Box award calculations in TA 2024-03-10 04:25:36 -07:00
James R.
f4ab9b0be7 Merge branch 'gasp' into 'master'
Tweak underwater VFX

Closes #1125

See merge request KartKrew/Kart!2058
2024-03-10 08:24:57 +00:00
AJ Martinez
bd2573cfa9 Merge branch 'my-son-is-still-useless' into 'master'
Stat rebalance nightmare vortex

See merge request KartKrew/Kart!2053
2024-03-10 07:20:04 +00:00
AJ Martinez
8763ecb1d8 TA rebalance: Mecha too 2024-03-09 22:45:14 -07:00
AJ Martinez
c8083b88a0 TA rebalance: reduce crack 2024-03-09 22:41:49 -07:00
Gunla
c00acff8f7 Merge branch 'fix-underwater-strafing' into 'master'
Fix underwater strafing activating below minimum speed and pushing you backward

Closes #1001

See merge request KartKrew/Kart!2048
2024-03-10 03:58:48 +00:00
James R
cee4c6106b Lap cheat prevention: always reset lap to safelap when timer is reset
- This was done implicitly by respawn
- However, it is sometimes possible to:
  - Cross the finish line forward
    - Gain a lap
    - Lap cheat prevention activates afterward
  - Drive backward over the finish line again
    - Must still have the lap cheat prevention timer
      running
    - Do not lose a lap
    - Timer resets once you're behind the line
  - Now:
    - You are behind the finish line
    - Lap cheat prevention is not active
    - You still have the lap gained from crossing the
      finish line the first time
- To fix this:
  - Reset your current lap to your lap safe when the timer
    resets
  - Safelap does not change while lap cheat prevention is
    active
  - Basically I am fixing an oversight in the lap cheat
    prevention system, because the timer, safelap and your
    current waypoints are all tied together already
    - It's just the current lap that was not being tied
      together with the rest of it
2024-03-09 17:03:48 -08:00
AJ Martinez
07fa2296b1 Tripwire speed threshold 200 -> 220% 2024-03-09 06:44:17 -07:00
James R
44ff1d26cc Underwater: player must be submerged for 15 seconds to play a "gasp" when they resurface 2024-03-09 01:10:13 -08:00
AJ Martinez
81b8e7c9f1 Allow final failsafe in RESPAWNST_DROP (take 2) 2024-03-09 01:39:52 -07:00
AJ Martinez
e41b6fcd2f Limit added tumble height 2024-03-09 00:15:07 -07:00
AJ Martinez
becf2a4226 Merge remote-tracking branch 'origin/master' into my-son-is-still-useless 2024-03-08 23:06:02 -07:00
AJ Martinez
f9b88432eb Merge branch 'no-postrace-sting-sound' into 'master'
Don't play local Ring Sting sound postrace

See merge request KartKrew/Kart!2056
2024-03-09 06:03:51 +00:00
James R
ad6b57ea26 Fix underwater strafing activating below minimum speed and pushing you backward
- Below 11 FU, strafing is not supposed to kick in
- But the order of operations looked weird, and it seems
  to have been kicking in erroneously as a result
  - This would push the player in the opposite of their
    facing angle when they tried to drive forward and turn
    at the same time
  - Strong enough offroad is required to trigger this
2024-03-08 21:36:15 -08:00
Oni
5b24319b1e Merge branch 'glance-z-check' into 'master'
Add Z height check to glancing

Closes #843

See merge request KartKrew/Kart!2051
2024-03-09 05:07:52 +00:00
AJ Martinez
c969e88605 Don't play local Ring Sting sound postrace 2024-03-08 21:23:40 -07:00
Oni
7bfc84b968 Merge branch 'ring-debt-interp-fix' into 'master'
Fix interpolation of ring debt indicator

See merge request KartKrew/Kart!2052
2024-03-09 03:12:47 +00:00
AJ Martinez
14b0a9b945 Stat rebalance nightmare vortex 2024-03-08 19:41:04 -07:00
James R
80a65cd61f Do not Guard-Break player in power-up collect animation 2024-03-08 17:53:07 -08:00
James R
0707c9e5ec Add g_musicfade, generic system to fade out the level music for a brief period 2024-03-08 17:53:07 -08:00
Eidolon
a06bfea4eb Fix interpolation of ring debt indicator 2024-03-08 14:26:46 -06:00
James R
3aee4b1ac2 Add Z height check to glancing 2024-03-08 08:29:23 -08:00
AJ Martinez
e7c8f7044a Cancel ballhog charge when hit 2024-03-07 20:43:47 -07: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
2a79eed0d2 Disable lap cheat prevention while on lap 0 (POSITION room) 2024-03-06 18:19:35 -08:00
James R
1015d6964b Add PF_TRUSTWAYPOINTS player flag, disable lap cheat prevention next time finish line distance is calculated 2024-03-06 18:19:35 -08:00
James R
b5f318b405 Freeze auto-respawn while player is in damage state
- Still let the respawn prompt appear
2024-03-06 18:19:34 -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
AJ Martinez
0bb4fa5960 Lower SMS sting sound, again 2024-03-05 17:46:47 -07:00
AJ Martinez
b458e28a52 Transparent Ring Debt indicator for local player, if it's sticking around 2024-03-05 16:42:22 -07:00
AJ Martinez
136bb810e2 Restore fucking thing 2024-03-05 16:15:41 -07:00
AJ Martinez
a280ccb7de Use old Ring Sting noise 2024-03-05 16:00:00 -07:00