One-button strafing and alt-strafing at the same time stack

Issue #189 new
Christopher D created an issue

By "stack" I mean both work at once, making the player walk at great speeds.

Comments (2)

  1. Braden Obrzut

    Checked how vanilla's input worked:

    • Strafe and forward are capped at +/- 100 per tic.
    • Strafe and forward at 35 or 70 based on bt_run (backwards thrust is cut by 2/3, the axis value is not changed)
    • Mouse is the only analog input device in vanilla and could in theory produce a <100,100> vector.
    • Joystick is treated as digital, there is an analog mode that can be activated through config hacking but it seems mostly broken. Only in the analog case can the joystick give <100,100>
    • Keyboard, mouse, and joystick stack.

    So given that multiple input devices stack I don't really see anything wrong with the SR-50 behavior in ECWolf since vanilla didn't have dedicated strafe controls. However it does appear I should adjust joystick handling to range from -70-70 instead of -100-100. However there's no easy way for me to do this without removing the uncapped turn feature right now. I should revisit this after fixing up the input code and if it's still a hard problem will probably leave it as is. Will also reconsider SR-50 then.

  2. Log in to comment