21 Commits

Author SHA1 Message Date
Aaron Suen
b73cf80807 Update copyright date 2023-11-28 19:02:27 -05:00
Aaron Suen
9ea83dac4a Only do 90-to-90 and 90-to-45 turns in 90 mode
If the player is traveling at 45 degrees, there will be
a different set of turn checks to run.
2023-11-28 18:26:56 -05:00
Aaron Suen
468d5076aa Allow 45 degree "throw" turns
If the player is on a 90 degree cardinal, and they hit a
turn but the blocking wall is "incomplete", then turn
only 45 degrees instead; using a longer wall will guide
the player into the full 90 degree turn.

Note that we will still need a 45 degree "catch" turn, to
turn a player running at 45 degrees back into a 90 degree
moving player.
2023-11-28 18:17:15 -05:00
Aaron Suen
e9b0d28726 Basic 90 degree turns work again 2023-11-28 18:14:13 -05:00
Aaron Suen
8da3607630 Tweak a few constants 2023-11-28 17:37:12 -05:00
Aaron Suen
b0b16b62e4 Start of new autotrek system
- Use HUDs that a player must look directly at to trigger
  so there is no more accidental automatic triggering.
- Support 8 directions instead of just 4.
- Use add_velocity ("force") to move player back onto grid
  alignment instead of resetting player position, to reduce
  the amount of rubberbanding.

TODO:

- Reinstate 90 degree turns
- Add a new 45 degree turn mechanism
2023-11-28 17:34:01 -05:00
Aaron Suen
6ddcb059c5 Support all games 2023-06-20 06:22:44 -04:00
Aaron Suen
f249002718 Set CDB dev state 2021-12-26 13:48:42 -05:00
Aaron Suen
0b235e7437 More CDB metadata fixes 2021-03-05 08:38:40 -05:00
Aaron Suen
2e2ebe8d2b Add now-required mod.conf 2021-03-01 19:56:32 -05:00
Aaron Suen
250e7ebfff Fix tag names 2021-02-27 19:41:59 -05:00
Aaron Suen
0aefc5458a Need to have a JCDB JSON... 2021-02-27 19:39:44 -05:00
Aaron Suen
7a5997e751 Updated CDB field names 2021-02-27 18:46:16 -05:00
Aaron Suen
4d52e5ef85 Metadata updates for CDB release 2020-07-17 06:10:03 -04:00
Aaron Suen
b07a9d2aa0 CDB Metadata. 2020-03-27 18:35:24 -04:00
Aaron Suen
bd7794dfb5 Fix for 5.1+.
5.1+ is now setting the forward control as well when
auto-forwarding.  The button is optional now, to support
both 5.0 and 5.1.

Note that this means auto-trekking happens when moving
forward manually too now, but since it seems unlikely that
most players would be keeping the look direction constant
when not intending to auto-travel, this should be fine...?
2019-10-16 23:25:52 -04:00
Aaron Suen
516090bb91 Deprecated function cleanup. 2019-10-05 17:48:27 -04:00
Aaron Suen
2a81417b94 Fix CDB release hook. 2019-10-03 20:21:08 -04:00
Aaron Suen
17e02ae26d Setup git attributes. 2019-10-03 20:19:12 -04:00
Aaron Suen
396dd15b61 Setup CDB. 2019-10-03 20:12:08 -04:00
Aaron Suen
952deb7662 Create new mod. 2019-10-03 20:07:52 -04:00