Commit graph

488 commits

Author SHA1 Message Date
toaster
396244780a Don't attempt to use adjusted EXP counter in invalid contexts
- Introduces new function K_GetDisplayEXP
    - Replaces duplicated code between HUD and tally
    - Returns UINT16_MAX in div/0 case for invalid result (resolves #1458)
- Hides EXP HUD/tally if no EXP can be earned
2025-01-18 19:29:49 -05:00
AJ Martinez
dea9054613 TA Ring Box rebalance 2024-09-29 17:35:49 -07:00
Antonio Martinez
d4c0603808 Wall transfer buffs 2024-09-15 21:05:30 -07:00
Antonio Martinez
abc0187b7e Oops, make duels actually score correctly 2024-09-07 01:07:27 -07:00
Antonio Martinez
dcb4dea2fb Duel: cleanup, finish refactor, endcam, position fixes 2024-09-06 20:58:06 -07:00
Antonio Martinez
c4fc86b668 Margin Boost 2024-09-05 00:36:24 -07:00
AJ Martinez
2f164cf1b8 Revert "WIP: Timer Duel"
This reverts commit 1d83dddab8.
2024-09-04 21:19:27 -07:00
Antonio Martinez
1d83dddab8 WIP: Timer Duel 2024-09-03 01:08:59 -07:00
Antonio Martinez
c6a9228b2b Bot-aware 2.4 mechanics 2024-08-29 20:22:31 -07:00
Sally Coolatta
158d8ac5d3 Fix compile warnings 2024-08-28 17:56:11 -04:00
Sally Coolatta
d33b123e32 Implement reticule gfx, fix FOFs/walls/scale 2024-08-28 01:26:54 -04:00
Sally Coolatta
03874c3374 New Ballhog design
Taking the old charge idea, but instead of missiles, it's bananas that explode on the floor and can only be lobbed forward. Charging creates more projectiles in a circle pattern around it.
2024-08-28 01:26:53 -04:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
VelocitOni
b18251ea79 Changed back to 15
Changed back to 15 to test my git credentials rq
2024-08-25 14:21:30 -04:00
VelocitOni
b53c25a262 Testing my git key
Will raise back to 15, testing git credentials because fuck
2024-08-25 14:19:22 -04:00
VelocitOni
80c7f92f8d Reduced max amps storage define
Reduced define for max amps player is able to hold, lets us see more electricity stages (no one got high counts anyway)
2024-08-25 14:01:31 -04:00
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