Commit graph

584 commits

Author SHA1 Message Date
GenericHeroGuy
efd6779ef7 Refactor player shield management
shieldtracer has been moved to player_t, replacing curshield, in order to
maintain a Single Source of Truth(tm) and to help ourselves and Lua
scripters in the future
2025-10-13 20:23:17 +02:00
Anonimus
d9accbd575 Make bubble shields pop if you "overinflate" them 2025-09-28 15:42:59 -04:00
NepDisk
99a6d1aefa Add a small speed bonus for wall transfering
One part MKWii brainrot, one part making this less ass
2025-09-27 00:12:00 -04:00
NepDisk
49c0b2c00e Make Airdrop drop lines only turn yellow when you have ringboost 2025-09-20 10:23:15 -04:00
NepDisk
ffa7850bb6 AirDrop Starting Commit
This introduces a new optional feature called Airdropping. When holding brake in the air you will start to fall faster. If you have rings active and have rings on you, you Ring Drop to fall even faster and with less delay. The ringboost output from this move is weaker then using rings normally making it so always using ring drop isn't the best play
2025-09-20 00:41:08 -04:00
GenericHeroGuy
33348e7c92 Refactor and tweak afterimages, clean up drift release (closes #98)
I pinky promise I did NOT break drifting
2025-09-16 21:08:32 +02:00
minenice55
7197c2e3de Merge branch 'blankart-dev' into timer-lap-splits 2025-09-14 19:08:32 -04:00
minenice55
e39d1ecfaf add option to show lap split on race timer
also adds hud offset support to the "centred" lap split display
2025-09-14 18:29:43 -04:00
Anonimus
a4d89f3083 Spinout rotations 2025-09-14 14:24:22 -04:00
Anonimus
c906ccc7a1 Add race lap splits display from Ring Racers
Very neat feature
2025-09-13 23:07:52 -04:00
Anonimus
04dd587ef4 Add legacy drifting for RR characters
Imitates V1 drifts using baked offsets; perfectly netsafe
2025-09-12 15:01:45 -04:00
Wumbo
b0e25dcc9c Unify death animations and make more accurate to SRB2Kart 2025-09-07 19:06:37 -04:00
GenericHeroGuy
244dde08eb Fixup respawning logic and remove softlocktimer
* Fix respawning at 0,0,0 if you cross the finish line without touching the
  ground and dying (on waypoint maps)
* Fix a broken lap check making you respawn at 0,0,0 on kart sprint maps
* Properly reset your lap count when respawning
* softlocktimer will be replaced with another solution due to various issues
2025-09-04 22:06:43 +02:00
NepDisk
7b63ac3724 [PATCH} Allow min and max ringcap to be set via cvars and lua
Thanks minenice for the patch!
2025-08-31 23:49:32 -04:00
GenericHeroGuy
c9802c36c8 Add const, move driftskill to botdata
No more messing with respawn waypoints in K_BotTicker
2025-08-31 21:03:23 +02:00
GenericHeroGuy
6feb25cefe (WIP) Rewrite bot code to be much more sane
Bot logic is now handled exclusively by the server, now in the actual game
loop code, rather than during ticcmd generation. No TICCMD_BOT needed!
botdata_t has been added to store any variables that clients don't need.

Behavior differences:
* Brakedrifting actually works now... to the detriment of the bots
* Respawn triggers 1 second sooner (and actually causes braking)
* No longer spams respawn when a track lacks waypoints
* Turning might be less responsive?
  `botvars.turnconfirm += cmd.bot.turnconfirm` is gone... who knows
* No longer affected by timescale

Plus, no more outdated or copy-pasted comment blocks!
2025-08-28 21:42:51 +02:00
Anonimus
6260812aa2 Add a health system to the Bubble Shield
Replaces bubblepop, drains on each use
2025-08-25 23:41:32 -04:00
NepDisk
9d0c396c2d Implement Drafting toggle
This is based on an older version of tether with number tweaks and a visual overhal designed to fit our needs. Takes some inspiration from the open assets slipstream mod from v1 for some number tweaks and the visual aspect. The speedboost has been rebalanced to be stronger for low speeds than before in a way where low speeds don't get shafted nor do they overshine high speed. High weight has had its leniency nerfed and general radius has been lowered to 2560 from 3072.
2025-08-25 17:03:00 -04:00
NepDisk
6d6c0f54a5 Hardcode slopeboost
Ported and based on the slopeboost from booststack by indev
2025-07-21 21:12:02 -04:00
NepDisk
0ae015ba25 Port Alugs zipper fix and allow zipper drift storage 2025-07-18 14:03:22 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
Anonimus
207e5011dc Add a cancel system to Alt Invincibility
Can be cancelled now, similarly to Grow
2025-06-29 01:30:21 -04:00
Anonimus
7c31ca0483 More changes to Alt Invincibility
Bottlenecker has been heavily buffed (8-tic deficit to invince timer at full strength)
The cluster now specifically only tracks losing players, and in the case that no new cluster point is found, instead reads from the last cluster player
Invincibility "hogs the item box" like Grow does, and (currently) can't be cancelled to prevent chaining
Maximum time limit has been buffed to 35 seconds
2025-06-29 01:30:17 -04:00
Anonimus
5e15f7a68a Update Alternative Invincibility
Invincibility now begins to get affected by offroad as it runs out
A "bottlenecker" begins to kick in as an invincible player closes in on the cluster, causing their invincibility to expire at an increasing rate
Prevent Invincibility from being rolled at extremely close cluster distances, to prevent the potential for rolling it as a "dud" item
2025-06-29 01:30:14 -04:00
Anonimus
99056a47fa Tie Invincibility to clustering, implement new visual
* Invincibility's time limit is now directly tied to a player's distance from the cluster.
* The visual for Invincibility has been reworked to being an additive layer over the player, fading out as you run out of Invincibility.
2025-06-29 01:30:04 -04:00
Anonimus
27ea5021b4 Add Flipover damage, change Invincibility interactions 2025-06-29 01:30:00 -04:00
NepDisk
6a122b0600 Implement ring spam nerf
Less impactful in vanilla + rings. With Chaining and Stacking on however this makes a big difference since it prevents you from having a large stack count forever if you can keep chugging rings
2025-06-11 19:02:06 -04:00
NepDisk
989f01d644 Kill SF_HIGHRES 2025-05-31 09:23:36 -04:00
NepDisk
cda4515780 Fix bananadrag wrap around 2025-05-29 10:10:08 -04:00
NepDisk
3a38c437c2 Port support for interpoints for non powerlevel scoring 2025-05-28 16:23:33 -04:00
GenericHeroGuy
7fbf5830a7 Trying to handle various different speeds... 2025-05-27 17:05:09 +02:00
GenericHeroGuy
9ef9e41dba Use prediction/pathfinding for drift waypoints 2025-05-25 02:44:36 +02:00
GenericHeroGuy
481053a232 An attempt at timing and setting up drifts 2025-05-24 00:33:04 +02:00
GenericHeroGuy
abd496bd61 Behavior fixes, changed variables, an actual bot debugging HUD 2025-05-23 21:11:42 +02:00
GenericHeroGuy
6657cd2c46 What!? Help me! 2025-05-22 23:33:35 +02:00
GenericHeroGuy
11b4d9606e Merge branch 'blankart-dev' into improveddrifiting 2025-05-21 20:34:22 +02:00
NepDisk
deb447aec7 Port salty hop, changes for new terraindefs in assets 2025-05-20 17:07:13 -04:00
NepDisk
1897f9d1e7 Fix weird stacking speed dropoff issue
Thanks so much Indev!
2025-05-18 18:56:11 -04:00
NepDisk
ff2f058972 refactor giveitem and port other RR cheats. 2025-05-17 12:46:37 -04:00
NepDisk
8aba05d503 [PATCH] Try to make bots better at drifting
By GenericHeroGuy
2025-05-15 14:38:07 -04:00
NepDisk
08408831bf the safeguardist of safeguards 2025-05-15 11:38:43 -04:00
NepDisk
1d6dd4125a Remove Droptarget. 2025-05-10 07:31:51 -04:00
NepDisk
fea7aa001b Use constants instead of magic numbers for roulette info 2025-05-03 12:48:02 -04:00
Anonimus
360653e68d Split botvar and cmd handling for drifts 2025-04-25 16:21:57 -04:00
Anonimus
00470714c0 Make bots drift 2025-04-25 16:21:57 -04:00
NepDisk
105eb85bd3 Get rings from any itembox, expose more functions to lua and battle related things 2025-04-21 19:56:04 -04:00
NepDisk
a53c2d87da Restore power giving for some effects 2025-04-08 12:18:12 -04:00
NepDisk
e550ae380e Port driftsparkpulse 2025-04-07 12:54:24 -04:00
NepDisk
3445e6b6e6 Fix new waypoint jank 2025-04-05 11:38:12 -04:00
NepDisk
408a64ab4b Merge branch 'blankart-dev' into freecamspectate 2025-04-01 13:21:58 -04:00