James R
e4226c9ff9
Fix crash from trying to remove the 17th player when removing bots
2021-02-22 18:17:50 -08:00
Sally Coolatta
1849f70359
Merge branch 'master' into waypoints-disable
2021-02-12 20:28:16 -05:00
Sally Coolatta
8734db6cfd
Remove prints
2021-02-12 11:21:35 -05:00
Sally Coolatta
f134c07c00
Severely decrease spindash threshold
2021-02-12 03:20:43 -05:00
Sally Coolatta
f236fcc5e2
Decrease max top speed rubberband
2021-02-12 02:08:10 -05:00
Sally Coolatta
9bf2293481
Increase rubberband range
2021-02-12 02:07:47 -05:00
Sally Coolatta
1f7fd96e32
Bot controller linedef
...
Controls bot behavior while they're touching a tagged sector.
X texture offset is angle to force the bot in (0 is east, 90 is north, 180 is west, 270 is south)
Y texture offset is trick type -- if a bot enters the sector while in trick panel state, then they'll do the input for the trick. Without the effect present, they'll do nothing and eventually tumble.
Y offset 1 does a left trick, 2 is right, 3 is forward, 4 is back/up.
2021-02-11 19:08:44 -05:00
Sally Coolatta
c58b5e92a1
Fixed weird issues with finish beam dist, properly use old behavior without beam, make bots get way closer
2021-02-11 16:25:35 -05:00
Sally Coolatta
e0f931072c
Leftover from old comment
2021-02-06 05:14:54 -05:00
Sally Coolatta
efb636aebe
Bots do things during POSITION
2021-02-06 05:14:15 -05:00
Sally Coolatta
79d5867c5e
Add spindashing logic for bots
...
They will charge a spindash when they're moving too slow, don't have another boost, and aren't flashing.
2021-02-05 22:44:31 -05:00
Sally Coolatta
b5d7434caa
Turn confirm goes back to neutral when they aren't trying to turn.
2021-02-05 21:34:16 -05:00
Sally Coolatta
9d4afb9aec
Players/bots ignore disabled waypoints
2021-02-01 19:58:15 -05:00
Sally Coolatta
71d8ffb493
Reduce max rubberband top speed from +100% to +25%
2021-01-31 20:11:44 -05:00
Sally Coolatta
aefff1c943
Fix bots + friction
2021-01-31 17:58:18 -05:00
Sally Coolatta
6eb7c6a9a9
+10% more effective top speed stat for all players, instead of just bots
2021-01-30 20:46:34 -05:00
Sally Coolatta
062ea7e430
Use scale 1 instead of 0 for player oblivion shrink
2020-09-27 10:36:44 -04:00
Sally Coolatta
17b8a5d603
Shrink when dying post-finish
...
I started this in another commit and forgot to fully finish it. Also allows attacking bot-controlled players who won
2020-09-26 05:40:01 -04:00
Sally Coolatta
e19cffa819
Quitting players act like bots
2020-09-25 02:27:11 -04:00
Sally Coolatta
99a1bacb81
Turning code overhaul
...
Packet drops are still broken, but at least netgames are playable now.
2020-09-22 00:35:44 -04:00
Sally Coolatta
fc663d4d86
Bots work again
2020-08-18 05:40:21 -04:00
Sally Coolatta
f9ca40e673
Merge branch 'master' into the-scary-22-merge
2020-08-12 20:59:09 -04:00
Sally Coolatta
8731c6b7a4
Another round of fixing up
...
- gametyperules are now fitting for kart, not applied to the whole codebase though
- a few more files compile
2020-08-11 16:13:17 -04:00
Sally Coolatta
69b6ba2f18
I tore apart the entire code to try and fix braking friction and gave up, so now it's back to v1
...
My rewrites clean up a LOT of weird/misleading behavior anyway, so I'm gonna push this regardless. Someone else will have to figure out another way to reimplement braking friction though -- we can't use it as is because it prevents being able to bump people.
2020-07-28 03:34:39 -04:00
Sally Coolatta
fc89f2cc47
Remove start boosts, let you roam, kill you for crossing the line before the start
2020-07-24 02:59:47 -04:00
Sally Coolatta
559b879a28
move bot ticcmd to SV_Maketic
2020-06-07 03:41:56 -04:00
Sally Coolatta
42419f7bc6
Add comments for functions
2020-06-04 17:14:14 -04:00
Sally Coolatta
9603c5fea7
Revise rival score system, so that it's much more likely to make the rival status switch places
2020-06-04 16:52:24 -04:00
Sally Coolatta
4005288d40
Adjust max/min rubberband multiplier with bot difficulty
...
Lv. 1: Ranges from x0.75 to x1.0 (never speeds up, only slows down)
Lv. 5: Ranges from x0.875 to x1.5 (completely average)
Lv. 9: Ranges from x1.0 to x2.0 (never slows down, only speeds up)
2020-06-04 15:59:51 -04:00
Sally Coolatta
30df376d04
Higher friction while rubberbanding
...
They are now x2 as difficult :)
2020-06-03 14:02:14 -04:00
Sally Coolatta
91b0246d99
Merge branch 'master' into grand-pricks
2020-05-31 15:53:31 -04:00
Sally Coolatta
990733a5cc
Minimum prediction distance
...
Lets them properly steer while respawning
2020-05-28 18:46:33 -04:00
Sally Coolatta
d2aa03b44e
Change 3*rad/4 to rad
...
Should let them use slightly more of the track
2020-05-28 18:45:14 -04:00
Sally Coolatta
5f97070a47
FixedDiv should be here instead of FixedMul
2020-05-28 18:29:00 -04:00
Sally Coolatta
fdb13b76d1
Make K_BotTopSpeedRubberband a function
2020-05-28 16:46:21 -04:00
Sally Coolatta
b8b4d913a8
Reverse order bots are removed
2020-05-28 13:44:53 -04:00
Sally Coolatta
20b2dabae9
Merge branch 'pet-robo' into grand-pricks
2020-05-25 12:44:59 -04:00
Sally Coolatta
4916516e2e
Prevent duplicate skins, fix bots not being able to be disabled, change default to "off"
2020-05-24 17:12:58 -04:00
Sally Coolatta
5d77807a78
const radreduce, removed unused "dir" property
2020-05-24 16:16:01 -04:00
Sally Coolatta
597baf212b
Allow rubberbanding up to exiting players
2020-05-24 15:55:26 -04:00
Sally Coolatta
dbc30da69f
Dial back the bot steering changes a bit
2020-05-24 15:55:10 -04:00
Sally Coolatta
02605a5ace
Split bot code into multiple files & clean up
2020-05-24 15:08:10 -04:00
Sally Coolatta
56867fb203
Going above top speed makes radius smaller
2020-05-24 11:13:20 -04:00
Sally Coolatta
edfc14c506
Better steering
...
- If they're already turning in one direction, they are more likely to steer in that direction for objects
- Bots have to want to turn in 1 direction for a few frames in a row before it'll let them
Prevents twitching & makes them less indecisive in general
2020-05-24 11:12:38 -04:00
Sally Coolatta
38ec153e90
A bit redundant
2020-05-22 20:49:33 -04:00
Sally Coolatta
f442b934cc
Adjust wall steer radius with speed
2020-05-22 20:20:17 -04:00
Sally Coolatta
19f352e4a4
Commentate K_BotReducePrediction better, use angle rather than distance for path split picking
2020-05-22 20:19:58 -04:00
Sally Coolatta
1ec651ff00
Combine K_FindRandomItems & K_FindEggboxes
2020-05-18 15:30:55 -04:00
Sally Coolatta
c3a5193150
Remove this code, it's in grand-pricks & functional now
2020-05-18 15:19:48 -04:00
Sally Coolatta
7bdb1e9458
Rival always rubberbands to the front of the pack
2020-05-14 02:23:03 -04:00