API Referencevecontroller
Pyrotechnic Charge Controller
Controls explosive pyrotechnic charges that can detach vehicle parts or apply sudden forces. Used for effects like ejection seats, detachable body panels, or demolition simulations.
Controls explosive pyrotechnic charges that can detach vehicle parts or apply sudden forces. Used for effects like ejection seats, detachable body panels, or demolition simulations.
Public API
| Function | Description |
|---|---|
trigger() | Immediately executes the charge: plays the sound effect, breaks all listed JBeam breakgroups, and detaches specified couplers. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Sets up the detection logic for electrical triggers and identifies which mechanical parts to 'explode'. |
updateGFX(dt) | Monitors the specified electrics signals. Upon detection, it calls trigger(). |
module.reset() | Resets the controller to its initial state. |
Usage Example
-- Detonate a pyrotechnic charge
controller.getController("pyrotechnicCharge").detonate()See Also
- JATO — Rocket thrust system
Power Steering Controller
Simulates power steering assist that reduces steering effort at low speeds and increases road feel at high speeds. Manages pump pressure, assist curves, and speed-sensitive steering weight.
SBR Gauges Controller
Backend controller for the SBR-series vehicle instrument cluster. Processes vehicle telemetry into gauge-ready values for the SBR dashboard display.