The airbrakes controller can be used to add an airbrake release sound easily. By default it just needs the location of the sound specified with a node reference.

File Info

Filename airbrakes.lua
Path /lua/vehicle/controller/airbrakes.lua
Type Auxiliary
Multiple Usage Supported

Jbeam Properties

Name Default Unit Description
soundNode: Node #0 Node reference Specifies the node which the airbrake sound should be played at
soundEvent event:>Vehicle>Pneumatics>Air_Brakes FMOD Event The FMOD event to be played, volume RTCP can be used as an intensity modulation
soundCoolDown 0.5 number Minimum time between two following event triggers
electricsBrakeName brake string The electrics name the controller gets the brake value from

Example Usage

"controller": [
"airbrakes": {