Page MenuHomeFeedback Tracker

Small disableBrakes issues
New, NormalPublic

Description

The new disableBrakes command is super neat. However, in playing around with it I've noticed a couple of minor things that don't break it, but would be nice to see tweaked.

  • The handbrake doesn't count as braking.
  • If you're reversing, pressing forward doesn't count as braking, only pressing backward - bit awkward if you want to stop reversing and turn on the autobrakes.
  • The vehicle's brake lights illuminate at low speed and when stopped, even though it's not actually braking.
  • If the autobrakes are disabled while a vehicle is currently autobraked, the autobrakes don't actually release until a force is applied. This is noticeable when parked on steep hills - the vehicle doesn't start to roll down the hill unless you give it a push or tap the accelerator.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Demo mission attached. The vehicles in this mission have been equipped with an addAction, available from the driver's seat, which disables the brakes. Try rolling them at low speed, in reverse, hitting the handbrake, and parking on hills. The addAction is only available when the brakes are enabled, so you can easily tell when they're on and off.

(The mission also has a tow system included that lets you disable brakes on vehicles you're towing. You don't need to interact with it to demonstrate these issues, but I left it in since it was there and it doesn't interfere.)

Event Timeline

NikkoJT created this task.Mar 9 2022, 2:12 AM
This comment was removed by dedmen.
dedmen added a subscriber: dedmen.Mar 9 2022, 10:14 AM

the autobrakes are disabled while a vehicle is currently autobraked, the autobrakes don't actually release until a force is applied. This is noticeable when parked on steep hills - the vehicle doesn't start to roll down the hill unless you give it a push or tap the accelerator.

I tried to solve that for towing, twice actually and failed both times.