Commit graph

17175 commits

Author SHA1 Message Date
SteelT
24fbdd70dd Revert "Fix bug with sparkles not being removed properly"
This reverts commit cf32ebb490.
2021-03-31 22:01:33 -04:00
SteelT
cf32ebb490 Fix bug with sparkles not being removed properly 2021-03-31 21:10:14 -04:00
SteelT
85f95d2d78 Add more comments to the code.
To make it easier to understand what's going on.
2021-03-29 21:32:35 -04:00
SteelT
3c817774b8 Fix sparkle animation not being capped properly. 2021-03-29 21:05:24 -04:00
SteelT
106afa9ace Make spawning look less squished 2021-03-29 00:15:52 -04:00
SteelT
ffc5469e9f Minor invincibility speedlines tweaks 2021-03-28 22:35:08 -04:00
SteelT
4f7aafe654 Fancy invincibility speed lines 2021-03-28 22:05:18 -04:00
Latapostrophe
3b617337ee Fancy rotating sparkles 2021-03-29 00:27:56 +02:00
SteelT
c8124a6c94 Some invincbility changes 2021-03-28 17:19:47 -04:00
Sal
3ebedeaa08 Merge branch 'udmf-scale-by-mobjscale' into 'master'
Multiply thing scale by mobjscale

See merge request KartKrew/Kart!402
2021-03-09 16:51:23 -05:00
Sal
731f0af25f Merge branch 'bot-alt-turning' into 'master'
New bot swerving system

See merge request KartKrew/Kart!400
2021-03-09 16:12:30 -05:00
Sal
e0da1d7a7d Merge branch 'no-turn-easing' into 'master'
Remove turn easing code

See merge request KartKrew/Kart!401
2021-03-09 16:12:11 -05:00
James R
e18a3a1be0 Multiply thing scale by mobjscale 2021-03-01 22:04:13 -08:00
James R
017c5a363f Fix casing 2021-03-01 19:49:44 -08:00
Sally Coolatta
0be122189f Remove turn easing code
Vanilla holdover lots of people complain about & tbh just doesn't need to exist
2021-03-01 12:39:42 -05:00
James R
ec00710396 Use 2.2's version of the -warp parameter 2021-02-28 21:51:44 -08:00
Sally Coolatta
d63b428565 Merge Kart-Public next 2021-02-27 02:16:21 -05:00
Sally Coolatta
176900c7e2 Merge branch 'master' into next 2021-02-27 00:38:43 -05:00
Sally Coolatta
cbe14d74c8 Increase default hint weight 2021-02-26 22:56:59 -05:00
Sally Coolatta
cb655f863c Reduce object distance by its radius
Just gives bot hint size a purpose again, even if it's minor.
2021-02-26 22:43:10 -05:00
Sally Coolatta
03c13052e8 Fix bot hint weighting 2021-02-26 22:37:46 -05:00
Sally Coolatta
b7f8278252 Some asserts in K_DrawPredictionDebug 2021-02-26 22:15:43 -05:00
Sally Coolatta
78592de14f Since this gets definitely freed by us later, this should probably be PU_STATIC 2021-02-26 22:13:21 -05:00
Sally Coolatta
17de1d5ff3 Don't modify the states table for kartdebugwaypoints or kartdebugbotpredict
Also makes debugwaypoints fullbright so it's a little easier to see in dark levels.
2021-02-26 21:55:20 -05:00
Sally Coolatta
d2dd562919 Bots shouldn't try to do anything during the camera spin-around intro. 2021-02-26 21:37:14 -05:00
Sally Coolatta
ebaef5d0af Flip side properly for objects to go towards. 2021-02-26 19:46:52 -05:00
Sally Coolatta
00227ee7f0 Don't ever go too far behind the bot 2021-02-26 19:42:08 -05:00
Sally Coolatta
9f91c2dcdc Buff the object nudging now that wall detection doesn't step on its toes :) 2021-02-26 19:28:49 -05:00
Sally Coolatta
bbfad3a544 Adjust wall detection
Wall detection range was doubled, how much the prediction is adjusted was halved. This is a much nicer middle-ground compared to what it was doing before.
2021-02-26 19:04:24 -05:00
Sally Coolatta
59fa615cc8 Update comment 2021-02-26 06:12:19 -05:00
Sally Coolatta
df13b9fcfa Show prediction's radius on the prediction debugger 2021-02-26 05:58:33 -05:00
Sally Coolatta
c7e061155a Add weighting system back into prediction nudging
Simply adds the same object to the list several times. Necessary because otherwise rings are over-prioritized.
2021-02-26 05:44:57 -05:00
Sally Coolatta
dc1fbb2e9a Fix bug that caused bots to go into ring debt a lot 2021-02-26 05:42:59 -05:00
Sally Coolatta
ffaa4e2aa2 Differentiate between which side an object is on
This means that if there's objects on both sides of the bot, then the tie is broken by which side has the most objects. Before, it would average out to the middle, so they wouldn't swerve at all, which is kind of stupid for rings, but can ruin the bot's performance for dodging items & players especially!
2021-02-26 04:26:50 -05:00
Sally Coolatta
6142963ff9 Add minimum distance to prediction 2021-02-26 03:30:52 -05:00
Sally Coolatta
7eac54a749 Adjust nudging to values that feel nice 2021-02-26 03:21:33 -05:00
Sally Coolatta
0fb97a1b16 Use the proper variable for the average position 2021-02-26 02:50:20 -05:00
Sally Coolatta
4b158c44cd Add debug command to show the bot's prediction 2021-02-26 02:41:41 -05:00
Sally Coolatta
43a92892e9 New turning towards objects style 2021-02-26 01:58:13 -05:00
Sally Coolatta
5ac116dc12 Don't use rings during POSITION 2021-02-26 00:31:13 -05:00
Sally Coolatta
a4b673705a Merge branch 'master' into bots-brake-earlier 2021-02-26 00:29:48 -05:00
Sally Coolatta
317dfe5ae0 Bots brake earlier 2021-02-26 00:24:29 -05:00
Sal
d2213c21a5 Merge branch 'bot-removal-overrun' into 'master'
Fix crash when reducing kartbot

See merge request KartKrew/Kart!399
2021-02-25 02:34:42 -05:00
Sal
fa5ef9ed58 Merge branch 'kickstartaccel' into 'master'
Acceleration Kickstart

See merge request KartKrew/Kart!398
2021-02-25 02:34:32 -05:00
James R
e4226c9ff9 Fix crash from trying to remove the 17th player when removing bots 2021-02-22 18:17:50 -08:00
toaster
879c821d18 Demo-sync weaponpref data, which just includes kickstartaccel right now. 2021-02-22 12:58:03 +00:00
toaster
a43a762b46 Instead of hacking ticcmd generation, add/modify helper functions acting as intermediaries that add the necessary changes.
* Introducing K_GetKartButtons(player_t), for adding false presses to.
* K_GetForwardMove(player_t) takes kickstarting into account, and is now applied to engine sound generation too.
* BT_REALACCELERATE has been deleted.
2021-02-22 12:21:48 +00:00
Sal
5d1ed4074c Merge branch 'flashingfoolishness' into 'master'
Flashingtics Foolishness

See merge request KartKrew/Kart!397
2021-02-21 20:44:18 -05:00
toaster
cce4165f35 After discussing with Oni, adjust the coordinates for the accel kickstart indicator. 2021-02-21 21:37:56 +00:00
toaster
75b53bbb52 Don't delete your kickstartaccel if you cross the finish line and the bot driver takes over. 2021-02-21 18:20:44 +00:00