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
9bdebe51bf
Fix a dumb warning
2020-03-31 16:54:20 -07:00
James R
c5a5d95a24
Use KART_ITEM_ITERATOR for the lua constants
2020-03-31 16:52:41 -07:00
James R
6975de85b4
Call the substitution macro FOREACH
2020-03-31 16:45:36 -07:00
James R
1243d0940a
Merge remote-tracking branch 'origin/master' into more-debug
2020-03-31 16:44:04 -07: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
Sryder
956222ad86
Fix joining netgames not loading up waypoints correctly.
...
Mobjs get deleted and loaded from net save. The mobjs in the waypoints need to load into the correct waypoints again.
This doesn't save/load the entire waypoints, so they still cannot be edited/added/removed mid-game.
2020-03-30 20:43:01 +01:00
Sal
860885e2b9
Merge branch 'new-item-sprites' into 'master'
...
Add new item box sprites
See merge request KartKrew/Kart!229
2020-03-30 12:34:52 -04:00
Sally Cochenour
69a67376b3
Oni's suggestions
...
- Only look for players who can pick up the item. Serves as a subtle tell for other players holding onto items, and lets you see the canon color more often
- Held eggman item uses black instead of player color
- Fix karma items not animating
2020-03-30 07:43:22 -04:00
Sally Cochenour
266ad99374
Add new item sprites
2020-03-30 06:57:42 -04:00
Sally Cochenour
9e2c119b56
Merge branch 'master' into pet-robo
2020-03-29 20:44:13 -04:00
Sally Cochenour
774c85d660
Rudimentary item usage code
2020-03-29 19:56:05 -04:00
Sally Cochenour
102aca3ab4
Bots have a dumb path prediction
2020-03-29 18:00:35 -04:00
Sally Cochenour
0ef12d3cce
Properly use bot movement when exiting
2020-03-29 17:59:26 -04:00
Sally Cochenour
2e4b1c6ecb
Help reduce waypoint flickering by using closest waypoint to finish line
2020-03-29 17:58:17 -04:00
Sally Cochenour
896f752d94
Fix the compile errors I got
...
- void out link variable in non-unix to prevent unused variable error
- change n's type to size_t from int to prevent unsigned signed comparison
2020-03-29 08:39:15 -04:00
Sal
f63b321eb2
Merge branch 'spb-waypoints' into 'master'
...
Dangerous SPB
See merge request KartKrew/Kart!227
2020-03-29 07:58:08 -04:00
Sal
7d1a7b0768
Merge branch '2.2-frames' into 'master'
...
Use the 2.2 frame characters
See merge request KartKrew/Kart!228
2020-03-29 07:34:09 -04:00
Sal
f8905982dc
Merge branch 'gifs-port' into 'master'
...
OpenGL GIF/Flashpal/Color Profile port
See merge request KartKrew/Kart!223
2020-03-29 07:33:48 -04:00
James R
61be09e6bf
Merge remote-tracking branch 'origin/master' into gifs-port
2020-03-28 21:00:39 -07:00
James R
1b6256bd89
Use the 2.2 frame characters
2020-03-28 20:57:27 -07:00
Sal
eb9144338a
Merge branch 'logs-port' into 'master'
...
2.2 directory structure and log files port
See merge request KartKrew/Kart!224
2020-03-28 22:16:50 -04:00
Sally Cochenour
15bda7da2d
Use K_MomentumToFacing to give bots a bit better traction
2020-03-28 14:57:49 -04:00
Sally Cochenour
ff621d3e46
Skins, rudimentary ticcmd building for bots
2020-03-28 12:39:27 -04:00
Latapostrophe
8960152a7c
Merge branch 'v2-master' into spb-waypoints
2020-03-28 15:12:38 +01:00
Latapostrophe
67f7fe2cc5
Merge branch 'master' of git.magicalgirl.moe:KartKrew/Kart into v2-master
2020-03-28 15:11:28 +01:00
Sally Cochenour
e5ae9d1513
Merge branch 'master' into pet-robo
2020-03-28 08:43:40 -04:00