Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 0.7.1
Added support for Unity Mod Manager.
Cruise control no longer tries to shift gears on trains with no shifter.
Added experimental DM3 support.
Fixed a bug where cruise control became confused during rapid acceleration. This could occur in a DE2 without cars attached.
Updated German localization.
Version 0.6.0
Restored support for DH4 after 2023-07-15 game patch.
Cruise control considers it safe to reverse if speed is less than .01 km/h instead of 0 km/h.
Overdrive is now active when acceleration is less than .05 m/s^2 instead of 0.
Cruise control adjusts the throttle less frequently.
Cruise control may throttle up if temperature is less than 90% of `MaxTemperature`.
Cruise control reduces throttle gradually if it's above `MaxTemperature` and acceleration is above 0.1 m/s^2.
Cruise control won't try to accelerate faster than 0.25 m/s^2 to reduce chance of wheel slip.
Modified the acceleration calculation to hopefully be more accurate.
Various internal code refactoring.
Updated German localization.
Version 0.5.0
Added German localization
The setting `MinBrake` can be used to prevent the brakes from completely disengaging during deceleration
The setting `BrakeReleaseFactor` controls how quickly the brakes will be released
Donations
No donations accepted
Driver Assist for Derail Valley
The Driver Assist mod adds cruise control to Derail Valley. It is compatible with Simulator.
Features
Controls the throttle and train brake to keep speed near the desired setpoint. The DE2, DE6, DH4, DM3 are supported.
If the setpoint is negative the train stops and reverses. Useful for shunting.
Coasts to reduce fuel consumption.
Monitors heat and backs off throttle to avoid overheating.
Monitors acceleration and backs off throttle to reduce the chance of wheel spin. Sand may still be required in certain conditions, such as wet rails or an uphill start.
Cruise control shifts gears automatically on the DM3. There's also key binds for manual shifting.
Localized in English and German. Feel free to submit a translation for your native language.
Important
This mod requires Unity Mod Manager. BepInEx is no longer supported. Please refer to the documentation for installation instructions.
Documentation
The full documentation and source code is available on GitHub. Sorry for the extra click, but I didn't feel like maintaining this readme in two places!
Discord Community
Please join the Discord server if you have feedback on the mod or would like to help test new features.