Commit graph

7104 commits

Author SHA1 Message Date
Sally Coolatta
e6e2cd5d82 Adjust air speed cap easing with bot rubberbanding 2020-05-02 00:54:54 -04:00
Sally Coolatta
df099864b6 Whoops 2020-05-01 23:45:12 -04:00
Sally Coolatta
69e5cf8205 Bots can use bubble shield and flame shield, albiet a bit simplisticly
This means they can now use ALL items!
2020-05-01 23:44:03 -04:00
Sally Coolatta
664a9528ed Eggbox stuff
- Bots can roll & use eggboxes now
- Bots can be "tricked" by eggboxes and treat them like normal items, depending on their difficulty and how many normal items are around them.
- If exploding and in 1st place, they'll slow down to try and find someone to explode next to.
- Item usage is difficulty dependent, and thus far more aggressive for the rivals
2020-05-01 22:55:58 -04:00
Sally Coolatta
b9e24d921c Bots reduce their rubberbanding top speed if they're facing the wrong way 2020-04-30 17:28:34 -04:00
Sally Coolatta
1fcfdd5bae Bot hints
Thing type 2004, adds a map-defined point for bots to gravitate towards or away from.
Angle: Changes radius, defaults to a 32 radius (or 64x64 area) without.
Ambush: When off, makes bots steer towards. When on, makes bots steer away.
Parameter: Changes how much the bot steers away/towards this point. If 0, defaults to 2.

(also, made bots ignore strong offroad if they could take a shortcut)
2020-04-30 14:15:10 -04:00
Sally Cochenour
174a76f7e8 Merge branch 'master' into pet-robo 2020-04-28 21:10:16 -04:00
Sally Cochenour
fb68e4f164 Merge branch 'master' into pet-robo 2020-04-28 20:20:05 -04:00
Sal
fae498f097 Merge branch 'fof-things-suck' into 'master'
Generic raise things line special, Waypoint Riser and Waypoint Anchor

See merge request KartKrew/Kart!233
2020-04-28 20:19:03 -04:00
Sally Cochenour
c06c4049c4 Bots play more careful around damage, insta-kill, and strong offroad 2020-04-28 14:24:09 -04:00
Sally Cochenour
44334602e5 New "wall steering"
Rather than trying to steer away from walls (and failing), just pull the predicted point back and make the radius stricter.

Not an ideal solution compared to what the other method was trying to go for, but this has a better success rate -- and even in cases where false positives come up (like many instances Ezo pointed out), they will no longer be incapacitated by it.
2020-04-27 17:06:36 -04:00
Sally Cochenour
be70afcbbd Object steer polishing
Notably, looks in an oval area instead of a circle
2020-04-27 13:42:01 -04:00
Sally Cochenour
80b59382f4 Tighten up radius slightly 2020-04-26 22:41:00 -04:00
Sally Cochenour
6846d7c3a1 Bring back strong rubberbands now that they can properly predict 2020-04-26 20:36:57 -04:00
Sally Cochenour
6b3e7c8e16 Adjust prediction future sight based on the bot's handling 2020-04-26 20:36:40 -04:00
Sally Cochenour
4ec61a2e11 Subtract your distance to the nextwaypoint from the distance to predict ahead
Helps the GHZ turn out a LOT, and other instances with waypoints far apart from each other
2020-04-26 13:06:53 -04:00
Sal
c50670752a Merge branch 'prevent-div-by-zero' into 'master'
Prevent divide by zero in slopes code

See merge request KartKrew/Kart!243
2020-04-25 01:37:54 -04:00
James R
48b7c75e47 Why is this still here 2020-04-24 20:39:54 -07:00
James R
4b2c13da0c Merge remote-tracking branch 'origin/master' into fof-things-suck 2020-04-24 20:36:30 -07:00
Sal
720ec3ba8a Merge branch 'scroll-back-and-front' into 'master'
Line special 507 - Scroll front and back textures of tagged lines by front and back texture offsets

See merge request KartKrew/Kart!239
2020-04-24 20:54:23 -04:00
Sally Cochenour
e26bb897d6 Prevent divide by zero in slopes code
Not exactly sure why this happens, or if this is the correct way to fix it
2020-04-23 14:18:43 -04:00
Sal
c53b09c48c Merge branch 'update-cmakelists' into 'master'
Add new files to src/CMakeLists.txt

See merge request KartKrew/Kart!242
2020-04-23 12:48:43 -04:00
Sally Cochenour
372544d28f Merge branch 'master' into pet-robo 2020-04-22 21:54:40 -04:00
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
Sal
dca2193121 Merge branch 'misc-camera' into 'master'
Camera tweaks

See merge request KartKrew/Kart!241
2020-04-22 16:42:19 -04:00
Sal
4a198c0bfa Merge branch 'version-change' into 'master'
No more modulo bullshit in VERSION

See merge request KartKrew/Kart!238
2020-04-22 16:41:17 -04:00
Sal
17e2cea517 Merge branch 'bananas-are-items' into 'master'
Move all of the item destroy sector code to one place

See merge request KartKrew/Kart!240
2020-04-22 16:40:56 -04:00
Sal
e23027d678 Merge branch 'let-there-be-var' into 'master'
Change netvars in replays

See merge request KartKrew/Kart!234
2020-04-22 16:40:29 -04:00
Sal
9671090d06 Merge branch 'distance-to-finland' into 'master'
More consistent finish line distance & positions

See merge request KartKrew/Kart!237
2020-04-22 16:40:19 -04:00
lachwright
4040698e24 Add new files to src/CMakeLists.txt 2020-04-22 23:24:25 +08:00
lachwright
dd126494b3 [Everyone disliked that.] (revert camera zoom) 2020-04-22 22:59:57 +08:00
James R
fd51bf10b0 Thing type 2003, MT_WAYPOINT_ANCHOR - Adjust waypoint's radius
The distance from the waypoint to the anchor will be the new radius.
2020-04-21 00:36:45 -07:00
James R
02f30814eb Do some cleanup 2020-04-21 00:35:06 -07:00
James R
ccf1bdcb29 Put botvars in savegame 2020-04-20 22:09:49 -07:00
lachwright
c92634c71e Make lookback instantaneous 2020-04-21 05:24:48 +08:00
lachwright
6905cfb064 Revert camtilt splitscreen hacks 2020-04-21 03:32:06 +08:00
lachwright
263c31f5df Improve camera tilt 2020-04-21 02:38:08 +08: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
e941749f4c Move all of the item destroy sector code to one place 2020-04-15 22:45:03 -04:00
James R
62143d32b3 Rise waypoint to highest FOF below riser, or lowest above 2020-04-15 19:31:23 -07:00
James R
0b3b13b3b5 Remove FOF height sorting 2020-04-15 19:16:49 -07:00
Sally Cochenour
cc286fc810 If already on a shortcut, bots can continue to use shortcut waypoints 2020-04-15 22:11:25 -04:00
James R
190fc27121 Check that a back side exists 2020-04-15 18:48:23 -07:00