Commit graph

20062 commits

Author SHA1 Message Date
NepDisk
f362e5ce75 Forogt the return :P 2025-09-01 14:05:02 -04:00
NepDisk
1183f2922e Refactor this again to use new packet type instead of netxcmd
This saves major netxcmd space
2025-09-01 14:02:32 -04:00
NepDisk
3f83c1056c Shrink Contact to not bloat netxcmd 2025-09-01 12:51:28 -04:00
NepDisk
e9fb6ca9a8 Add server contact and refactor to use netcode to send stuff 2025-09-01 12:45:25 -04:00
NepDisk
d06e2e19a8 Merge branch 'blankart-dev' into neotabranking 2025-09-01 10:09:23 -04:00
NepDisk
98bf3a5a36 Don't make default 20 Blue 2025-09-01 08:33:49 -04:00
NepDisk
cc8f816c75 Update Hashes and Credits 2025-09-01 00:21:07 -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
8d22a37b4b Fix drafting Cvar not turning on drafting during pregame countdown 2025-08-31 23:28:57 -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
NepDisk
8637fd772a Allow bots to reflect with the Bubble Shield rework since it no longer hits players. 2025-08-31 22:52:02 -04:00
NepDisk
cea4d86dea Disallow negative states to prevent crashes 2025-08-31 21:10:07 -04:00
NepDisk
0efd36ac5d Fix the Bot Flame Shield usage.
Turns out negative itemconfirm was a shitty hack. Lets rewrite this to use itemdelay instead.
2025-08-31 21:05:33 -04:00
GenericHeroGuy
d2c010ea01 Switch to a difficulty-based drift skill formula
This will get reworked later down the line (hopefully), but for now, I
think it ought to be consistent regardless of stats. Should make driftpoint
placement less of a nightmare at least
2025-08-31 22:33:26 +02:00
GenericHeroGuy
f51a223642 Add 1 to the version check for ZT_BOT
This should let demos recorded on blankart-dev still work properly
demoversion is getting incremented soon anyway...
2025-08-31 21:57:03 +02:00
GenericHeroGuy
98fd7d0015 Shrink XD_RESPAWN to avoid potential netxcmd bloat 2025-08-31 21:43:43 +02:00
GenericHeroGuy
8d99f98bea Actually sync respawns properly 2025-08-31 21:32:16 +02: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
bc4408b203 Expose botdata stuff to Lua 2025-08-31 20:40:24 +02:00
JugadorXEI
dc9bec000a Bot library for Lua (botvars getter/setter, bot functions) 2025-08-31 14:16:49 +02:00
NepDisk
33054b7d94 Disable devmode clear on map load 2025-08-30 12:42:25 -04:00
GenericHeroGuy
e8d43ec8a3 Constantinople 2025-08-30 17:06:42 +02:00
NepDisk
1eb120348d Fix Bumper respawn logic bug 2025-08-30 11:05:13 -04: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
NepDisk
2871260bc3 Award rings from itemboxes in itembreaker 2025-08-29 12:59:43 -04:00
NepDisk
722016f662 Shove this behind a define for windows 2025-08-28 19:17:42 -04:00
GenericHeroGuy
b21319011e Fix perfstats, fix RNG desync 2025-08-28 23:24:55 +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
GenericHeroGuy
1593ad8595 Fix interpolation going missing for freecam 2025-08-28 20:29:53 +02:00
GenericHeroGuy
aa1ccafaea Use G_GamestateUsesLevel everywhere (and actually use levelloaded) 2025-08-27 22:03:05 +02:00
GenericHeroGuy
219acbb9cc Rework rendertimefrac and gate it behind a function
Fixes intermission background shifting when toggling fullscreen (yup)
and fixes audio caption text losing interp when paused
2025-08-27 21:34:01 +02:00
GenericHeroGuy
423a9ee8a6 Lots of fixes for the intermission background
* On GL, the background no longer disappears if the game is paused
* On GL, changing resolutions now draws SRB2BACK instead of a white void
* On software, changing resolutions redraws the level instead of awkwardly
  stretching the background to fill the screen
2025-08-27 21:32:47 +02:00
NepDisk
96f9c919d4 Update hash now that blankart-assets has consistent hashes 2025-08-27 14:06:35 -04:00
NepDisk
ec642a20c5 Fix modulo by zero done in __external_prng_bound__ and __internal_prng_bound__ 2025-08-27 08:28:51 -04:00
NepDisk
28a47037ab Fix it using dword on MacOS 2025-08-27 07:57:07 -04:00
Anonimus
0b9887f4ab Move flipover damage handling to K_FlipPlayer 2025-08-27 00:53:15 -04:00
NepDisk
e65e04d185 Apply demo backcompat for changes and bug fixes that affect kart 2025-08-27 00:24:33 -04:00
NepDisk
d9a5bee6a2 Don't get HyuGrow squish people
The other power items (invin and flame) have a visual so you can try avoding the damage, grow does not making it unfair
2025-08-27 00:19:24 -04:00
NepDisk
d776feedb8 Fix hyudoro colliding with rocks
This shit is awful
2025-08-26 23:00:27 -04:00
Anonimus
4cb2cd0cf0 Create a dedicated function for Bubble Shield breaking 2025-08-26 22:51:01 -04:00
Anonimus
cc9130c2ea Alt Invincibility overlay improvements
* Separate color table for less garish colors
* Directly copies interpoltation and rotations from its source
* Uses TC_BLINK for solid color overlaying
2025-08-26 22:50:35 -04:00
Anonimus
940ff00849 Sisyphus rolling the boulder up the hill
Updated the assets hash *again*
2025-08-26 16:33:14 -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
5f12bcc4e7 Readjust bubble blow-up size
Makes it less overpowered in terms of defense
2025-08-26 11:17:21 -04:00
Anonimus
5456292d1c Reduce bubble timer, health loss is post-use and not pre-use 2025-08-26 11:17:21 -04:00
GenericHeroGuy
6eda53b33b Update asset hashes 2025-08-26 16:34:36 +02:00
NepDisk
1d268bc7d9 Allow adjusting deadzone for draft 2025-08-26 10:01:12 -04:00