Summary
The nitrous oxide injection controller is used to control a nitrous oxide
system.
File Info
|
|
Filename |
nitrousOxideInjection.lua |
Path |
/lua/vehicle/controller/nitrousOxideInjection.lua |
Type |
Auxiliary |
Usage type |
Multiple |
JBeam Properties
Multiple controllers are possible with different names, but it is not recommended. Usually multiple bottles are instead bound to the same controller.
Should match the value set-up in the nitrous powertrain element.
Should match the value set-up in the nitrous powertrain element.
Public Functions
Function name
setOverride
Description
Activates the nitrous override
Function name
toggleActive
Description
Arms or disarms the system, and runs the nitrous purge when arming.
Description
Sends a package of settings that should stay as-is when reloading physics.
Function name
deserialize
Description
Receives the package of settings that was previously serialized after reloading physics and reapplies them.
Example Usage
"controller": [
["fileName"],
["nitrousOxideInjection", {}],
],