NOS Module

Provides temporary power boost by injecting nitrous oxide into the engine. Simulates a finite NOS bottle with limited capacity that depletes during use.
Key Features
- Power Boost: Multiplies engine power output (default 2x) when active
- Finite Resource: Bottle capacity and flow rate determine boost duration
- Safety Lockouts: Optional restrictions for reverse gear and off-throttle conditions
- Audio/Visual Effects: Increases engine volume, exhaust smoke, and triggers exhaust flash
Main Properties
| Property | Description |
|---|---|
capacity |
Maximum NOS bottle capacity in kg (default: 2 kg) |
charge |
Current remaining NOS in kg. Set equal to capacity to refill |
flow |
Consumption rate in kg/s (default: 0.1 kg/s). Duration = capacity / flow |
powerCoefficient |
Engine power multiplier when active (1-5, default: 2.0) |
exhaustEmissionCoefficient |
Exhaust smoke multiplier (1-3, default: 2.0) |
engineVolumeCoefficient |
Engine sound volume multiplier (1-3, default: 1.5) |
disableOffThrottle |
Prevents NOS when throttle < 50% (default: true) |
disableInReverse |
Prevents NOS in reverse gear (default: true) |
Usage
NOS activates when:
- Module is enabled
vehicleController.input.Boostis activecharge > 0- Throttle > 50% (if
disableOffThrottleis true) - Not in reverse gear (if
disableInReverseis true)
Check IsUsingNOS property to determine current activation state.