Commit graph

2368 commits

Author SHA1 Message Date
Anonimus
c906ccc7a1 Add race lap splits display from Ring Racers
Very neat feature
2025-09-13 23:07:52 -04:00
NepDisk
7cdb502874 Add safety to K_PlayerWeight 2025-09-13 08:51:07 -04:00
NepDisk
2acf3725e3 Fix Bubble and Flame activating instatly when holding item down
You know have to let go once after rolling to use it.
2025-09-13 00:55:18 -04:00
NepDisk
3aa7217155 Fix bubble getting stuck large on exiting 2025-09-12 23:44:25 -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
NepDisk
d98dd3e2dd Add variables that bake 3D offsets into a sprite
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/63
2025-09-12 11:50:24 -04:00
NepDisk
1c52947194 Small Cleanup
Make itemodds compile as C, remove .vscode
2025-09-11 11:16:13 -04:00
Anonimus
a8dc5774e2 Refactor odds and move them to their own file
* Race odds now use 16 tiers and are intended to be balanced around 16 players
* DISTVAR has been increased to 2048 to match the new tier capacity
* Race odds now use a max-75 scale, with the x4 multiplier in calcs being used only in a battle odds context
2025-09-10 16:45:40 -04:00
Wumbo
9874a36f91 Add kartbot_cap cvar 2025-09-10 16:09:59 -04:00
NepDisk
89f0ef836b Use Path traversal if sweep lines fail
Not very pretty with lots of duped code but it works?
Designed to handle collision line sweep miss edgecases as they occur until line sweeps can be improved
2025-09-08 16:33:06 -04:00
Wumbo
b0e25dcc9c Unify death animations and make more accurate to SRB2Kart 2025-09-07 19:06:37 -04:00
NepDisk
41c584638e Nerf drafting a small bit and give higher speeds an accel bonus 2025-09-07 11:24:44 -04:00
NepDisk
8293f69fa8 Allow walltransfer to be enabled per sector 2025-09-06 15:06:03 -04:00
NepDisk
360a2541a4 Add misccap and add rings minimap debugger 2025-09-05 19:47:12 -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
770bbafb25 Add z check to glance 2025-09-04 14:00:34 -04: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
NepDisk
2a1d6396ab Merge pull request 'Bot Refactor' (#82) from botrefactor into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/82
2025-09-01 04:58:37 +02:00
GenericHeroGuy
e8d43ec8a3 Constantinople 2025-08-30 17:06:42 +02:00
GenericHeroGuy
68a644fe2f Replace the test cvars with botdata variables 2025-08-30 14:22:48 +02:00
NepDisk
258b4ec6e0 Implement Flipover damage sectors and Terrain 2025-08-30 01:16:37 -04: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
0b9887f4ab Move flipover damage handling to K_FlipPlayer 2025-08-27 00:53:15 -04:00
Anonimus
4cb2cd0cf0 Create a dedicated function for Bubble Shield breaking 2025-08-26 22:51:01 -04:00
Anonimus
4ca96a4b5f Bubble Shield balance adjustments 2025-08-26 16:19:26 -04:00
NepDisk
5c836896b6 Fix use of C23 extension 2025-08-26 14:59:16 -04:00
NepDisk
2a66e0811e Let Bubble Reflect rocks 2025-08-26 14:40:54 -04:00
Anonimus
5456292d1c Reduce bubble timer, health loss is post-use and not pre-use 2025-08-26 11:17:21 -04:00
NepDisk
1d268bc7d9 Allow adjusting deadzone for draft 2025-08-26 10:01:12 -04:00
NepDisk
7df5a255a8 Add drafting base distance cvar 2025-08-26 09:51:24 -04:00
NepDisk
467f89a4f1 Add a cvar to renable drafting when close to someone 2025-08-26 08:45:07 -04: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
Anonimus
f660283f5d Readjust Bubble Shield odds to be midpack 2025-08-25 22:32:06 -04:00
Anonimus
637617453d Update cluster debugging 2025-08-25 20:55:47 -04:00
NepDisk
7eaf6127de Fix broken compile due to stray char in file 2025-08-25 19:11:42 -04:00
NepDisk
8acac99d17 Update Draft with newer tether fixes and remove 5 from max and min draft speed
Lets make it a tiny bit slower pls!
2025-08-25 19:08:32 -04:00
Anonimus
9eb18ba6d8 Rebalance bubble shield
* Removes its ability to damage players
* Removes its ability to be dropped as a trap item
This makes it more of a "pure defense" item that's reliant on player timing
2025-08-25 18:15:15 -04:00
Anonimus
0884ad576c Add sliptides to Alternative Invincibility
At above 50% power, you can sliptide/slipdash
2025-08-25 18:15:14 -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
ea81fccfb5 Make friction stuff look nicer and add friction loss on waterrun 2025-08-24 21:43:29 -04:00
NepDisk
6bb1e196c0 Merge pull request 'Item Timers' (#46) from itemtimers into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/46
2025-08-22 00:13:45 +02:00
NepDisk
a171d5a61a Show Music credits across more places. 2025-08-21 16:50:20 -04:00
NepDisk
3863e0ff47 Spill rings again on respawn 2025-08-13 16:33:20 -04:00
NepDisk
de17315839 Make Natural camera a toggle 2025-08-12 23:58:21 -04:00
NepDisk
0dc7f87b7e Rework loops to be better then they previously were here 2025-08-12 20:32:15 -04:00
NepDisk
9c78ac3f93 Ring burnout rebalance
Ring burnout count now scales based on stats, with top left burning out with less rings used then bottom right

the base is 18 with the limit going lower the less speed and weight you have.

Also lua exposure
2025-08-10 13:37:30 -04:00
NepDisk
6b80b300c1 Don't do AIRFAILSAFE from nights bumper 2025-08-10 08:57:16 -04:00
NepDisk
52b51f4297 Only allow mashing in TA with rings on and fix encore display in itembreaker 2025-08-03 11:26:10 -04:00
NepDisk
48d31fca90 Fix Accuracy of racesart by moving it 2025-08-02 18:51:55 -04:00
NepDisk
d164d97fc0 Fix Alt invin conflict with rings and expose some of it to lua 2025-08-02 13:04:04 -04:00