Commit graph

3417 commits

Author SHA1 Message Date
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
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