Adds manually operated brakes to each car. Supports VR, mouse interaction, and keyboard controls. Integrated with the Heads-up Display and Air Brake mods.
Requirements
This mod does not have any known dependencies other than the base game.
Other user's assetsThis author has not specified whether they have used assets from other authors or not
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 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.4.1
Increase distance for handbrake wheels to be rendered.
Add marker to more clearly show handbrake wheel position.
Possible fix for newly spawned hand brake wheels oscillating between 0% and 100%.
Version 0.4.0
Add support for Custom Car Loader. Car authors will need to add support and release new versions of their cars to tell Hand Brake where a wheel should be placed.
Version 0.3.7
Fix missing handbrake wheels on passenger cars.
Version 0.3.6
Move handbrake wheel to the side of the gondola cars.
Reduce FPS impact by hiding handbrake wheels on distant cars.
Add message on first run reminding the player that brakes must be set before turning in jobs.
Version 0.3.5
Update for Derail Valley r92.
Version 0.3.4
Only a certain ratio of cars in each spawned cut will have handbrakes set, adjustable via a setting. These cars will always be together at one end of the cut.
Fix jobs sometimes being completable without handbrakes being set on some cuts.
Prevent keyboard shortcut for set/release all handbrakes from working while train is in motion.
Fix position of handbrake wheels in passenger cars.
Version 0.3.3
Add option to change how many hand brakes must be set to consider a job complete.
Version 0.3.2
Fix wheel placement when using Sliced Passenger Cars.
Version 0.3.1
Add optional feature to require handbrakes be set on all cars before a job is considered complete.
Adjust handbrake wheel to only start engaging after being rotated halfway.
Add handbrake wheels to passenger cars.
Version 0.3.0
Add physical handbrake wheels, usable in VR and non-VR.
Fix unreliable application of handbrakes on newly-spawned cars.
Version 0.2.2
Fix errors in log during car spawning.
Version 0.2.1
Remove separate handbrake from steam tender.
Improve setting the initial handbrake position on newly spawned cars.
Version 0.2.0
Add shortcut to set or release the handbrake on all cars in a train.
Turn the wheel to set/release handbrakes, or jump on a car, and use the keyboard controls for locomotive Independent Brake (F7 / K to release, F8 / L to apply). If the train is stationary, you can combine these keys with Shift to set or release the handbrake on all cars in the same train as the current car.
If the Air Brake mod is installed, trains will have some of the hand brakes set when they spawn, to prevent the trains from rolling away. The cars with hand brakes set will always be grouped together at one end of the train. You can change what proportion of the train will have hand brakes set in the mod settings. By default this is 10% of the train, rounded, so expect 1 or 2 cars to have hand brakes set. Be sure to release them before moving the train.
Similarly, before turning in a job you are required to set hand brakes on some of the cars in a cut. The proportion required is always adjustable via the mod settings, with the same 10% default. You can change this setting to 0% to disable this requirement.
I recommend using the Heads-up Display mod to know which cars have their manual brakes set.
Custom Car Loader Integration
If you are creating cars for Custom Car Loader, you can create a transform named [DvMod.HandBrake] at the root of your car prefab, as a sibling to the [colliders] transform. When Hand Brake is loaded, any meshes and/or colliders under this transform will be hidden, and a handbrake wheel will be placed in this location instead.
DO NOT REPORT BUGS TO THE GAME DEVELOPERS IF YOU ARE RUNNING MODS.