Commit graph

527 commits

Author SHA1 Message Date
Jaime Passos
d7cb14d38e Gametype rules draft, mind the debug command 2019-12-18 01:25:57 -03:00
fickleheart
eb4458ffd4 Fix RVZ autocam AGAIN 2019-12-15 13:33:21 -06:00
Sryder
b4e8f71acb Port the deadzone cvar stuff from kart.
Add menu items for deadzone.
2019-12-15 15:36:13 +00:00
Sryder
a026bfd24c Use Scaled Radial Deadzones, instead of Axial deadzones.
Additionally fixes some weird padscale 0 stuff that was flipped.
This does have gameplay implications in both NiGHTS and regular gameplay. Notably you won't feel like you're locked into up/down left/right when you want to turn, but this can make running perfectly straight a little bit more tricky.
2019-12-15 14:37:30 +00:00
fickleheart
17c3ef073e Add analog deadzone option separate from digital deadzones 2019-12-14 19:41:54 -06:00
fickleheart
35f6bc5093 [POTENTIALLY RISKY] Show target arrow above lock-on target
My judgement on "is this netgame-safe" is "Gunslinger's
targeting spawns this only for the local player, so maybe".
2019-12-14 19:21:11 -06:00
fickleheart
603d52a723 Allow setting center view to a toggle 2019-12-14 19:17:41 -06:00
fickleheart
b7ca887bfb Fix turn-to-input jerk when braking sideways 2019-12-14 19:04:29 -06:00
fickleheart
52c15bba64 Double sensitivity and halve default of turn to input 2019-12-13 22:55:34 -06:00
fickleheart
d8de46f83b Scale angle-related camera turns by player speed
They also operate at full when idle, too.
2019-12-13 22:30:04 -06:00
fickleheart
c7f78ea59a Even MORE tta changes:
- All automatic turning is suspended upon manual rotation
- Dest angle uses drawangle again for rolling only
2019-12-13 20:30:56 -06:00
fickleheart
4bad041a36 More turn-to-angle changes 2019-12-13 20:19:38 -06:00
fickleheart
b0a63f7d9b Don't turn-to-ability while climbing 2019-12-13 19:49:56 -06:00
fickleheart
01daa92fba Patch slight camera turn when airbraking 2019-12-13 19:37:01 -06:00
fickleheart
673fd5f330 LMAO right stick checking used the wrong value 2019-12-13 17:35:48 -06:00
fickleheart
60713fc87f Suspend turn-to-angle when rotating the camera 2019-12-13 00:52:48 -06:00
fickleheart
fdbb1bc20d Adjust how turn-to-angle tweens 2019-12-13 00:34:34 -06:00
fickleheart
2dc21fa343 Allow switching lockon targets with turn buttons 2019-12-12 23:52:13 -06:00
fickleheart
4e8bf7a226 Expand options for aim assist
This will need a lot of testing to ensure each type
works properly.
2019-12-12 23:03:51 -06:00
fickleheart
edb8066e58 Don't turn strafe keys into turn when locked onto something 2019-12-12 22:13:44 -06:00
fickleheart
4cc0bb4746 Add boss target assist and finally organize camera options 2019-12-12 00:48:15 -06:00
fickleheart
3144d9123f Fix input turning still happening with centered view 2019-12-11 22:47:09 -06:00
fickleheart
2e459f2eae Make locked input turn act the same as normal turning 2019-12-11 21:34:32 -06:00
fickleheart
c24676da5e Fix the console spam issue AGAIN 2019-12-11 21:20:07 -06:00
fickleheart
0ab83319a5 Move Z-targeting behavior to Center View 2019-12-11 21:09:23 -06:00
Jaime Passos
aa4e3384bb Merge remote-tracking branch 'origin/master' into wipes2 2019-12-11 12:57:59 -03:00
fickleheart
0a480f1df6 Fix RVZ camera stuff 2019-12-11 01:26:43 -06:00
fickleheart
f886eb3a3c Add option to always turn with input while locked
Uhhh also camera options scrolls now.
2019-12-10 22:01:17 -06:00
fickleheart
4425c58e0f Turn camera with strafe keys in camlock while charging spindash 2019-12-10 21:34:57 -06:00
fickleheart
46e3b6799f Change defaults and factors of simplecam options 2019-12-10 21:24:43 -06:00
fickleheart
2ecf0f97bc Make input turn speed tween by lateral momentum, not total 2019-12-10 21:14:50 -06:00
fickleheart
6e7e75ba45 TODO 2019-12-10 09:08:30 -06:00
fickleheart
80cbcbd77d Don't flood directionchar commands!!! 2019-12-10 08:17:41 -06:00
fickleheart
8ce189dcba Give spindash turn a separate slider 2019-12-10 08:07:41 -06:00
fickleheart
7f23ae547f Suspend directionchar while holding cam reset
This should make it completely clear that thok will face
the camera while it's held.
2019-12-10 07:58:50 -06:00
fickleheart
d43b34c477 Disable all new camera behavior if playstyle is not Simple 2019-12-09 22:09:58 -06:00
fickleheart
26ab979bdb Port deadzone configuration from Kart
I don't feel like getting out my gamepad, so I'll trust
that this works.
2019-12-09 20:39:05 -06:00
fickleheart
7456afa8a4 Fix smoothing into input-based camera rotation 2019-12-09 20:31:19 -06:00
fickleheart
8beca250df Scale down turn values (and increase defaults to compensate)
This allows more granularity in menu sliders while limiting the
maximums to reasonable amounts.
2019-12-09 20:26:12 -06:00
fickleheart
8d66e90810 Lock camera behind player when holding cam reset
This also disables abilitydirection movement temporarily.
2019-12-09 20:21:32 -06:00
James R
7553046a52 Cvar and menu option to let user increase turn speed
cam_turnmultiplier and cam2_turnmultiplier.

"Camera Speed" has been renamed to "Camera Spacial Speed" in the menu. "Camera
Turning Speed" is now an option.
2019-12-09 16:30:03 -08:00
fickleheart
5da76f8802 Fix abilitydirection camera breaking minecarts 2019-12-08 20:47:11 -06:00
fickleheart
9b4792c1bf Make input turn slow down when moving slowly 2019-12-08 18:26:20 -06:00
fickleheart
95d0d26a42 Default to no turn-facing since it looks like controller drift 2019-12-08 15:54:37 -06:00
fickleheart
eaef39c974 Shift camera sideways toward player angle 2019-12-08 15:54:16 -06:00
fickleheart
5520262799 Make cam_rotspeed affect non-mouse turn speed
10 remains the default and is vanilla behavior.
2019-12-08 15:17:46 -06:00
fickleheart
7d594e0b61 Make first-person and directionchar-off work as expected 2019-12-08 15:05:44 -06:00
fickleheart
98b6fc3adf Automatically rotate camera to reflect player actions 2019-12-08 14:35:50 -06:00
fickleheart
4f71096ba5 Add cvar to use abilities in input direction 2019-12-08 14:17:48 -06:00
fickleheart
4c41bc1478 Consolidate G_BuildTiccmd 2019-12-08 13:27:11 -06:00