Closed ohlidalp closed 2 years ago
I found the culprit: 9421c6843c10973c835e2e44de730f6f5919405d
Apparently, I was (once again) careless when maintaining the truck file format (just this time not the parser but the spawner). There was a nicely commented "quirk" snippet https://github.com/RigsOfRods/rigs-of-rods/commit/9421c6843c10973c835e2e44de730f6f5919405d#diff-f4be9d8504e97f595a60f43768208d63f3c0b62dc8565f08a65df80720ff8d37L3696-L3704 that I tried to implement more elegantly https://github.com/RigsOfRods/rigs-of-rods/commit/9421c6843c10973c835e2e44de730f6f5919405d#diff-f4be9d8504e97f595a60f43768208d63f3c0b62dc8565f08a65df80720ff8d37R3691-R3695 but I introduced a bug: it would break as soon as another flag, for example 'r', was added.
Kudos to DannyWerewolf on Discord for finding and reporting!
The problem:
hydros
flagr
(rudder input) also works for land vehicles and, quote: On current release, with "r" is exactly how it should be, and about how fast the trucks have always steered with default sensitivity on controller.r
flag is present, the hydro doesn't respond to keyboard at all.Next steps: I'm going to investigate what hapenned and later document this "trick" because I like when players get creative with the software and find edge cases. I'm also keen to maintain backwards compatibility.
Discuss on the forum: https://forum.rigsofrods.org/threads/hydro-r-flag.3709/