Commit graph

18972 commits

Author SHA1 Message Date
Sally Coolatta
828e5e7c81 Rival bot in GP gets x2 tether power increment 2022-05-26 00:29:51 -04:00
Sally Coolatta
2cbcc8f914 Adjust acceleration for rubberbanding
Since your acceleration is tied to your top speed, we need to do this to ensure we're ONLY increasing the top speed, and not how fast they make it to that top speed.
2022-05-26 00:25:54 -04:00
Sally Coolatta
8815b065b3 Merge branch 'master' into bot-rubberband-edit 2022-05-25 23:29:04 -04:00
James R
0bcabbb88a Merge branch 'grow-adjustments' into 'master'
Minor Grow scale corrections

See merge request KartKrew/Kart!605
2022-05-25 08:05:40 +00:00
James R
1f54579c03 Merge branch 'blockmap-cock' into 'master'
Fix blockmap WILD inconsistency when it's not PIT_CheckThing

See merge request KartKrew/Kart!601
2022-05-25 08:03:01 +00:00
James R
dac2f4495e Merge branch 'hyu' 2022-05-25 00:43:32 -07:00
Sal
675cb12dba Merge branch 'tester-text' into 'master'
Tester text

See merge request KartKrew/Kart!603
2022-05-25 07:37:17 +00:00
Sal
e3a0945566 Merge branch 'eggbox-cinders' into 'master'
Eggman Mark cinder fix

See merge request KartKrew/Kart!600
2022-05-25 07:37:08 +00:00
Sally Coolatta
abb5cf71b8 Waypoint sight improvements
- Reorganized bot traversal
- Blocking line traversal includes tripwire
- Next waypoint detection uses blocking line trace now (this means bots can't sit outside of a tripwire wanting to go through it)
2022-05-24 17:30:42 -04:00
Sally Coolatta
6afa7dfc4b Set tmx & tmy for P_LineOpening in bot code
(The more this issue happens, the more we need to take the GZDoom approach of keeping this shit in a struct that you have to put in as a function argument, instead of global variable hellzone...)
2022-05-24 15:44:27 -04:00
Sally Coolatta
a896d73334 Precalculate bot controller & rubberbanding
These both require a couple loops to preform each, which probably adds up over multiple bots. Let's just precalculate them at the start of bot ticcmd.
2022-05-24 15:28:36 -04:00
Sally Coolatta
529a99bc17 Bot Controller E2 disables their movement entirely 2022-05-24 14:37:43 -04:00
toaster
bf6d257cfb Prevent rings from suddenly growing in size when a Grow player interacts with them, to match how using rings while grown or shrunk have them at mapobjectscale. 2022-05-24 18:41:13 +01:00
toaster
0d82b075b0 Fix Grow on Trick Panels sending you to ridiculous heights. 2022-05-24 18:09:40 +01:00
Sal
8b9adb1b4c Merge branch 'follower-maintenence' into 'master'
Follower angle lag + lookback

See merge request KartKrew/Kart!597
2022-05-24 06:49:15 +00:00
Sal
5c2477348a Merge branch 'trick-threshold' into 'master'
Trick threshold

See merge request KartKrew/Kart!599
2022-05-24 06:48:59 +00:00
Sal
7b64b07494 Merge branch 'shorter-turn-lockout' into 'master'
Adjust steering lock after successful DI

See merge request KartKrew/Kart!602
2022-05-24 06:48:46 +00:00
Sally Coolatta
c678146f0c Drastically simplified bot rubberbanding 2022-05-23 23:59:18 -04:00
Sally Coolatta
052e72c409 PIT_CheckThing valid checks more consistent 2022-05-23 19:20:21 -04:00
toaster
b9ee6d1f4e * Show version/DEVELOP info on the title screen, not the top-level menu (necessary in advance of new-menus).
* Add TESTER/HOSTTESTER information to `version` command and title screen DEVELOP info.
2022-05-23 23:57:18 +01:00
AJ Martinez
849dd2926f Futureproof loss-of-control check 2022-05-23 16:57:48 -05:00
AJ Martinez
3bc5fac430 Adjust steering lock after successful DI 2022-05-23 16:47:27 -05:00
Sally Coolatta
d053d5f8ba Fix blockmap WILD inconsistency when it's not PIT_CheckThing
An optimized error check was put into P_BlockThingsIterator for tmthing, but this meant that anything that was not using or even setting this variable (the supermajority of them) would exit after finding 1 thing in each block.

To keep this error check & keep it optimized, the PIT_ functions were expanded to three options instead of two: BMIT_CONTINUE lets the search continue. If used as the last mobj, it will return true when the iterator finishes. BMIT_ABORT ends the search and forces the iterator to return false.
BMIT_STOP ends the search and forces the iterator to return true.
2022-05-23 17:37:29 -04:00
toaster
17d007d418 * Restore player colour and colorization correctly when the Eggman Mark concludes its effect.
* Allow colorisation types to not completely crowd each other out.
    * For example, it's possible for invincibility + grow to flicker Invincibility, Eggman mark, and grow colours if the conditions for each type of flash are true on different frames!
2022-05-23 22:04:14 +01:00
Sally Coolatta
4b70a64b3f Ground follower mode 2022-05-23 15:51:00 -04:00
toaster
0e31d2e9a6 * Tricks now have a minimum stick tilt of 1/4th of the data range to activate.
* This tilt is a *difference* between the axes, so a slight diagonal shouldn't intefere.
2022-05-23 20:12:31 +01:00
Sally Coolatta
6e3c4dbc34 > numfollowers-1 -> >= numfollowers 2022-05-23 13:40:51 -04:00
Sally Coolatta
d8b7967a22 Make all instances of this sine use M_TAU_FIXED 2022-05-23 13:38:53 -04:00
Sally Coolatta
0e60a3ef26 Increase default horzlag to 3
This value is closer to how the old value felt before the tracking was improved.
2022-05-23 04:10:20 -04:00
Sally Coolatta
d1d9a5bd10 Fix follower menu crash 2022-05-23 03:03:16 -04:00
Sally Coolatta
69023a96ee More bobspeed fix 2022-05-23 02:59:52 -04:00
Sally Coolatta
ab9d474e9b Fix follower color on menu
(not that it even uses the real color, buuut...)
2022-05-23 02:57:46 -04:00
Sally Coolatta
6574f822a4 Fix bobspeed + menu z offset 2022-05-23 02:57:20 -04:00
Sally Coolatta
fcff62fc9e Lag of FRACUNIT matches your position exactly 2022-05-23 02:45:32 -04:00
Sally Coolatta
d67c658643 Fix angle lag not working
(Why was angle being set again above this...)
2022-05-23 01:09:58 -04:00
Sally Coolatta
f8ad0a28e7 Fix anglelag typo 2022-05-23 00:40:37 -04:00
Sally Coolatta
cda0441abb Follower angle lag + lookback
- ANGLELAG lets you set how fast the followers swivel around. Default is 8*FRACUNIT, old behavior can be returned with FRACUNIT.
- Followers reverse their angle when you hold the lookback button.
- All lag values can't go below FRACUNIT instead of 1.
2022-05-23 00:36:03 -04:00
Sally Coolatta
b5334e6b42 Move follower code to its own file 2022-05-23 00:23:46 -04:00
James R
a12c88c5e2 Strip items after stealing with Hyudoro 2022-05-22 19:20:27 -07:00
Sally Coolatta
800dcc6302 Revert "Some asserts in hyu code"
This reverts commit 0ce466e7ef.
2022-05-22 22:02:31 -04:00
Sally Coolatta
61d61dcf25 Revert "EVEN MORE"
This reverts commit 5ef78cbc16.
2022-05-22 22:02:21 -04:00
Sally Coolatta
098304bd99 Allow hyu thru tripwire 2022-05-22 22:00:54 -04:00
Sally Coolatta
5ef78cbc16 EVEN MORE
(also removed the define replacements since didn't work)
2022-05-22 21:41:40 -04:00
Sally Coolatta
0ce466e7ef Some asserts in hyu code
Instead of letting it crash due to a NULL subsector later, let it crash earlier so I can see what is happening...
2022-05-22 21:34:24 -04:00
Sally Coolatta
c8718b25ff REMOVE hyubgone + all of the other bullshit we did to try and make it show up less 2022-05-22 21:17:14 -04:00
Sally Coolatta
543928b5bb Adjust Hyuu frequency 2022-05-22 21:04:52 -04:00
Sally Coolatta
fa8dab86c2 Merge branch 'master' into hyu 2022-05-22 20:27:37 -04:00
Sally Coolatta
644b9e1acd Merge branch 'master' into hyu 2022-05-22 20:27:14 -04:00
Sal
14053a55cd Merge branch 'tilttrack-absolution' into 'master'
Fix HUD tracking with viewrollangle

See merge request KartKrew/Kart!593
2022-05-23 00:25:34 +00:00
Sal
e492a04976 Merge branch 'lookback-snapback' into 'master'
Fix lookback interpolating

See merge request KartKrew/Kart!596
2022-05-23 00:19:50 +00:00