Commit graph

7058 commits

Author SHA1 Message Date
Sally Cochenour
f920dd026d Minor things 2020-04-22 21:53:52 -04:00
Sally Cochenour
4bd88e47e3 Polishing turn stuff 2020-04-22 21:53:41 -04:00
Sally Cochenour
fb945ae523 Merge branch 'pet-robo' of https://git.magicalgirl.moe/KartKrew/Kart into pet-robo 2020-04-22 19:13:20 -04:00
Sally Cochenour
99cf835078 Improved banana usage 2020-04-22 19:13:14 -04:00
James R
ccf1bdcb29 Put botvars in savegame 2020-04-20 22:09:49 -07:00
Sally Cochenour
422f528056 Remove prints, adjust things 2020-04-19 10:12:02 -04:00
Sally Cochenour
21bab775b1 Add difficulty settings 2020-04-19 09:07:29 -04:00
Sally Cochenour
4d3db89a15 Reduce max catchup top speed 2020-04-19 05:28:59 -04:00
Sally Cochenour
39964491e2 Don't steer toward rings when you have Thunder Shield 2020-04-19 05:27:44 -04:00
Sally Cochenour
96d69785bf Merge branch 'master' into pet-robo 2020-04-18 01:18:22 -04:00
Sally Cochenour
cc286fc810 If already on a shortcut, bots can continue to use shortcut waypoints 2020-04-15 22:11:25 -04:00
Sal
fc32689b36 Merge branch 'folders-plus' into 'master'
Directory revision

See merge request KartKrew/Kart!231
2020-04-15 16:13:39 -04:00
Sal
80ce1c7c6d Merge branch 'dropstuff' into 'master'
Item drop code cleanup

See merge request KartKrew/Kart!236
2020-04-15 16:12:55 -04:00
Sal
71b6c44af0 Merge branch 'spb-shit' into 'master'
Fix item distances underflowing in rare instances due to order of operations

See merge request KartKrew/Kart!235
2020-04-10 13:51:27 -04:00
Sally Cochenour
8b5bd645ca See if cleaning the pointer here fixes shrink/eggbox syncbombs 2020-04-09 22:57:05 -04:00
Sally Cochenour
9b4e10d5d7 Item dropping code cleanup 2020-04-09 22:56:31 -04:00
Sally Cochenour
c8da95cbda Revert "Fix being able to hold items to get them as early as possible"
This reverts commit 43732b386d.
2020-04-09 21:05:46 -04:00
Sally Cochenour
43732b386d Fix being able to hold items to get them as early as possible
(Doesn't matter in v2 because it'd waste your rings to do it, but y'know how it is. Maybe port for v1.2 if it works?)
2020-04-09 20:57:21 -04:00
Sally Cochenour
1618d61bfc Fix potential overflow 2020-04-09 20:56:15 -04:00
Sally Cochenour
d0a6c43c89 Minor things 2020-04-09 02:52:41 -04:00
Sally Cochenour
fe376a388b Slight adjustments 2020-04-07 00:53:43 -04:00
Sally Cochenour
3f639b4f8a Rubberbanding! 2020-04-07 00:40:44 -04:00
Sally Cochenour
dbb52e4aa5 Use bananas, orbinauts, jawz, mines, and ballhog
Yaaay

Bananas and mines could definitely be improved, but works for now
2020-04-05 02:14:40 -04:00
Sally Cochenour
6ecad2e73a Reduce steering code duplication 2020-04-05 02:13:39 -04:00
Sally Cochenour
b983031587 Yet more misc polish since I can't focus on orbis
- Massive improvements to object steering -- they do it more often and more strongly
- Steering towards hurtable players is now weighted on acceleration, and steering away from painful players is weighted on handling
- Bots now can get & use Thunder Shield
- Bots now know how to detontate Eggman Item explosions early
- Top speed gets a buff to make up for them losing lots of speed without drifting, weighted more heavily towards low acceleration characters
2020-04-04 01:42:56 -04:00
Sally Cochenour
ccc7ac8cad More misc polish
- Steer against objects more often
- Reduce steering toward rings
- Only steer towards items/rings in front of them
- Be slightly less trigger happy with using rings/shoes while boosting
2020-04-03 16:39:43 -04:00
Sally Cochenour
578f4ae2c1 Slight tweaks to object dodging 2020-04-03 13:42:27 -04:00
Sally Cochenour
5dec13c848 Fix ring values being flipped 2020-04-03 13:36:33 -04:00
Sally Cochenour
b27f1d89c3 Merge branch 'pet-robo' of https://git.magicalgirl.moe/KartKrew/Kart into pet-robo 2020-04-03 00:38:27 -04:00
Sally Cochenour
ec9a023814 Object steering
Bots will steer *towards* rings, items, ring-stingable players, and players with lower weight. They will steer *away* from projectiles, traps, players using damaging items (such as invincibility), players with shields, and players with higher weight.
2020-04-03 00:38:24 -04:00
James R
2e963a46f5 For fun, let the bots vote 2020-04-02 14:16:29 -07:00
Sally Cochenour
fafdb257b8 Actually, this should be left alone too 2020-04-02 15:15:34 -04:00
Sally Cochenour
3ae0cd03fb Scale waypoint radius with mapobjectscale
Fixes Marble Garden's bots
2020-04-02 15:15:00 -04:00
Sally Cochenour
52960459a3 Minor variable changes 2020-04-02 15:08:48 -04:00
Sally Cochenour
ebbcf8d7fd Make bots slow down on turns less often 2020-04-02 14:54:00 -04:00
Sally Cochenour
425220a109 Remove print 2020-04-02 00:45:01 -04:00
Sally Cochenour
08fab7e274 Merge branch 'pet-robo' of https://git.magicalgirl.moe/KartKrew/Kart into pet-robo 2020-04-02 00:44:40 -04:00
Sally Cochenour
8f450f2128 Steer bots away from walls 2020-04-02 00:43:42 -04:00
James R
b83ce45941 Set angleturn from player angle instead of relying on the previous state 2020-04-01 20:11:00 -07:00
James R
0ee1628b51 Send bot status in servercfg 2020-04-01 20:10:50 -07:00
James R
e8ca96ceb4 Merge remote-tracking branch 'origin/master' into HEAD 2020-04-01 19:41:44 -07:00
Sally Cochenour
4380caf7dd All around polishing
- Make ring usage smarter
  - Ring usage threshold varies between characters (Tails will be more willing to dump rings, Metal will hold onto them)
  - Decrease ring use threshold when they have a speed boost (tethering)
  - Decrease ring use threshold when slowed down more than usual
- Properly implement Triple Sneaker & Rocket Sneaker usage
- Use smallest radius of all waypoints being predicted, to improve precision
- Bots never use prev waypoints
2020-04-01 21:16:26 -04:00
James R
4a3a4c0801 This won't be needed 2020-03-31 15:50:39 -07:00
James R
e4094bc2a9 Remove some redundant code 2020-03-31 15:26:22 -07:00
James R
735dd26dc6 Put downloads in addons/downloads instead of DOWNLOAD 2020-03-31 15:23:24 -07:00
Sryder
f190e3bd9e Merge branch 'fix-waypoint-joins' into 'master'
Fix joining netgames not loading up waypoints correctly

See merge request KartKrew/Kart!230
2020-03-31 11:34:15 -04:00
Sryder
902bbb447f Missed a function header comment in k_waypoint.c 2020-03-31 16:31:01 +01:00
Sally Cochenour
29613dba90 Merge branch 'master' into pet-robo 2020-03-31 10:47:03 -04:00
James R
3fa22c508b Put screenshots, movies and replays under a "media" directory 2020-03-30 17:41:48 -07:00
Sally Cochenour
fb550f2868 Slightly smarter sneaker usage
- Use sneaker if held for too long without a proper use
- Use sneaker if losing too much speed
- Use sneaker if you have another boost (tether, boosters)
- Add triple sneaker & rocket sneaker support
- Don't go towards shortcut waypoints without a shortcut item
- Bots get naturally better handling
2020-03-30 17:17:20 -04:00