RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
4WD / Transfer Case ControllerAdvanced Coupler ControlAirplane Control SurfacesAxle Lift ControllerBeacon Spin ControllerBeam NavigatorBypass Dampers ControllerController TemplateControl ModesDrag TimerDrive ModesDummy ControllerElectronic Stability Control (ESC)ETK Gauges ControllerVehicle Controllers OverviewHydraulic Suspension ControllerInput/Output Demo ControllerJATO (Jet Assisted Take-Off)Lightbar ControllerLine LockLogger TemplateNitrous Oxide InjectionPlayer ControllerPneumatics System ControllerPower Steering ControllerPyrotechnic Charge ControllerSBR Gauges ControllerShift Lights ControllerTire Pressure ControlTrailer Landing Feet ControllerTwo-Step Launch ControlVivace Gauges ControllerWendover Gauges Controller

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API Referencevecontroller

Nitrous Oxide Injection

Controls nitrous oxide (NOS/N2O) injection systems that provide temporary power boosts by enriching the combustion mixture with additional oxygen. Manages bottle pressure, solenoid activation, fuel enrichment, and injection timing.

Controls nitrous oxide (NOS/N2O) injection systems that provide temporary power boosts by enriching the combustion mixture with additional oxygen. Manages bottle pressure, solenoid activation, fuel enrichment, and injection timing.


Public API

FunctionDescription
toggleActive()Toggles the system arming status. If arming, it automatically triggers a short line purge.
setOverride(active)Controls the manual override state.
updateSimpleControlButtons()Refreshes the powertrain control button with current arming and activation colors.

Hooks

HookDescription
init(jbeamData)Connects to the engine's N2O hardware and registers the radial menu and simple control buttons.
updateGFX(dt)Periodically synchronizes the UI state (button colors and tank levels) with the underlying powertrain hardware.
serialize()Handles state persistence for the system arming status.
module.reset(jbeamData)Resets the controller to its initial state.

Usage Example

-- Nitrous is typically activated via input binding
-- The controller manages bottle pressure and enrichment automatically

See Also

  • JATO — Rocket thrust augmentation
  • Anti-Lag — Turbo anti-lag system
  • Two Step Launch — Launch control

Logger Template

A template controller for data logging and telemetry recording. Demonstrates how to capture vehicle state data at regular intervals and output it for analysis. Copy this as a starting point for custom data loggers.

Player Controller

The main controller for the walking/unicycle character mode. Manages movement physics using PID-based stabilization on a ball, handles jumping, crouching, and camera-relative directional input. Provides compatibility variables for dashboard UI elements.

On this page

Public APIHooksUsage ExampleSee Also