Does anyone know how to set up a parking brake warning light for ats/ ets2? Curious to what the binding needs to be
Decided to register here just to answer this question 🙂 .
When you mention this light, are we talking about Dash Studio or a real life dashboard? The property remains the same obviously, but the way we treat it does not.
If it is about Dash Studio (which I think it is given it's in Dashboard Templates"so, you will want to use the following property:
[DataCorePlugin.GameRawData.TruckValues.CurrentValues.MotorValues.BrakeValues.ParkingBrake]
You can put this code in the visibility part of Dash Studio, where a logical True will make it visible.
There is also a way to make the distinguished icon barely visible, as if looking at the cutout for this icon like sometimes happens in real life when the light hits the cluster plate in a particular fashion.
nice post