RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
990 stars 175 forks source link

Add input sources for cruise control for the dashboard system #3113

Open MarkROR opened 6 months ago

MarkROR commented 6 months ago

RoR has a cruise control feature - toggled on/off with the spacebar. However, there is no way of knowing if you have successfully activated it (some vehicles won't let you activate it, unless you've reached a certain speed) or if you've accidentally disabled it by e.g. braking slightly.

Having a visual indicator (a dashboard light) would be very helpful, I think.

We could provide an input source for making this possible in the future: cruisecontrol or cruisecontrol_active true if cruise control is on

While we're here, we could also provide the value it has been set to: cruisecontrol_kph cruise control set speed value, in kilometers per hour cruisecontrol_mph cruise control set speed value, in miles per hour These two would be useful, because they'd show you the set value instantly while you're adjusting the set speed with CTRL+R/CTRL+F

ohlidalp commented 5 months ago

Hi, you're right, those are missing. I'll go for cruisecontrol_active and the rest.

Also it looks like the dash system still lives in the past regarding to lights. So I'll also add lowbeams, highbeams, foglights etc... Also userlights_N for 'u' type flares.

MarkROR commented 5 months ago

Awesome 👍

I believe the input sources/links you mentioned are already present, but named as sidelights, headlights, highbeams, foglights and custom_lightX where X is the number of the user-controlled flare New vehicle light types and controls

Unless I am misunderstanding something

ohlidalp commented 4 months ago

Right, memory failed me again. Docs need to update.

Also consider difflock and xWD https://discord.com/channels/136544456244461568/189904947649708032/1205431235392970832

Also to be considered: glowplugs https://discord.com/channels/136544456244461568/189904947649708032/1205514849166172160