Summary
The airbrakes controller is used to control the sound events on vehicle using pneumatic brakes, like buses and semi-trucks.
It plays a sound when the brakes are released, adjusting the intensity based on how much the brakes are released.
File Info
Filename | airbrakes.lua |
Path | /lua/vehicle/controller/airbrakes.lua |
Type | Auxiliary |
Usage type | Multiple (Not useful) |
JBeam Properties
string
type
event:>Vehicle>Pneumatics>Air_Brakes
default
The sound event that will be played when releasing the brakes
string
type
brake
default
The name of the electrics that will trigger the sound.
Example Usage
"controller": [
["fileName"],
["airbrakes", {"soundNode:": ["fm2l"]}],
],