Author Topic: Keybind to toggle strafe steering OR toggle it when using free look  (Read 1194 times)

When I change the preference alone it freaks out and doesn't know what I'm doing

Port tells me there's some kind of server command, the server has to know that I've changed the preference

but I can't figure out how to make it understand

port isn't telling me the secret knowledge


https://forum.blockland.us/index.php?topic=233893.0

he made a little script years ago that I used for years but then my hard drive failed and it is lost to me

hmm do a tiny trace to see what ur client sends to the server when you toggle the option

Code: [Select]
if($Pref::Input::UseStrafeSteering)
$Pref::Input::UseStrafeSteering = 0;
else
$Pref::Input::UseStrafeSteering = 1;

ServerConnection.transmitSteeringPrefs();
this is what i use

hmm do a tiny trace to see what ur client sends to the server when you toggle the option

that's what I tried first. it never showed up.

Code: [Select]
if($Pref::Input::UseStrafeSteering)
$Pref::Input::UseStrafeSteering = 0;
else
$Pref::Input::UseStrafeSteering = 1;

ServerConnection.transmitSteeringPrefs();
this is what i use
you've saved me.

putting this on a keybind makes it much more enjoyable to test strafe steering so I can stop releasing vehicles that feel like garbage to people who drive with the keyboard


to be clear, port wasn't withholding information on purpose, we just couldn't recall the command. we were looking through serverCmd*, etc.
I find it somewhat annoying that trace(1) doesn't show ServerConnection stuff. though, that might make the log significantly more ridiculous in size.