NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    NOS Module

    NOSModule inspector.

    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.Boost is active
    • charge > 0
    • Throttle > 50% (if disableOffThrottle is true)
    • Not in reverse gear (if disableInReverse is true)

    Check IsUsingNOS property to determine current activation state.

    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics