Commit graph

52 commits

Author SHA1 Message Date
NepDisk
4495ae6b4c Merge branch 'blankart-dev' into AirDrop 2025-09-20 19:33:10 -04:00
NepDisk
49c0b2c00e Make Airdrop drop lines only turn yellow when you have ringboost 2025-09-20 10:23:15 -04:00
NepDisk
de5a8594b9 Add more conditions here 2025-09-20 09:43:32 -04:00
NepDisk
aba9e23a0d Readd bot airbrake logic for bot controllers 2025-09-20 09:40:27 -04:00
NepDisk
dbabd84715 Don't use map modifier 2025-09-19 22:41:00 -04:00
NepDisk
044e8c6ec1 Remove sclar on driftskill, make small grip lock out after drifts and make bots go neutral faster at high speeds 2025-09-18 16:53:08 -04:00
NepDisk
6512d71e4e Try to improve regular turns and drifts 2025-09-18 15:59:45 -04:00
Wumbo
9ab3987e0d Fix some oversights with kartbot_cap 2025-09-11 11:05:55 -04:00
Wumbo
9874a36f91 Add kartbot_cap cvar 2025-09-10 16:09:59 -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
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
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
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
8a895d4813 Update hashes, bot tweaks, fix thwompsactive 2025-08-06 01:30:43 +02:00
NepDisk
9ee65fc0e7 Make bots use the same turncode as players: Redone
No more extra ticcmd bits so its less complicated
2025-07-16 10:28:14 -04:00
NepDisk
ab672ff2f3 Fix bot race start boost randomization desync 2025-07-15 20:19:12 -04:00
NepDisk
64fd5b93ac raise skinlimit to 4096
Why not UINT16_MAX? Thats 22gb of allocation lmao
2025-06-10 15:38:11 -04:00
NepDisk
dcc8b1d868 Stop bots from moving when exiting properly. 2025-06-05 08:35:53 -04:00
GenericHeroGuy
7fbf5830a7 Trying to handle various different speeds... 2025-05-27 17:05:09 +02:00
GenericHeroGuy
553ce473b1 Use turnvalue for handling instead of some weird approximation 2025-05-26 23:53:24 +02:00
GenericHeroGuy
b6b3920a17 Merge branch 'blankart-dev' into improveddrifiting 2025-05-26 22:09:34 +02:00
GenericHeroGuy
9ef9e41dba Use prediction/pathfinding for drift waypoints 2025-05-25 02:44:36 +02:00
NepDisk
9a21eaee0b Basic Startboost timing code 2025-05-24 17:47:07 -04: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
NepDisk
8aba05d503 [PATCH] Try to make bots better at drifting
By GenericHeroGuy
2025-05-15 14:38:07 -04:00
NepDisk
bd233a9201 Per map track complexity and modifier max 2025-05-13 15:49:21 -04:00
Anonimus
eb02d18181 Rework powersliding
Was placebo before, now forces inward drifts.
2025-05-02 19:48:17 -04:00
Anonimus
eb1e914231 Use generic distancing for the radius check 2025-04-25 16:21:57 -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
39302801ad remove end dist slow down.
Probably isn't needed here
2025-04-22 17:59:49 -04:00
NepDisk
40927a2760 Run speed calc for pogosprings 2025-04-22 12:45:39 -04:00
NepDisk
fef77b3be4 ItemOdds tweak, Nerf bots a bit 2025-04-22 01:29:18 -04:00
NepDisk
ed7b667aa7 Update File headers to use BLANKART 2025-04-19 13:33:28 -04:00
NepDisk
b08372074a Adjust bot respawn condition 2025-03-28 10:45:43 -04:00
NepDisk
e1b419c83d Fix develop compile 2025-03-25 11:51:11 -04:00
NepDisk
f40771dd97 bot and respawn improvements
Bot respawn incrementer is based on RR's general antigrief incrementer with edits and additions
2025-03-23 14:14:46 -04:00
NepDisk
94dc69ab93 Flash Bubbleshield if throw is happening soon 2025-02-26 21:38:35 -05:00
NepDisk
31fbfdc512 check equal to and greater than for skin check 2025-02-26 21:23:37 -05:00
NepDisk
5d5701790d Re-Enable ingamecap cvar 2025-02-26 20:55:54 -05:00
NepDisk
b875623be5 Fix bot skin randomization code
Best of both worlds. If theres more then ingamecap worth of skins (or 8 in GP), duplicate skins will be disabled
2025-02-26 20:34:30 -05:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00