Commit graph

98 commits

Author SHA1 Message Date
JugadorXEI
2b7e1384ed Fix node 0 being occupied by a bot in dedicated servers for clients 2025-10-25 20:39:59 -05:00
JugadorXEI
9921d0b427 Ensure bot names set by Lua's K_SetNameForBot are good 2025-10-03 21:19:25 +02:00
Oni VelocitOni
3f7ae9dd23 Merge branch 'skinlimit' into 'master'
Increase skin limit to 1024

See merge request kart-krew-dev/ring-racers-internal!2743
2025-08-23 05:03:58 +00:00
Eidolon
55388c17c2 Merge public master 2025-08-21 20:43:28 -05:00
JugadorXEI
1e2e833d80 Bot library for Lua (botvars getter/setter, bot functions) 2025-08-22 01:24:13 +00:00
toaster
be3c0faf7e More gracefully amend Splits/Attackstart data on ghost load rather than splits load 2025-08-21 18:25:03 +01:00
Eidolon
892a6b8620 Merge public master 2025-08-12 16:49:14 -05:00
Eidolon
255570cfca Dynamically allocate skins
This avoids an issue where the skins array takes up a fixed, but large
amount of memory at runtime. On x86_64 linux, that array is roughly 80
megabytes in memory, most of which is unused when the game is unmodded.
Instead, we treat `skins` as a dynamically resizing array, and it is an
array-of-pointers into separate allocated `skin_t`.

This is based on Lactozilla's skin limit MR for SRB2, but I've rewritten
it because RR has diverged quite a bit.

This was verified to check every access of `skins` by using clangd's
find-all-references function. However, I have only tested plain skins,
not Lua addons, so that could afford some extra checking.
2025-08-12 15:33:00 -05:00
Antonio Martinez
77ee717952 WIP: End distance EXP scaling 2025-08-06 16:38:54 -04:00
Antonio Martinez
6a2568e7a7 Foes in Match Race 2025-08-04 04:23:37 -04:00
Antonio Martinez
73438dd629 Subdued foes 2025-08-04 04:23:37 -04:00
Antonio Martinez
ec36f6bb01 Guarantee that Foes/Rivals always try to pass generic bots 2025-08-04 04:23:37 -04:00
Antonio Martinez
bb417816c2 Foes use tighter rubberbanding target 2025-08-04 04:23:37 -04:00
Antonio Martinez
76b88990cc WIP: Foes 2025-08-04 04:23:37 -04:00
Antonio Martinez
eba0f22e46 Increase minimum-level bot strength, reduce bot EXP leveldown when they are already low level 2025-07-16 05:05:20 -04:00
Antonio Martinez
719ba464af Disable bot ballhog 2025-07-07 14:19:31 -04:00
Ashnal
f5aa2a701b Bail button
Transforms BT_RESPAWN into BT_BAIL
User bindings should migrate along with this
Respawn is now EBRAKE+BAIL
Respawn blocks LOOKBACK
Time Attack quick respawn is now VOTE
2025-06-23 18:07:59 -04:00
Antonio Martinez
63b55c0abd oni fuckup vol69 2025-06-21 23:55:28 -04:00
Antonio Martinez
d4c8fac82d Straight slowdown attempt 2: use momentum angle 2025-06-21 19:23:39 -04:00
Antonio Martinez
a8ef3d0204 Slow down bots on straightaways (reinventing the accel wheel) 2025-06-21 04:08:29 -04:00
AJ Martinez
9f506f93dd Merge branch 'gp-tweaks-420' into 'master'
GP refinements

Closes #1527

See merge request kart-krew-dev/ring-racers-internal!2620
2025-06-19 06:44:28 +00:00
Antonio Martinez
734e34e1ba Gate error friction behind bot movement, restore map complexity with limited range 2025-06-17 20:52:52 -04:00
Antonio Martinez
a8f326a08e WIP: do bot error friction as friction adjustment instead of base friction 2025-06-17 17:01:48 -04:00
Antonio Martinez
ab58b27873 Go to church friction code 2025-06-17 02:41:29 -04:00
Antonio Martinez
c5c413e2fe Bot WTF 2025-06-16 18:19:45 -04:00
Antonio Martinez
f418b5841a Minimum gradingfactor in Master 2025-06-16 15:50:34 -04:00
Antonio Martinez
9f187529f5 WIP: takeover cvar, don't draw other player exp 2025-06-12 01:07:57 -04:00
Antonio Martinez
33a24accda Softer EXP easing curve, cap bot modifier because Darkvile 1 is beating my ass 2025-06-07 21:27:00 -04:00
Antonio Martinez
0f500ac0c6 Remove debug print 2025-06-07 17:52:51 -04:00
Antonio Martinez
cd439be74c Bot difficulty and grading tweaks 2025-06-07 17:49:11 -04:00
Antonio Martinez
13f17180d3 Fix krangled expreduce math, add maxbot shield error 2025-06-04 15:18:26 -04:00
Antonio Martinez
786dbe46e2 Soften bot bumps, lower minimum complexity 2025-06-04 14:58:04 -04:00
Antonio Martinez
93b62bf823 Low EXP reduces rubberbanding, fix minimum complexity modifier 2025-06-03 18:42:35 -04:00
AJ Martinez
8c463d47b9 Merge remote-tracking branch 'origin/master' into bot-grip 2025-06-03 13:02:10 -04:00
Antonio Martinez
55d63fb402 Allow complexity to drop a little lower 2025-06-03 13:02:04 -04:00
Antonio Martinez
926a95f117 Faster turn updates for bots going fast 2025-06-03 12:48:45 -04:00
Antonio Martinez
3d39ab5225 more Duel 2025-05-24 21:19:33 -04:00
Antonio Martinez
9c7061aa0c More corrective bot friction on tighter waypoints 2025-05-22 19:09:08 -04:00
Antonio Martinez
219f8d74a0 Bot grip experiment 2025-05-22 16:35:53 -04:00
Antonio Martinez
eae8e1516b Move bumpslow to botvars 2025-05-13 20:23:54 -04:00
Antonio Martinez
e19473e322 Bot bump slowdown refinements 2025-05-13 01:22:21 -04:00
Antonio Martinez
3076e73c59 WIP: Nerf bumper car bots 2025-05-12 18:13:34 -04:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Sal
653766010d FRIENDCODE (aka, Teamplay) 2024-09-17 01:41:26 +00:00
Sally Coolatta
752063b472 Update bot followers too 2024-09-08 06:37:41 -04:00
Sally Coolatta
0d3cc16403 Queued skin/color changes
Instead of janky spectate on skin change, let the player finish their current round as their current skin.
2024-09-07 10:54:36 -04:00
toaster
1ed7591c40 Only apply maxconnections to bots in netgame contexts 2024-05-05 21:28:59 +01:00
AJ Martinez
6ef988cade Make sure level skull is always max rank 2024-05-04 04:56:20 -07:00
AJ Martinez
683f5016fb Level Skull 2024-05-03 20:15:21 -07:00