Open DarkNH3 opened 2 years ago
Hello.
I looked into the codebase and it turns out we do have both of those implemented. I can't tell how well it works though.
Our gears are defined by a static RPM ratios: https://docs.rigsofrods.org/vehicle-creation/fileformat-truck/#engine. The shift up/down thresholds are automatically deduced, and the game keeps a history of RPMs, braking and accelerations to deduce upshift/kickdown at a right time, but I can't describe in detail right now. Also, the engine logic was written with trucks in mind, not light cars, which is probably what you're interested in.
I'll get back to this later.
I've noticed that RoR lacks behaviors that I think would make the automatic transmission much more realistic. Two main things it's missing: kickdown (maybe RoR already does this? I'm not completely sure) and early shifting when not going full throttle. I suggest that early shifting be implemented and still use the upshift RPM defined in the truck file when using full throttle.