Commit graph

22031 commits

Author SHA1 Message Date
NepDisk
96c9b029c5 Use colorcode copy for init 2025-09-01 15:22:22 -04:00
NepDisk
f3fbb80de2 Merge branch 'blankart-dev' into neotabranking 2025-09-01 15:10:57 -04:00
NepDisk
87ec9c24cc Update NMUS lumps 2025-09-01 15:10:19 -04:00
NepDisk
d0e1c46cc3 Clean up 2025-09-01 14:56:38 -04:00
NepDisk
9bd3a4fedd Merge branch 'blankart-dev' into neotabranking 2025-09-01 14:54:12 -04:00
NepDisk
59a24f9f7c Cap ring minmax cvars to INT8 limits 2025-09-01 14:53:28 -04:00
NepDisk
547f1b8e90 Use sizeof and reliable mode 2025-09-01 14:21:06 -04:00
NepDisk
6fec294993 Fix memory leak 2025-09-01 14:06:16 -04:00
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