[Release] Realistic Vehicle Failure

New version released

Version 0.6 adds the “Sunday Driver” feature.

While I realize that this feature isn’t very related to damage and failure, I decided to include it anyway, since releasing it as a separate script would create a conflict between the two scripts. I still plan to release it separately later.

So, what is it?

It enables very smooth acceleration and braking, and also makes it much easier to drive at a steady pace at lower speeds.
The smooth acceleration is achieved by manipulating the engine torque multiplier relative to the throttle position.
(For controllers, has no effect when using keyboard)

Smooth braking is achieved by manipulation the brake force handling line relative to the brake pressure.
(For controllers, has no effect when using keyboard)

You can still accelerate at full speed and brake at full force by pressing the triggers all the way.

On top of that it also disables the reversing when the vehicle comes to a stop and also eliminates the reversing lights coming on when stopping. To brake and then reverse, you need to release the brake completely first.

When the vehicle comes to a complete stop keep on braking to hold the vehicle with the brake lights on. Release the brake to turn off the brake lights.

Why?

It looks so much better if you are able to accelerate, brake and drive smoothly. Just try keeping a steady 35 mph in the city without this script. Nearly impossible. With this script it’s a lot easier. Try it and compare.

The brake-light mods I have seen keeps the brake lights on at all time when the vehicle is not moving. That’s a problem if you’re trying for example to escape the police by turning off your lights and hiding behind a bush.

If you attempt to mimic AI you will often give yourself away when the reversing lights flash briefly when coming to a stop. Not so anymore.

.

Hope this makes sense. If not, changing “sundayDriver = true” to “sundayDriver = false” in config.lua will disable this feature.

Get it at GitHub using the link in the original post. Let me know if you find any problems or have other suggestions.

Enjoy!

2 Likes