Skip to content

BeamNG.drive Lua API atlas 0.40.5 (buildbot 302427 on GitLab)

Version française

Generated by tim19Atlas from the game's Lua code (read-only). ✍ = written and checked description; otherwise: original signatures and comments.

Vehicle

Modules (38)

Name Functions Summary
✍ ai 47 Driving artificial intelligence of a vehicle (vehicle VM, global ai). It drives the vehicle along a road graph (mapmgr) or a trajectory sc
✍ aiDebugDraw 6 Debug drawing for the vehicle AI (spheres, cylinders, texts via obj.debugDrawProxy). Loaded by ai.lua (require 'aiDebugDraw'); ai.setVehicle
✍ backwardsCompatibility 1 Converts old vehicle data (v.data) to the current format at initialization: old drivetrain (engine/differentials) to a powertrain, hard-code
✍ bdebug 23 Lightweight facade of the vehicle's visual debug tool (nodes, beams, collision triangles, center of gravity...). As long as nobody uses it,
✍ bdebugImpl 23 Full implementation of the vehicle's visual debug tool (lazily loaded by bdebug.lua). Draws nodes, beams, torsion bars, collision triangles,
✍ beamstate 49 Physical state of the vehicle on the Lua side (vehicle VM, global beamstate). Tracks broken or deformed beams, break groups (breakGroup) a
✍ bullettime 7 Old slow-motion (bullet time) API on the vehicle side, kept for mod compatibility. It only relays to simTimeAuthority in the game engine (
✍ controller 26 Manager of the vehicle's jbeam controllers (vehicle VM, global controller). On load, it reads the controller section of the jbeam (`v.da
✍ damageTracker 9 Registry of vehicle damage states, organized by group then by name (e.g. group 'energyStorage', tank name). Each change is queued and sent t
✍ drivetrain 5 Backward compatibility layer: reproduces the old drivetrain API by reading the devices of the new powertrain system ('mainEngine' and 'g
✍ electrics 26 Table of vehicle electrical values (electrics.values) shared by all controllers, the UI and extensions, plus the logic of lights, turn sig
✍ electricsCustomValueParser 5 Compiles and runs the custom electrical values declared in the jbeam (electrics.customValues: fields electricsName, electricsFunction, elect
✍ energyStorage 13 Manager of the vehicle's energy tanks (fuel, battery, N2O, compressed air...). At init it dynamically loads each type from lua/vehicle/energ
✍ fire 13 Vehicle fire simulation. jbeam nodes that have a flashPoint become flammable nodes: each has a temperature, a chemical energy (chemEnergy)
✍ streams 12 Data streams sent to the UI (HUD apps) at high frequency. Each stream has a name (wheelInfo, engineInfo, stats, electrics, sensors, environm
✍ htmlTexture 3 Helper to display a web page (HTML/JS) on a vehicle texture (dashboard screen, display). create or new creates a web view (obj:createWeb
✍ hydros 18 Manages jbeam hydros (beams/torsion bars driven by an input: steering, dump beds, cranes, etc.) and steering wheel force feedback (FFB). At
✍ input 12 Reception and filtering of the vehicle's driving inputs (steering, throttle, brake, parking brake, clutch, and any vehicle-specific input).
✍ v 1 Second step of vehicle loading, on the vehicle VM side: takes the jbeam data already assembled by the game (stage 1, in the game VM) and "pu
✍ main 0 Entry point of a vehicle's Lua VM: it is the first script run. It configures LuaJIT and package.path, loads the common utilities, creates th
✍ mapmgr 17 Bridge between the vehicle and the game's road map (navgraph). It receives the map from the game Lua (GE) through a mailbox, decodes it into
✍ material 5 Handles the dynamic change of vehicle materials (lights, headlights, luminous dials, broken body). At init the jbeam compiles a table v.data
✍ motionSim 0 Obsolete file kept for compatibility: require('motionSim') only logs an error (points to https://go.beamng.com/protocols, the telemetry/moti
✍ network 0 Empty file in 0.40.5 (only the license header, no code). A require('network') therefore does not return a table (returns true per the requir
✍ partCondition 16 Vehicle part wear and condition system (mileage, integrity/damage, visual state including aged paint). It discovers which parts contain what
✍ particlefilter 1 Particle emission filter for node collisions. main.lua fills the shared table particlefilter.particleData at each onNodeCollision then calls
✍ powertrain 39 Manager of the vehicle's powertrain: at init it reads the powertrain section of the jbeam (v.data.powertrain), creates each device via the
✍ props 4 Drives the vehicle's animated props (jbeam "props" section: needles, steering wheel, articulated parts, prop lights). Every frame, each prop
✍ protocols 6 Manager of the vehicle's UDP telemetry protocols (OutGauge for external dashboards, MotionSim for motion platforms). At init, it loads each
✍ protocols_motionSim 8 UDP "MotionSim" protocol (format 'BNG1') to drive a motion platform: sends position, speed, acceleration (without gravity), up vector, angle
✍ protocols_outgauge 8 UDP OutGauge protocol (Live For Speed compatible): sends speed, RPM, gear, turbo pressure, temperatures, fuel, pedal inputs and warning ligh
✍ recovery 15 Vehicle recovery system ("recover" key). While driving, records a history of positions/orientations every 0.2 s (up to 700 points, a point a
✍ scriptai 12 "Script" AI: records the vehicle trajectory (front bumper position + time, optionally speed) then replays it by driving the vehicle with sim
✍ sensors 3 Exposes the accelerations measured at the vehicle's reference node (gx, gy, gz) as well as their smoothed version (gx2, gy2, gz2). The raw v
✍ sounds 21 Vehicle sounds other than the engine: tire rolling and skidding noises (depending on the ground material: asphalt, dirt, gravel, grass, ice.
✍ thrusters 8 Applies thrust to the vehicle: jbeam thrusters ('thrusters' section, driven by an electrics value or in 'auto' mode which produces a thrust
✍ ve_utils 4 Global utilities specific to the vehicle VM, loaded by require("ve_utils"): high-precision timer, conversion of header-style jbeam tables to
✍ wheels 21 Manages all the vehicle's wheels on the Lua side: table of wheels (wheels), of rotors (rotators) and of both together (wheelRotators), readi

Controllers (113)

Name Functions Summary
✍ controller_4wd 10 Auxiliary controller that gives the driver control of the selectable 4WD: 4WD shaft (connected/disconnected), range box (high/low) and diffe
✍ controller_advancedCouplerControl 16 Auxiliary controller that drives a group of local latches (doors, hatches, tailgates, latches) made of node pairs of the same vehicle, via `
✍ controller_airplaneSurfaces 4 Auxiliary controller for airplanes: combines the pilot's inputs (rudder, ailerons, elevator) with the trims, and handles flaps and slats. It
✍ controller_axleLift 8 Auxiliary controller that raises or lowers axles (typically a truck's liftable axles) to gain ground clearance. It writes a target position
✍ controller_beaconSpin 2 Minimal auxiliary controller that animates the rotating elements of a light bar: as long as electrics.values.lightbar is greater than 0, i
✍ controller_beamNavigator 2 Auxiliary controller that displays a live navigation map on a vehicle screen. It creates an HTML texture (htmlTexture module) on a screen
✍ controller_braking_adaptiveBrakeLights 4 Auxiliary controller that computes the brake light value (electrics.values.brakelights by default) beyond the simple brake pedal: blinking
✍ controller_braking_brakedDifferentialSteering 4 Auxiliary differential-braking steering controller (tracked machines or skid-steer): depending on the steering wheel input steering_input,
✍ controller_braking_compressionBrake 9 Auxiliary compression engine brake controller (truck "Jake brake"). It maintains a coefficient from 0 to 1 and preset levels, passes `setCom
✍ controller_braking_hydraulicPumpBrake 10 Auxiliary controller for hydraulic braking powered by the engine's pump (heavy or old vehicles). The front and rear brakes (brakeF, `brake
✍ controller_braking_postCrashBrake 4 Auxiliary controller for automatic braking after a crash. A state machine (idle, braking, holding, disabled) detects a strong acceleration (
✍ controller_braking_retarderControl 8 Auxiliary controller that commands a powertrain retarder. An ordered list of settings (optional auto, off, then manual levels) determines th
✍ controller_braking_transbrake 6 Auxiliary transbrake controller (drag racing gearbox brake): it locks the gearbox via gearbox:setLock(value). The lock is active when `gea
✍ controller_bypassDampers 6 Auxiliary controller for bypass-channel shock absorbers (bypass shocks, off-road/Trophy truck type): a beam's damping changes depending on i
✍ controller_controlModes 7 Auxiliary controller that remaps the driver's inputs (steering, throttle, brake, or combined throttle-brake) to custom electrics.values va
✍ controller_controllerTemplate 3 Starter template for writing a vehicle controller. A controller is a Lua module placed in lua/vehicle/controller/, declared in the jbeam (`c
✍ controller_couplings_containerLockFollow 9 "Follower" side of the container locking system (twist-locks): placed on the receiving vehicle (for example the container), it responds to t
✍ controller_couplings_containerLockLead 11 "Leader" side of the container locking system (twist-locks): placed on the vehicle carrying the locks (crane, gantry, container chassis). Fo
✍ controller_couplings_fifthwheel 12 Auxiliary fifth wheel controller of the tractor: among the colliding vehicles, it looks for compatible kingpins by requesting their data fro
✍ controller_couplings_kingpin 4 Auxiliary kingpin controller of a semi-trailer. It only answers the tractor's couplings/fifthwheel controller: if the fifth wheel's key ma
✍ controller_dragTimer 3 Auxiliary drag (acceleration) timing controller. State machine ready, countdown, measuring, done: when the transbrake is active and the thro
✍ controller_driveModes 16 Auxiliary drive modes controller (Eco, Sport, Snow, etc., or differential/range modes for a 4x4). Each mode is a set of typed settings appli
✍ controller_drivingDynamics_CMU 24 CMU (driving dynamics management center, Driving Dynamics Suite): controller that orchestrates the sub-controllers of the drivingDynamics/
✍ controller_drivingDynamics_actuators_activeCenterDiffLock 13 Driving Dynamics Suite actuator: active locking of the center differential (electronically controlled clutch). At each intermediate physics
✍ controller_drivingDynamics_actuators_activeDiffBias 13 Driving Dynamics Suite actuator: active torque split between the two outputs of a differential (torque vectoring). It compares the left and
✍ controller_drivingDynamics_actuators_activeDiffLock 13 Driving Dynamics Suite actuator: active locking of an axle differential. At 100 Hz (updateFixedStep) it compares the speeds of the two outpu
✍ controller_drivingDynamics_actuators_adaptiveDampers 10 Driving Dynamics Suite actuator: variable-damping dampers. It groups damper beams (by name) and, according to a named mode (Comfort, Sport..
✍ controller_drivingDynamics_actuators_adaptiveTorsionBars 10 Driving Dynamics Suite actuator: variable-stiffness torsion bars (anti-roll). It groups torsion bars by name and, according to a named mode,
✍ controller_drivingDynamics_actuators_electronicDiffLock 13 Driving Dynamics Suite actuator: electronic brake-based locking differential (EDL, "brake-based": the slipping wheel is braked to transfer t
✍ controller_drivingDynamics_actuators_electronicSplitShaftLock 13 Driving Dynamics Suite actuator: electronic locking of a split shaft (Haldex-type transfer clutch). At each intermediate physics step, it co
✍ controller_drivingDynamics_sensors_sensorHub 8 Central sensor of the Driving Dynamics Suite: at each physics step it reads the angular velocities (roll, pitch, yaw), the attitude (roll, p
✍ controller_drivingDynamics_sensors_vehicleData 8 "Vehicle data" sensor of the drivingDynamics system (type "auxiliary", defaultOrder 54). It identifies the four corner wheels (front/rear, l
✍ controller_drivingDynamics_sensors_virtualSensors 9 Virtual sensors of the drivingDynamics system (type "auxiliary", defaultOrder 56): estimates the vehicle's true speed (virtual.speed), the b
✍ controller_drivingDynamics_supervisors_components_aeroControl 14 Yaw control component (type "auxiliary", defaultOrder 70) for active aerodynamics. It registers with the yawControl supervisor (order 30); w
✍ controller_drivingDynamics_supervisors_components_awdControl 14 Yaw control component for electronically locking all-wheel-drive transmissions (type "auxiliary", defaultOrder 70). It registers with tracti
✍ controller_drivingDynamics_supervisors_components_brakeControl 16 Braking component of the drivingDynamics system (type "auxiliary", defaultOrder 70). It acts as traction control (order 30), yaw control (or
✍ controller_drivingDynamics_supervisors_components_diffControl 14 Yaw control component acting on electronically controlled front/rear differentials (type "auxiliary", defaultOrder 70). It registers with tr
✍ controller_drivingDynamics_supervisors_components_motorTorqueControl 15 Component of the drivingDynamics system that reduces engine torque via device.throttleFactor, for traction control (order 40) and yaw contro
✍ controller_drivingDynamics_supervisors_slipProviders_virtualSpeedSlip 14 Slip provider (type "auxiliary", defaultOrder 70, providerOrder 10) that compares each wheel's speed to the vehicle's virtual speed (virtual
✍ controller_drivingDynamics_supervisors_tractionControl 15 Traction control (TCS) supervisor of the new drivingDynamics architecture (type "auxiliary", defaultOrder 65). It computes nothing itself: a
✍ controller_drivingDynamics_supervisors_yawControl 15 Yaw control supervisor (modern ESC, type "auxiliary", defaultOrder 60) of the drivingDynamics architecture. At every fixed step it asks the
✍ controller_drivingDynamics_supervisors_yawProviders_STMEstimate 13 Expected yaw provider (type "auxiliary", defaultOrder 80, providerOrder 20) for the yawControl supervisor. It estimates the yaw rate the dri
✍ controller_dummy 1 Minimal main controller (type "main") for vehicles without an engine (trailers, objects). It provides the mandatory main controller API (gea
✍ controller_esc 17 Auxiliary controller (type "auxiliary", defaultOrder 50) that implements the car's stability control (ESC) and traction control (TCS). The E
✍ controller_etkGauges 3 Old HTML instruments controller (type "auxiliary"), deprecated: init logs an error asking to switch to genericGauges. It creates an HTML tex
✍ controller_gauges_analogOdometer 4 Auxiliary controller for an analog odometer displayed by an HTML texture (htmlTexture). It sends the total (electrics.values.odometer) and t
✍ controller_gauges_customModules_accelerationData 5 Data module for genericGauges (type "auxiliary"): provides the vehicle sensor's accelerations. To be referenced in displayData.customModules
✍ controller_gauges_customModules_combustionEngineData 5 Data module for genericGauges: computes fuel consumption (l/100 km), consumption display, power and torque of combustion engines and remaini
✍ controller_gauges_customModules_dynamicRedlineData 5 Data module for genericGauges: computes a red/yellow tachometer zone that depends on the oil temperature (cold engine = reduced max RPM) and
✍ controller_gauges_customModules_electricMotorData 5 Data module for genericGauges: computes the displayed power, the power and torque, the remaining range and a consumption graph for electric
✍ controller_gauges_customModules_environmentData 5 Data module for genericGauges: provides the outside temperature and the system time.
✍ controller_gauges_customModules_navigationData 5 Data module for genericGauges: feeds a navigation map in the HTML page. At setup it asks ui_uiNavi (game engine) to initialize the dashboard
✍ controller_gauges_customModules_tireData 5 Data module for genericGauges: provides for each wheel a temperature color (fixed value) and the tire pressure.
✍ controller_gauges_genericGauges 7 Auxiliary controller that displays an HTML dashboard on a 3D material (htmlTexture) and continuously sends it data: electrics values, powert
✍ controller_hydraulicSuspension 11 Auxiliary hydraulic suspension controller (type "auxiliary"): drives the reference length of beams (suspension cylinders) grouped into named
✍ controller_hydraulics_closedLoopLinearControl 4 Closed-loop regulator of a linear hydraulic cylinder (type "auxiliary"). A PID compares the average extension of the cylinders (powertrain h
✍ controller_hydraulics_electricHydraulics 3 Small auxiliary controller for an electric hydraulic unit: sets the electrics value motorThrottleElectricsName to 1 as soon as one of the li
✍ controller_hydraulics_hydraulicTrailerFeet 7 Auxiliary controller for a trailer's hydraulic landing legs (type "auxiliary"). It stores the cylinder position when the trailer is attached
✍ controller_hydraulics_hydraulicsCombustionEngineControl 7 Auxiliary controller that raises the idle of a combustion engine and connects the hydraulic pump when a hydraulic function is commanded ("el
✍ controller_hydraulics_orbitrolSteering 3 Orbitrol-type hydraulic steering regulator (type "auxiliary"). A PID compares the average position of the steering cylinders (normalized -1.
✍ controller_hydraulics_truckCabTiltControl 3 Auxiliary controller for a truck's cab tilt: when at least one cab latch (group controller) is "attached", the tilt cylinders are in "float"
✍ controller_inputOutputDemo 6 Demo controller (type "auxiliary", defaultOrder 100000) showing how to read vehicle data, generate inputs and communicate over UDP. Every fr
✍ controller_jato 7 Auxiliary controller for JATO thrusters (booster rockets, type "auxiliary", defaultOrder 1100). When electrics.values.jatoInput > 0, or when
✍ controller_lightbar 7 Auxiliary lightbar (beacon lights) controller with configurable modes (type "auxiliary"). Each mode defines, per electrics value name, a seq
✍ controller_lights_taxiLights 7 Auxiliary controller for the taxi sign (type "auxiliary"). It stores a state among available, occupied, reserved, offDuty (default), driverD
✍ controller_lineLock 7 Dragster "line lock" auxiliary controller (type "auxiliary", defaultOrder 40): locks the brake pressure of the listed wheels (typically the
✍ controller_linearActuators_linearActuatorTrailerFeet 7 Auxiliary controller for the landing legs of a trailer with an electric linear actuator (type "auxiliary"). Same logic as hydraulics/hydraul
✍ controller_loggerTemplate 6 Data logging controller template (type "auxiliary", defaultOrder 100000): every frame it appends to an in-memory CSV (csvlib library) time,
✍ controller_mechanics_beamChain 5 Mechanics controller (type "auxiliary") that links two beams in series: at each physics step, if the sum of their lengths exceeds their init
✍ controller_mechanics_beamLengthTrigger 3 Mechanics controller (type "auxiliary") that sets an electrics value to a trigger value when the length of one or more beams (by tag) become
✍ controller_mechanics_beamSegments 4 Mechanics controller (type "auxiliary") that distributes the length of a "sensor" beam over several "segment" beams: every frame, each segme
✍ controller_mechanics_linearToAngularTransform 4 Mechanics controller (type "auxiliary") that converts the displacement of a sensor beam into pulley rotation: the length change since the st
✍ controller_nitrousOxideInjection 10 Auxiliary controller for nitrous oxide (N2O) control (type "auxiliary", relevantDevice "mainEngine"). It arms/disarms the system via electri
✍ controller_playerController 18 Main controller (type "main", defaultOrder 500) of the "unicycle" vehicle used for the on-foot player (walking mode). The character is a phy
✍ controller_pneumatics 14 Simple pneumatic suspension/cylinder auxiliary controller (type "auxiliary"): it drives the pressure of "pressurized" beams (obj:setBeamPres
✍ controller_pneumatics_actuators 17 Auxiliary controller (type "auxiliary", defaultOrder 50) for pneumatic cylinders with simplified gas physics: an air tank (energyStorage) fe
✍ controller_pneumatics_airbrakes 4 Auxiliary controller for pneumatic brakes (heavy trucks). Simulates the pressure of the service brake cylinders and spring (parking) brakes
✍ controller_pneumatics_autoLevelSuspension 17 Auxiliary pneumatic suspension controller with automatic leveling (defaultOrder 80). For each "control group" (one measurement beam + one or
✍ controller_pneumatics_crossFlowValve 3 Auxiliary controller simulating an air transfer valve between two tanks (energyStorage): air passes from the source tank to the target tank
✍ controller_pneumatics_liftAxleControl 10 Auxiliary pneumatic axle lift controller (trailers/trucks). Two modes: "lift" (axle raised: lift airbags inflated, main airbags emptied) and
✍ controller_pneumatics_lowAirPressureWarning 5 Auxiliary low air pressure warning controller (heavy trucks). Monitors the pressure of a tank: below airTooLowPressure and with the ignition
✍ controller_powerSteering 2 Auxiliary power steering controller. Sets hydros.wheelPowerSteeringCoef (assist coefficient applied by the steering engine): fixed value 1 +
✍ controller_powertrainControl_activeCenterDiff 4 Auxiliary controlled center differential controller. Every physics step, it combines several jbeam maps (throttle, slip between axles, brake
✍ controller_powertrainControl_antiLag 6 Auxiliary anti-lag (ALS) controller for a turbocharged engine. State machine off / idle / armed / manualOverride / timeout: in idle it arms
✍ controller_powertrainControl_combustionEngineGovenor 2 Auxiliary "speed governor" controller of a combustion engine (the file name contains the typo "Govenor"). A PID computes a throttle command
✍ controller_powertrainControl_rimPullControl 3 Auxiliary "rim pull" controller (rim traction command, e.g. rail vehicles/tractors): an input axis input.rimPull (0..1) progressively reduce
✍ controller_propAnimation_dualAxisLever 2 Auxiliary two-axis lever animation controller (automatic gearbox lever of the P R N D S M type with a gate). Reads the current mode name (el
✍ controller_propAnimation_googlyEyes 3 Humorous vehicle "eyes" auxiliary controller: enlarges or shrinks tagged beams (eye beams, limiters, attachments) according to the vertical
✍ controller_propAnimation_hPattern 3 Auxiliary H-pattern gear lever animation controller (manual gearbox). Follows the engaged gear of the "gearbox" device and moves a virtual l
✍ controller_propAnimation_sequentialLever 3 Auxiliary sequential lever animation controller: at each gear change of the "gearbox" device (upshift = lever pushed, downshift = lever pull
✍ controller_propAnimation_singleAxisLever 3 Auxiliary controller animating a single-axis gear lever (automatic gearbox lever). Converts electrics.values.gearModeIndex into a smoothed l
✍ controller_pyrotechnicCharge 4 Auxiliary single-use pyrotechnic charge controller: as soon as one of the electrics listed in triggerElectrics equals 1 or true, it plays a
✍ controller_sbrGauges 5 OBSOLETE auxiliary controller (log E at load: to be replaced by genericGauges) that feeds an HTML dashboard screen (htmlTexture) for an elec
✍ controller_shiftLights 2 Auxiliary shift light LED controller. Splits the RPM range [minRPM, maxRPM] into steps (one per electric listed in outputElectrics) and sets
✍ controller_sound_AVAS 4 Auxiliary controller for the pedestrian acoustic vehicle alerting system (AVAS) of electric vehicles. Plays a "forward" loop in D/S modes, a
✍ controller_sound_airbrakes 3 Auxiliary controller for a simple pneumatic brake release sound (no air simulation, unlike pneumatics/airbrakes). Monitors electrics.values[
✍ controller_sound_linearMovement 4 Auxiliary sound controller for a linear movement (cylinder, seat, platform, kickstand...). It measures the length of a "position sensor" bea
✍ controller_sound_reverseWarn 3 Auxiliary reverse beep controller. Every 0.5 s, it tests an electric (default "reverse"): if it is > 0, it starts a looping beep sound; othe
✍ controller_steering_rearWheelSteering 2 Auxiliary rear wheel steering controller. In feedForward mode, it computes a rear steering output from a map (wheel speed, front steering) a
✍ controller_tirePressureControl 11 Auxiliary controller for central tire inflation/deflation (CTIS, off-road/military vehicles). Wheels are grouped into "groups" (axles, sides
✍ controller_trailerFeet 3 Auxiliary controller for trailer kickstands: writes an electric ("feet" by default) to an "attached" value when a coupler of this vehicle at
✍ controller_twoStepLaunch 11 Auxiliary "two-step" controller (standing-start rev limiter). Once enabled, it arms when the vehicle is almost stopped with throttle AND bra
✍ controller_vehicleController_shiftLogic_automaticGearbox 12 Automatic gearbox logic (modes P R N D S 1-9 M, torque converter with partial lockup). Loaded by vehicleController when the "gearbox" device
✍ controller_vehicleController_shiftLogic_cvtGearbox 11 Continuously variable transmission (CVT) gearbox logic, modes P R N D. Loaded by vehicleController when the "gearbox" device is of type cvtG
✍ controller_vehicleController_shiftLogic_cvtGearbox2 11 Second CVT gearbox logic, driven by a map (target speed = f(wheel speed, aggression)) instead of a simple interpolator. Modes P R N D S. S m
✍ controller_vehicleController_shiftLogic_dctGearbox 12 Dual-clutch gearbox (DCT) logic with automatic modes P R N D S 1 2 M. Loaded by vehicleController when the "gearbox" device is of type dctGe
✍ controller_vehicleController_shiftLogic_dummy 6 "Neutral" gearbox logic module loaded by vehicleController when the vehicle has no "gearbox" device (or via jbeam shiftLogicName = "dummy").
✍ controller_vehicleController_shiftLogic_electricMotor 14 "Gearbox" logic for electric vehicles: modes P R N D that set the rotation direction (motorDirection) of the electric motors, regenerative b
✍ controller_vehicleController_shiftLogic_manualGearbox 13 Manual gearbox logic (H-shifter or up/down keys) with automatic or manual clutch. Loaded by vehicleController when the "gearbox" device is o
✍ controller_vehicleController_shiftLogic_sequentialGearbox 11 Sequential gearbox logic (one step at a time with up/down, no H-shifter) with ignition cut on upshift and optional automatic clutch. Loaded
✍ controller_vehicleController_vehicleController 35 Main controller (type "main", defaultOrder 500) of the vehicle. It reads the driver inputs (input.throttle/brake/clutch, or the electrics ov
✍ controller_vivaceGauges 4 OBSOLETE auxiliary controller (replaced by the 'genericGauges' controller) that feeds the digital dashboard screen of the Vivace: it creates
✍ controller_wendoverGauges 3 OBSOLETE auxiliary controller (replaced by 'genericGauges') for the digital dashboard screen of the Wendover: HTML texture (1024 x jbeam hei

Powertrain (31)

Name Functions Summary
✍ powertrain_automaticGearbox 16 Powertrain device type automaticGearbox: simplified planetary/hydraulic automatic gearbox. It has indexed gears (gearIndex), drive / neutr
✍ powertrain_centrifugalClutch 11 Powertrain device type centrifugalClutch: centrifugal clutch (categories clutchlike and clutch) placed directly after a combustion engine.
✍ powertrain_combustionEngine 48 Factory of the powertrain device type combustionEngine (combustion engine). new(jbeamData) builds a device from a jbeam entry of the pow
✍ powertrain_combustionEngineThermals 16 Thermal and wear submodule of a combustion engine. It is NOT an independent powertrain component: it does not export new and is not listed
✍ powertrain_compressor 15 Powertrain component compressor: pneumatic air compressor (air brakes, air suspension of trucks). It is a torque consumer without an outpu
✍ powertrain_cvtGearbox 12 Powertrain component cvtGearbox: continuously variable transmission (CVT) with a variable ratio between minGearRatio and maxGearRatio. The
✍ powertrain_dctGearbox 16 Powertrain component dctGearbox: dual-clutch gearbox (DCT). It contains two internal clutches (lane 1 and lane 2) that each receive a pres
✍ powertrain_differential 11 Powertrain component differential: splits the input torque between two outputs (port 1 and port 2) and computes the input speed from the t
✍ powertrain_electricMotor 27 Powertrain component electricMotor: electric motor of category engine. It produces a torque from a torque/RPM curve (jbeam key torque)
✍ powertrain_electricServo 12 Powertrain component electricServo: electric servo that turns a "rotor" wheel (jbeam key connectedRotator, a wheel declared as a rotator
✍ powertrain_electricWinch 8 Powertrain component electricWinch: very basic electric winch, of category winch and torqueConsumer, without an output port. Its code
✍ powertrain_frictionClutch 11 Powertrain component frictionClutch: friction clutch placed right after an engine (the parent must be of category engine). It models a l
✍ powertrain_genericTorqueProvider 14 Powertrain component genericTorqueProvider: generic torque source, of category engine, whose torque is simply desiredOutputTorque (N·m
✍ powertrain_hydraulicAccumulator 17 Powertrain component hydraulicAccumulator: standalone hydraulic accumulator (pressurized tank, without pump or mechanical drive). It suppl
✍ hydraulicCylinder 14 Hydraulic cylinder: this is NOT a standalone powertrain component. It is a hydraulic "consumer" created by hydraulicPump.new for each entry
✍ powertrain_hydraulicPump 19 Powertrain component hydraulicPump: hydraulic pump (variable or fixed displacement) driven by a shaft, with a built-in accumulator and a r
✍ powertrain_hydraulicWinch 0 Empty file (0 bytes) in BeamNG.drive 0.40.5. It defines no new, field or function. Using a hydraulicWinch component in the powertrain
✍ powertrain_hydrodynamicRetarder 15 Powertrain component hydrodynamicRetarder: hydrodynamic retarder (truck/bus engine brake) mounted as a branch on the shaft. It has a virtu
✍ powertrain_linearActuator 10 Powertrain component linearActuator: screw jack (mechanical linear actuator) driven by a shaft. It converts the input torque into axial fo
✍ powertrain_manualGearbox 18 Powertrain component manualGearbox: manual gearbox with fixed ratios. The active gear is chosen by setGearIndex (integer indices: 0 neutra
✍ powertrain_multiShaft 6 Powertrain component multiShaft: torque splitter with N outputs (N = jbeam key numberOfOutputPorts), for example for a multi-axle drive
✍ powertrain_nitrousOxideInjection 9 Nitrous oxide (NOS) injection submodule for a combustion engine. It is NOT an independent powertrain component: it does not export new; it
✍ powertrain_rangeBox 13 Powertrain component rangeBox: range box (reducer with two ranges "high" / "low", e.g. 4x4 low-range transfer case or truck range). The ra
✍ powertrain_sequentialGearbox 16 Powertrain component sequentialGearbox: sequential gearbox (racing type) whose gear can only change one step at a time (plus one, minus on
✍ powertrain_shaft 14 Powertrain component shaft: a drive shaft with a fixed reduction ratio, friction losses and cumulative inertia. It can also be linked dire
✍ powertrain_splitShaft 13 Powertrain component splitShaft: two-output splitter, typically a 4x4 transfer case or an axle coupler. One output is "primary" (receives
✍ powertrain_supercharger 12 Mechanical supercharger subsystem attached to an engine: the supercharger is driven by the crankshaft (ratio gearRatio, with a progressive c
✍ powertrain_torqueConverter 10 Hydraulic torque converter of an automatic gearbox, with lockup clutch. It plugs in behind an engine (the parent must be a device of categor
✍ powertrain_torsionReactor 6 "Dummy shaft" device that serves as a torsion reactor: it transmits the torque of its parent to its children (multiplied by gearRatio) while
✍ powertrain_turbocharger 13 Turbo supercharging subsystem, attached to an engine (it is not a device of the drivetrain chain: init(device, jbeamData) receives the engin
✍ powertrain_viscousClutch 7 Viscous coupler placed behind an engine: transmits a torque proportional to the angular speed difference between input and output (viscousCo

Energy storage (4)

Name Functions Summary
✍ energyStorage_electricBattery 8 Energy storage type 'electricBattery': electric vehicle battery. Energy is kept in joules (energyType 'electricEnergy') and configured in kW
✍ energyStorage_fuelTank 11 Energy storage type 'fuelTank': liquid fuel tank (gasoline, diesel, kerosene). Energy is stored in joules from the volume in liters, the den
✍ energyStorage_n2oTank 11 Energy storage type 'n2oTank': nitrous oxide (nitrous) bottle. Capacity is expressed in mass (kg), the stored energy being the mass multipli
✍ energyStorage_pressureTank 18 Energy storage type 'pressureTank': pressurized gas tank (compressed air for trucks, trailers, air suspensions). Energy equals P·V (ideal ga

Extensions (56)

Name Functions Summary
✍ advancedwheeldebug 3 Debug extension that computes for each wheel the camber, toe, caster, steering axis inclination (SAI) angles and the wheel pressure, relativ
✍ aeroDebug 6 Aerodynamic debug extension for the workbench: measures the total aerodynamic force and moment of the vehicle around its center of gravity,
✍ api 3 Vehicle extension that starts a small local HTTP/JSON server (utils/httpJsonServer) on localhost:23512 when the extension loads. It answers
✍ chassisData 1 Extension that computes the vehicle's wheelbase (wheelBase) and track width (trackWidth) from the wheel node positions in the jbeam data, th
✍ core_booster 2 Experimental 'boost' extension: simulates a force on the vehicle by placing very distant negative-mass 'planets' (obj:setPlanets), which pus
✍ core_quickAccess 8 Vehicle-side proxy of the GE Lua radial menu (quick access): vehicle modules declare menu entries there (addEntry), the GE requests the list
✍ couplings 8 Extension managing fifth wheel type hitches. It reacts to beamstate events (enabling/disabling of automatic coupling, detaching) by relaying
✍ cruiseControl 9 Cruise control: a PID drives electrics.values.throttleOverride to keep the wheel speed (electrics.values.wheelspeed, m/s) at a setpoint. It
✍ debug_advancedExternalDebug 5 Debug extension that sends JSON packets over UDP to an external tool (AED, 'Advanced External Debug') on 127.0.0.1:43812, at 30 sends per se
✍ dragAi 5 Mini drag-racing AI: full throttle, proportional steering toward a target point, then braking and handbrake on arrival. The state goes from
✍ dynamicVehicleData 5 Internal tool for automatically generating vehicle performance sheets (files vehicles//info_.json), driven from the GE by uti
✍ dynoClient 2 Vehicle-side dynamometer (dyno) client: after initDyno, it sends every frame the engine speed, the engaged gear and the transmission ratios
✍ escCalibration 5 Internal ESC calibration tool: automates a 'skew stiffness' test by sweeping 13 speeds (40 to 100 km/h) and 14 steering angles (0.5° to 7°),
✍ escMeasurement 8 Internal tool for automatic ESC measurement/calibration (drivingDynamics/CMU controller), driven from the GE by util_calibrateESC. A worker
✍ gameplayInterface 12 Generic gateway between gameplay code (GE Lua VM, via core_vehicleBridge) or other vehicle extensions and the vehicle VM. At init it loads a
✍ gameplayInterfaceModules_interactAI 2 gameplayInterface module for AI: reads or sets the current vehicle's AI mode and can command the AI of all other vehicles by making them fle
✍ gameplayInterfaceModules_interactBeamstate 2 gameplayInterface module giving access to beamstate: remote call of a beamstate function without arguments by its name, and reading of a cou
✍ gameplayInterfaceModules_interactCargoContainers 5 gameplayInterface module for cargo containers (jbeam section cargoStorage): lets the GE gameplay virtually fill the containers (target volum
✍ gameplayInterfaceModules_interactController 2 gameplayInterface module for the controller system: send a gameplay event to the controllers, freeze the vehicle, change the gearbox mode, s
✍ gameplayInterfaceModules_interactElectrics 2 gameplayInterface module for electrics: set the ignition level, the light bar mode and the headlight state, and read any value of electrics.
✍ gameplayInterfaceModules_interactEnergyStorage 2 gameplayInterface module for energyStorage: sets the stored energy of a tank and lists all storages with their current and maximum energy.
✍ gameplayInterfaceModules_interactFire 2 gameplayInterface module giving access to the fire system: remote call of an argument-less function of the fire module by name.
✍ gameplayInterfaceModules_interactMisc 2 Catch-all gameplayInterface module: connection test (ping) and opening/closing of the latches of advanced coupler controllers (advancedCoupl
✍ gameplayInterfaceModules_interactPartCondition 2 gameplayInterface module for partCondition: initializes or reads part conditions (odometer, integrity, visual, default paints), reads the ro
✍ gameplayInterfaceModules_interactPowertrain 2 gameplayInterface module for powertrain: reads a property of a powertrain device by its name.
✍ gameplayInterfaceModules_interactRecovery 2 gameplayInterface module giving access to the recovery system: remote call of an argument-less function of the recovery module by name.
✍ gameplayInterfaceModules_interactSpecialLights 2 gameplayInterface module for special lights: reads and sets the taxi light state via the 'lights/taxiLights' controllers.
✍ gameplayInterfaceModules_interactVehiclePerformanceData 2 gameplayInterface module relaying to the vehicle extension vehiclePerformanceData: starts/stops performance recordings (up to 5 types), re
✍ gameplayStatistic 6 Vehicle-side gameplay statistics relay: forwards metrics to the GE module gameplay_statistic (metricAdd/metricSet) and runs registered watch
✍ gameplayStatisticModules_watchAirtime 2 gameplayStatistic module that measures the time the vehicle is fully airborne: ground speed > 6 m/s, no wheel in contact (contactMaterialID1
✍ gameplayStatisticModules_watchBurnout 2 gameplayStatistic module that detects burnouts: an intact driven wheel spins (wheel speed > 2 and > 1.5 x ground speed, load-weighted slip >
✍ input_haptics 8 Generates gamepad vibrations (haptic feedback) from vehicle dynamics: acceleration jerks, wheel slip energy, locked wheels under braking (br
✍ inputAnalyzer 5 Gamepad/keyboard 'code' detector: at 30 Hz it watches the inputs (throttle, brake, steering left/right, clutch, parking brake), builds a str
✍ inputTests 3 Test bench for latency and accuracy of steering wheel force feedback (FFB): measures USB hardware latency, wheel resolution and update frequ
✍ mqttGrafanaDemo 3 Demo: publishes the vehicle telemetry to an MQTT broker (127.0.0.1) on the topic 'car_data', as JSON, every frame, to display it for example
✍ odometer 6 'Relative' odometer for statistics: integrates the distance traveled from electrics.values.wheelspeed with a 'rope' filter (±5 cm) to ignore
✍ outgauge 0 Obsolete file: it only writes an error to the log (with the call trace) saying that something tried to use the old outgauge extension, and r
✍ outsim 0 Obsolete file: it only writes an error to the log (with the call trace) saying that something tried to use the old outsim extension, and ret
✍ perfectLaunch 6 'Perfect' standing-start aid (launch control) for dragsters: full throttle, then PI control of driven-wheel slip and yaw by modulating the t
✍ performanceLogger 6 Small profiling tool: measures durations in milliseconds with HighPerfTimer, either a single measurement (startMeasurement / stopMeasurement
✍ profiling_p 2 Third-party library: Mike Pall's LuaJIT profiler (jit.p), copyright 2005-2016, MIT license. It is a simple interface to the low-overhead pro
✍ profiling_vmdef 0 Third-party library: LuaJIT's jit.vmdef (Mike Pall), a generated file ("DO NOT EDIT") that contains the LuaJIT VM name tables: names of byte
✍ profiling_zone 0 Third-party library: LuaJIT's jit.zone (Mike Pall), copyright 2005-2016, MIT license. Implements a simple model of hierarchical zones (a sta
✍ scenario_annotate 2 Example of a vehicle extension driven by a scenario. It displays floating text 2 m above the vehicle (with a vertical line) via obj.debugDra
✍ scenario_functionFreezer 3 Lets a scenario creator prevent some of the vehicle's Lua functions from running until the scenario has started (intro screen, intro camera)
✍ scenario_shiftBooster 5 Demo scenario extension: gives the vehicle a boost by applying a constant wind directed along its forward axis via obj:setWind. Can be trigg
✍ simpleTripApp 4 Feeds the "trip" UI app: accumulates distance and simulation time, estimates fuel consumption and range, and sends the result to the UI abou
✍ skeleton 2 Minimal vehicle extension template, and an extension actually used: main.lua always loads it (extensions.load("skeleton")) at the end of veh
✍ straightLine 5 Very simple steering autopilot: a PID corrects the steering so that the vehicle drives toward a target point (or straight ahead, 20 m in fro
✍ telemetryLogger 6 Simple telemetry recorder: every graphics frame (when recording is active) it stores timestamp, position, speed, throttle, brake, steering,
✍ test_csvMetrics 3 Test tool: periodically records vehicle metrics (time, position, quaternion rotation, and in extended mode temperatures, RPM, fuel, speeds,
✍ test_ffbCalibration 4 Automatic steering wheel force feedback (FFB) calibration procedure. The vehicle is launched by the cruise control (cruiseControl) then the
✍ ui_simplePowertrainControl 4 Bridge between the vehicle and the simplified powertrain control buttons shown in the UI. setButton sends the UI event `ChangePowerTrainButt
✍ utRecorder 1 Sends the vehicle data to the game engine (GE) Lua every frame so that it is recorded with the rest (test tool). The message is queued by ob
✍ vehiclePerformanceData 5 Collection of vehicle performance data, mostly used by the UI/the game for spec sheets and certifications. Two parts: static data (weight, d
✍ vehicleeditor_nodes 1 Small vehicle editor utility: computes the cumulative node mass of the vehicle from the physical mass actually simulated (obj:getNodeMass).

Game Engine (GE)

Modules (36)

Name Functions Summary
✍ client_canvas 4 Manages the GuiCanvas (the render window) on the client side: one-time creation of the "Canvas" object and showing/hiding the mouse cursor.
✍ client_core 3 Initialization of the client's graphics "core": creates from Lua code the base materials, shaders and state blocks that used to be Torque sc
✍ client_init 3 Initialization of the graphics client (port of Torque's client.cs). initClient prepares rendering (postFx, renderManager, lighting systems),
✍ client_lighting 2 Chooses and activates the game's light manager. It loads all init.lua files from the subfolders of lua/ge/client/lighting/ (advanced, basic,
✍ client_lighting_advanced_init 0 "Advanced Lighting" light manager. Loads the submodules shaders, lightViz and shadowViz, then, if the manager exists (LightManager.findByNam
✍ client_lighting_advanced_lightViz 7 Debug visualization modes for advanced lighting. It creates PostEffects (priority 9999, target $backBuffer): AL_DepthVisualize, AL_NormalsVi
✍ client_lighting_advanced_shaders 0 Declares, if absent, the rendering objects of advanced (deferred) lighting: state blocks AL_VectorLightState and AL_ConvexLightState, shader
✍ client_lighting_advanced_shadowViz 0 Declares, if they do not exist, the ShaderData "AL_ShadowVisualizeShader" (dbgShadowVisualizeP.hlsl) and the CustomMaterial "AL_ShadowVisual
✍ client_lighting_basic_init 0 "Basic Lighting" light manager. Creates the state block BL_ProjectedShadowSBData, the shader BL_ProjectedShadowShaderData and the material B
✍ client_lighting_basic_shadowFilter 0 Creates the shadow blur filter of basic lighting: two ShaderData (BL_ShadowFilterShaderV and BL_ShadowFilterShaderH, same compute shader sha
✍ client_lighting_shadowMaps_init 0 Declares the ShaderData "BlurDepthShader" (boxFilterV.hlsl / boxFilterP.hlsl) used to blur shadow maps, if it does not already exist. No exp
✍ client_objectsRequiredForStartup 0 Creates, on import, the base GUI objects needed at startup: the "DefaultCursor" cursor (GuiCursor, hot spot (4,4) on macOS, (1,1) elsewhere)
✍ parseArgs 1 Parses the game's command-line arguments ($Game::argc / $Game::argv0…) and applies or stores the recognized options. Useful to launch BeamNG
✍ client_postFx 4 Manager of the game's post-effects (PostFX). On import it creates the common objects: state blocks PFX_DefaultStateBlock and PFX_DefaultBlit
✍ client_postFx_caustics 0 Underwater caustics post-effect. Creates (if they do not exist) the state block PFX_CausticsStateBlock (additive blending), the shader PFX_C
✍ dofModule 6 Depth of field (DOF) as post-processing. Creates the PostEffect "DOFPostEffect" (disabled at the start, PFXAfterBin / UpscaleDispatch) with
✍ client_postFx_edgeAA 0 Edge detection for edge-based anti-aliasing. Creates the state block PFX_DefaultEdgeAAStateBlock, the shader PFX_EdgeAADetectShader (edgeDet
✍ client_postFx_fog 2 Post-processing fog. Creates the PostEffect "FogPostFx" (shader fog.cs.hlsl, priority 5, enabled, excluded from reflection passes) and the P
✍ client_postFx_fxaa 1 FXAA anti-aliasing. Creates the state block FXAA_StateBlock, the shader FXAA_ShaderData (fxaa.cs.hlsl) and the PostEffect "FXAA_PostEffect"
✍ client_postFx_glow 0 Glow effect. Creates the separable blur shaders PFX_GlowBlurVertShader and PFX_GlowBlurHorzShader, the combine shader PFX_GlowCombineShader
✍ client_postFx_maskedScreenBlur 0 Masked screen blur. Creates the object "ScreenBlurFX" (type PostEffectMaskedBlur, enabled, rendered after OverlayRender, target at 40% of th
✍ client_postFx_screenSpaceShadows 0 Creates, if it does not exist, the native object "ScreenSpaceShadowsPostFx" (type PostFxScreenSpaceShadows) for screen-space shadows. No exp
✍ client_postFx_smaa 4 SMAA anti-aliasing (Subpixel Morphological Anti-Aliasing). Creates the SMAA_* shaders and state block, the PostEffects SMAA_PostEffect (edge
✍ ssaoModule 6 Screen-space ambient occlusion (SSAO, with bent normals / GTAO). On import, creates the object "SSAOPostFx" (PostEffectSSAO) if missing, the
✍ client_renderManager 1 Prepares the off-screen render format: creates the RenderFormatToken "AL_FormatToken" (color R8G8B8A8, depth $GFXFormatDefaultDepth or D24S8
✍ ge_utils 0 Global utility functions of the GE VM, loaded by main.lua (require('ge_utils')) before the extensions. They are accessible everywhere withou
✍ main 0 Entry point of the "Game Engine" Lua VM (GE, vmType = 'game'). The C++ engine loads this file at startup then calls its global functions (on
✍ map 53 Road graph (navgraph) of the level on the Game Engine side. It builds the graph of nodes and edges from the decal roads (DecalRoad), the sce
✍ screenshot 24 Screenshot capture on the Game Engine side. It prepares the file name (folder screenshots//screenshot_), the quality options (s
✍ commands 21 Camera and player placement commands, largely called by the C++ side and the input actions: switching between the game camera and the free c
✍ server 4 Loading and unloading of a level on the game's "server" side (solo/freeroam mode). createGame opens the loading screen then runs the compl
✍ serverConnection 3 Disconnection of the local session (stopping the simulation, cleanup) and transition of the world-ready state. It is used when leaving a lev
✍ setSpawnpoint 3 Stores and rereads the default spawn point chosen for each level. The data is stored in settings/cloud/game-state.json (key levels[levelName
✍ simTimeAuthority 19 Authority over the simulation time speed: pause, slow motion (bullet time) and resume, with smoothing. A modder uses it to pause the game, s
✍ spawn 13 Vehicle creation and placement on the Game Engine side. It creates a BeamNGVehicle object (spawnVehicle), picks a spawn point (pickSpawnPoin
✍ suspensionFrequencyTester 2 Development tool that measures a vehicle's suspension frequency. It shows an ImGui window "Suspension Frequency Tester": for two nodes (fron

Extensions (2024)

Name Functions Summary
✍ busroute_busrouteConfigurator 0 Backend of the "preview / options" step of the Bus Route View wizard. It describes the "busRoute" mode (descriptor) and passes it to oneshot
✍ campaign_campaigns 36 Execution engine of a running campaign. It holds the active campaign (local variable campaign = {meta, state}), chains scenarios based on th
✍ campaign_campaignsLoader 10 Campaign loader: finds the /campaigns/*.json files whose header.type is "campaign", loads them (with mod info and preview image), validates
✍ campaign_comics 3 Shows a comic (sequence of panels) in the campaign interface. playComic builds the list of panels from comicData then opens the UI screen "c
✍ campaign_dealer 8 Campaign dealer: holds a stock (M.state.stock) keyed by uppercase item type. A stock is either a list of tables (vehicles {model, config}) o
✍ campaign_photoSafari 3 Logic of the campaign's "photo safari" mission: the player must photograph places. On acceptance, a JSON file lists the places (keys = trigg
✍ campaign_rewards 5 Computation and granting of campaign scenario rewards. From scenarioData.onEvent.onSucceed (or onFail), getRewards selects the rewards; proc
✍ career_branches 23 Tree of domains, branches and skills of career mode. It reads all info.json files under /gameplay/domains/ (recursively) and infers from the
✍ career_career 32 Entry point of career mode. It activates and deactivates the career: loads the level (west_coast_usa by default, or the one from the save),
✍ career_modules_branches_landing 8 Provides the career UI with the data of the progression landing page (domains, branches, skills): titles, breadcrumbs, level/XP, unlocks, le
✍ career_modules_branches_leagues 16 Manages the career "leagues": groups of missions (and drift spots) attached to a skill, loaded from the /gameplay/**/*.leagues.json files on
✍ career_modules_computer 6 Garage "computer" menu in career mode. openMenu builds the list of vehicles in the nearest garage, lets other modules add their buttons via
✍ career_modules_debug_attributesDebug 2 "Attributes" career debug tab. Shows money, BeamXP, vouchers and the XP of each branch with cheat buttons (+/-) that call career_modules_pla
✍ career_modules_debug_cargoContainerDebug 10 "Vehicle > Cargo Containers" debug tool. Queries all active vehicles (core_vehicleBridge.requestValue 'getCargoContainers'), shows their car
✍ career_modules_debug_cargoFluidDebug 3 "Delivery > Fluid Cargo" career debug tab. 'Fluid CargoDebug' ImGui window that shows, per delivery facility (all, the nearest or a chosen o
✍ career_modules_debug_dealershipFilterDebug 2 "General > Filter Debug" debug tool: ImGui window where you paste a dealership filter JSON (filter with whiteList/blackList, subFilters with
✍ career_modules_debug_deliveryRoutes 4 "Delivery > Routes" career debug tab. 'Delivery Access Points' ImGui window listing the delivery facilities and their access points (accessP
✍ career_modules_debug_insuranceDebug 1 "Insurance" career debug tab. Adds a single menu entry '> Reset insurance data' that calls career_modules_insurance_insurance.resetPlPolicyD
✍ career_modules_debug_marketplaceDebug 2 "Marketplace" career debug tab. Shows the inventory vehicles (and whether they are for sale via career_modules_marketplace.findVehicleListin
✍ career_modules_debug_missionDebug 1 "Missions" career debug tab. Two entries: '> Reload Missions' (gameplay_missions_missions.reloadCompleteMissionSystem) and '> Make All Missi
✍ career_modules_debug_organizationsDebug 1 "Organizations" career debug tab. Two cheat entries: give a random reputation (-50 to 150) to about 30% of organizations (via career_modules
✍ career_modules_debug_parcelDebug 6 "Delivery > Parcels" career debug tab. 'Parcel Debug' ImGui window showing, for each delivery facility (all, the nearest within a 50 m radiu
✍ career_modules_debug_precisionParkingDebug 3 "Precision Parking" career debug tab. A button toggles the debug; when active, the module looks (every 0.1 s) for the delivery parking spot
✍ career_modules_debug_psDuplicationChecker 4 "Parking Spot Duplication Checker" debug tool for level designers: compares the parking spots (parkingSpots) of two .sites.json files (by de
✍ career_modules_debug_vehOfferDebug 3 "Delivery > Veh Offers" career debug tab. 'Vehicle Offer Debug' window listing, per delivery facility, the non-expired vehicle/trailer offer
✍ career_modules_debug_vehicleDebug 1 "Vehicles" career debug tab. Lets you add the player vehicle to the inventory, respawn it (career_modules_inventory.debugRespawnCurrentVehic
✍ career_modules_debug_vehicleShoppingDebug 1 "Vehicle Shopping" career debug tab. Re-reads the current level's *.facilities.json files to get the dealerships, simulates the vehicle draw
✍ career_modules_debug_vehicleSpawn 5 "Vehicle Spawn" debug tool: adds a point-of-interest marker to the 'debugParking' parking of west_coast_usa (facilities.sites.json) whose de
✍ career_modules_delivery_cargoCards 9 Helper for presenting the cargo screen (delivery): prepares for the UI the filters (parcel, vehicle, trailer, material, all, loaner), the gr
✍ career_modules_delivery_cargoScreen 44 Back end of the career "Cargo Overview" screen (delivery of parcels, materials, vehicles and trailers). It formats for the UI the cargo card
✍ career_modules_delivery_general 34 Core of the career delivery (logistics) system: delivery game clock, saving/loading of logisticsDatabase.json (parcels, vehicle offers, faci
✍ career_modules_delivery_generator 24 Career delivery content generator. On load (setup) it reads the parcel templates (.deliveryParcels.json), vehicle templates (.deliveryVehi
✍ career_modules_delivery_parcelManager 30 Central manager of the cargos (parcels and materials) of delivery in career mode. It holds the allCargo list (each cargo has an id, a locati
✍ career_modules_delivery_parcelMods 14 Defines the career mode parcel modifiers ("mods"): timed, post, precious, supplies, large, fluid, dryBulk, parcel, hazardous. Each mod has a
✍ career_modules_delivery_precisionParking 7 Evaluates the player vehicle's parking precision at a delivery's destination (parcel, materials or vehicle) and applies reward bonuses or pe
✍ career_modules_delivery_progress 19 Progress tracking and drop-off screen of career delivery. Counts deliveries per type (parcel, vehicle, trailer, fluid, dryBulk) globally and
✍ career_modules_delivery_tasklist 8 Feeds the on-screen task list (tasklist) during career delivery. It groups the loaded cargos by destination, the cargos to pick up by pickup
✍ career_modules_delivery_tutorial 7 Determines whether the delivery tutorials (parcels, vehicles, materials) are still active and provides the tutorial task lists for the caree
✍ career_modules_delivery_vehicleOfferManager 16 Manages vehicle and trailer delivery offers in career mode (the allOffers list): adding, lookup (by location, by facility, non-expired), veh
✍ career_modules_delivery_vehicleTasks 17 Runs the vehicle and trailer delivery tasks accepted in career. Each offer becomes a taskData with a series of steps (coupleTrailer or enter
✍ career_modules_fuel 18 Career mode refueling transaction at a gas station. startTransaction opens the career.refueling screen, reads the player vehicle's tanks (en
✍ career_modules_inspectVehicle 22 Handles the inspection of a vehicle for sale (dealership or private seller) in career mode before purchase. startInspection spawns the froze
✍ career_modules_insurance_history 11 History of the player's insurance events in career (claims, private repairs, renewals, contract changes…). Each entry has a type, a title, e
✍ career_modules_insurance_insurance 66 Career mode vehicle insurance and repair system. It loads the definitions from gameplay/insurance (providers, classes, coverage options, per
✍ career_modules_insurance_repairScreen 8 Prepares the data and handles opening/closing of the repair screen (UI route career.computer.repair) reachable from the garage computer in c
✍ career_modules_inventory 63 Career vehicle inventory: the vehicles table (inventoryId -> info: model, config, niceName, owned, partConditions, timeToAccess, loanType, o
✍ career_modules_loanerVehicles 10 Vehicles loaned (loaners) by the career delivery organizations. It builds the offers displayed in the UI (formatLoanerOfferForUi), handles t
✍ career_modules_log 3 Small text log of the career. Modules call addLog to accumulate lines in memory; on each profile save, the lines are appended (append mode)
✍ career_modules_logbook 14 Career logbook (logbook.json in the save's career folder). Stores the entries displayed in the UI: unlocking of missions, delivery facilitie
✍ career_modules_marketplace 21 Career vehicle marketplace, working in two directions. (1) The player lists vehicles from their inventory for sale (listVehicles); virtual b
✍ career_modules_milestones_general 5 Manager of the career's "general milestones". When the career activates, it collects via the onGeneralMilestonesCollect hook the configurati
✍ career_modules_milestones_generalMilestones_branches 4 Career branch level and skill milestones. For each non-"isInDevelopment" branch of career_branches.getSortedBranches(), creates a branch_<id
✍ career_modules_milestones_generalMilestones_delivery 4 Milestones related to career deliveries: parcels, vehicles, trailers, fluids and dry bulk delivered; on-time, delayed or late deliveries (pa
✍ career_modules_milestones_generalMilestones_insurance 2 Milestone on the number of insurance repair claims (id insurance_repair_claims). Tiers: 1, 5, 10, 20, 50 claims (career_modules_insurance_hi
✍ career_modules_milestones_generalMilestones_missions 7 Milestones related to career missions. For the set of showInCareer missions, then for each branch (inferred from gameplay_missions_unlocks.g
✍ career_modules_milestones_generalMilestones_money 4 Career money milestones. Each milestone accumulates, for a mode (gains or losses) and tags, the amounts tracked by career_modules_playerAttr
✍ career_modules_milestones_generalMilestones_speedTraps 2 Milestones related to speed traps (gameplay_speedTraps) in career: speed record reached in front of a speed trap (velocitySpeedTrapMilestone
✍ career_modules_milestones_generalMilestones_statistic 5 Milestones based on gameplay statistics (gameplay_statistic): distance traveled (vehicle/total_odometer.length, in m, 8 tiers from 10 to 300
✍ career_modules_milestones_milestones 15 Central career milestones module: save data (milestones.json), aggregated list for the UI via the onGetMilestones hook, reward claiming (one
✍ career_modules_missionWrapper 9 Links the mission system (gameplay_missions_*) with the career save. Mission progress data is stored in /career/missions/; the module
✍ career_modules_painting 13 Career paint shop, accessible from the garage computer. It prepares the scene (enters the vehicle, freezes it, orbital camera, blocks the wa
✍ career_modules_partInventory 24 Career parts inventory. Each part (installed on an inventory vehicle or in storage, location = 0) is an entry of the partInventory table key
✍ career_modules_partShopping 19 Career parts shop ("part customization" screen of the garage computer). For an inventory vehicle, it generates the list of compatible parts
✍ career_modules_payment 2 Generic career payment: checks that a price (currency table) is payable with the player's attributes and debits it via career_modules_player
✍ career_modules_permissions 1 Career permissions system. An action (tag such as vehicleModification, vehicleSelling, interactRefuel, recoveryTowToRoad...) can be allowed,
✍ career_modules_playbookWriter 4 Records the history of played missions (missionId and stars) in playbook.json in the save's career folder. Loaded only when the career is ac
✍ career_modules_playerAbstract 7 "Driver abstract" screen accessible from the garage computer in career. It adds an entry to the computer menu and provides the UI with the d
✍ career_modules_playerAttributes 15 Central registry of the player's career attributes: money, beamXP, vouchers, one attribute per branch/skill (branch.attributeKey) and <orgId
✍ career_modules_playerDriving 17 Handles the player's driving in career: setup of traffic and parked vehicles, tracking of the player state (parked, traffic, police pursuit)
✍ career_modules_quickTravel 4 Paid quick travel in career: computes a price based on the road distance between the player and a destination, then teleports the player (in
✍ career_modules_rentals 1 Unfinished draft of a vehicle rental system in career: most functions contain only comments, and the hooks (onExtensionLoaded, onSaveCurrent
✍ career_modules_reputation 5 Computation of the player's reputation with career organizations. Value between -50 and 700, converted to a level (-1 to 3 by default: quest
✍ career_modules_spawnPoints 6 Discovery of a level's spawn points in career. Every second, if the player is driving an inventory vehicle, it tests the distance to undisco
✍ career_modules_speedTraps 4 Career reaction to speed traps (gameplay_speedTraps): fines for speeding and running red lights, UI messages, flash sound, and recording int
✍ career_modules_testDrive 14 Test drive of a vehicle at a dealership in career. start() puts the player in the vehicle, creates a snapshot of the part conditions (key "b
✍ career_modules_tether 9 Career mode "tether" system: a zone (box, sphere, capsule, gate or vehicle) the player must stay around. When the player (player vehicle 0,
✍ career_modules_tuning 9 Tuning menu of a career inventory vehicle, from the garage computer. It reads the vehicle's tuning variables, applies changes by respawning
✍ career_modules_tutorial 17 Career tutorial, in 9 steps (01enterVehicle to 09spmSignup). This module is a thin layer over gameplay_tutorial_runtime: it provides the ste
✍ career_modules_tutorial_debug 1 Career tutorial imgui debug menu. It shows the current step, buttons to start/advance/end the tutorial, jump to a step, open the contract si
✍ career_modules_tutorial_step01enterVehicle 7 Career tutorial step 1 ("enterVehicle"): the player gets into the tutorial vehicle, learns the basic controls (accelerate, brake, steer, obj
✍ career_modules_tutorial_step02moveOff 5 Career tutorial step 2 ("moveOff"): learning to move off according to the gearbox mode set in step 1. Three modes (inferred from the gearbox
✍ career_modules_tutorial_step03basicManeuvers 5 Career tutorial step 3 ("basicManeuvers"): the player drives freely (message about changing camera) then must park the vehicle in the parkin
✍ career_modules_tutorial_step04timeTrial 12 Career tutorial step 4 ("timeTrial"): an intro popup launches the time trial mission west_coast_usa/timeTrial/tutorialSimple, with ground gu
✍ career_modules_tutorial_step05driveToDragStrip 6 Career tutorial step 5 ("driveToDragStrip"): the player drives to the drag strip, with ground guidance and a marker, then parks the vehicle
✍ career_modules_tutorial_step06dragStripBasics 10 Career tutorial step 6 ("dragStripBasics"): learning a drag race. The player lines up (staging), waits for the countdown, launches, reaches
✍ career_modules_tutorial_step07bigmap 10 Career tutorial step 7 ("bigmap"): learning the big map. The player opens it, reads a popup (v2/bigmapTutorial), selects the garage point of
✍ career_modules_tutorial_step08driveToGarage 6 Career tutorial step 8 ("driveToGarage"): the player drives to the garage, parks in the garageExteriorPark spot (stationary 1 s, within 25 m
✍ career_modules_tutorial_step09spmSignup 12 Career tutorial step 9 and last ("spmSignup"): the player accesses the garage computer, signs the hiring contract (contract popup, starting
✍ career_modules_tutorial_tasklistLocale 4 Helper used by the career tutorial steps to send the task list to the UI: it translates the text fields (label, subtext, labelController, su
✍ career_modules_tutorialPopups 12 Manages the career's introduction popups (tutorial and contextual help): remembers which ones have already been seen (flags saved in <profil
✍ career_modules_uiUtils 6 Utility functions for the career interface: status bar data (money, beamXP, vouchers, insurance score), simple per-branch statistics, contex
✍ career_modules_unlockFlags 6 Career unlock flags. The definitions come from other extensions via the onGetUnlockFlagDefinitions hook (each adds {unlockedFunction, icon,
✍ career_modules_valueCalculator 9 Computation of the value and repair state of career vehicles and parts: depreciation per year of age (depreciationByYear table), loss relate
✍ career_modules_vehicleClassGrouping 2 Generates vehicle groups by performance class (S, A, B, C, D) for the core_multiSpawn system (opponents, races). Walks through all Car/Truck
✍ career_modules_vehicleDeletionService 7 Deferred vehicle deletion service in career: a "marked" vehicle is deleted (with a callback call) when it is more than 100 m from the camera
✍ career_modules_vehiclePerformance 16 Performance certification ("performance index") of career vehicles, from the garage computer. startDragTest chains, with util_stepHandler, a
✍ career_modules_vehicleShopping 37 Career vehicle marketplace: generates and maintains the list of vehicles for sale (dealerships and private sellers), manages their lifetime,
✍ career_saveSystem 20 Career save system. Profiles are folders of settings/cloud/saves//; each save is a subfolder (autosave1 to autosave4 in rotation, o
✍ career_startingModes_apmOnboarding 2 Career starting mode "apmOnboarding" (tier major, order 100, image start_apm.jpg): this is the start with tutorial. This file does not retur
✍ career_startingModes_freshStart 2 Career starting mode "freshStart" (tier minor, order 200, image start_fresh.jpg): start without tutorial with 10,000 money. Description tabl
✍ career_startingModes_sandbox 2 Career starting mode "sandbox" (tier minor, order 400): 50 million money, "everything unlocked" according to its description. Description ta
✍ career_startingModes_selfMade 2 Career starting mode "selfMade" (tier minor, order 300, ignore = true): 1,000 money and a randomly generated old car. setupInventory picks,
✍ core_activity 1 Tiny GE extension (core_activity): starts a named 'activity'. Today the only known activity is 'ContinueFreeroam', which launches extensions
✍ core_audio 11 GE extension (core_audio) that loads the game's FMOD banks. On the first update, it scans /art/sound/fmod/ (and the mods subfolder
✍ core_audioForest 19 GE extension (core_audioForest): runtime coordinator of forest audio emitters. From the level's Forest trees/objects, it builds a thinned cl
✍ core_audioForest_audioForestCommon 5 Code shared between runtime (audioForest.lua) and the editor: turns the objects of a Forest into a thinned cloud of audio nodes. Loaded with
✍ core_audioRibbon 21 GE extension (core_audioRibbon): dynamic audio for 'ribbons' (rivers, waterfalls, etc.) defined in the editor. A ribbon is a strip of quadri
✍ core_busRouteManager 6 GE extension (core_busRouteManager) that manages the bus lines of a level. When the extension loads and when a level starts (init), it reads
✍ core_camera 110 GE extension (core_camera, depends on core_vehicle_manager and core_environment): central manager of all the game's cameras. It loads the ca
✍ core_camera.test 5 Unit tests of the camera system, for the game's test framework. Run from the GE Lua console: extensions.testFramework_TestManager:runTestFil
✍ core_cameraControllerRegistry 7 Optional routing layer placed in front of the camera input path. Registered 'controllers' (by id, with priority) can consume certain inputs
✍ core_cameraInput 31 Handlers for the player's camera inputs (look, move, zoom, absolute 3D mouse/SpaceMouse axes), extracted from core/camera.lua. It is not an
✍ core_cameraModes_autopoint 4 Camera filter (isFilter = true, hidden = true): makes the camera aim at a point offset from the vehicle, expressed in vehicle-local coordina
✍ core_cameraModes_autozoom 4 Camera filter (isFilter = true, hidden = true): automatically sets the field of view according to the distance between the camera and its ta
✍ core_cameraModes_bigMap 13 'bigMap' global camera (isGlobal, hidden): perspective top-down view of the big map (the freeroam 'BigMap' mode). It handles zoom (by FOV vi
✍ core_cameraModes_bigMapOrtho 13 'bigMapOrtho' global camera (isGlobal, hidden): orthographic variant of the big map camera. Same logic as bigMap (zoom, movement, mouse drag
✍ core_cameraModes_bobbing 4 Camera filter (isFilter = true, hidden = true): adds a realistic camera sway (head oscillating while walking, breathing when standing) by mo
✍ core_cameraModes_chase 9 Vehicle-bound 'chase' camera mode: the camera sits behind the vehicle at a fixed distance (default 5 m, FOV 65), looks at the target and fol
✍ core_cameraModes_collision 6 Filter that prevents the camera passing through scenery: casts static rays (castRayStatic) from the target to the four corners of the camera
✍ core_cameraModes_crash 3 Crash replay camera (hidden). Depending on camMode: 1 = close camera above the impact point (hitPoint + camOffset, fov 50); 2 = fixed camera
✍ core_cameraModes_droneChase 13 Aerial chase drone camera (disabled by default, icon cameraFocusOnVehicle1): floats above and behind the player's vehicle according to its (
✍ core_cameraModes_external 13 External "TV / fan" camera (disabled by default): places random fixed cameras along the vehicle's predicted path, changes viewpoint every 1.
✍ core_cameraModes_fallback 2 Global filter camera (isGlobal, isFilter, hidden, runningOrder 0.6) that guarantees data.res.pos and data.res.rot are set: if no camera prov
✍ core_cameraModes_free 17 Free camera (free flight, global camera of the 'world' group, hidden, order 10). Position and rotation are driven by MoveManager (translatio
✍ core_cameraModes_gameengine 2 Final global filter (runningOrder 1) that sends the computed pose (data.res) to the rendering engine: for the main view, setCameraPosRotFovN
✍ core_cameraModes_handheld 2 "Shoulder-mounted" camera filter: the aiming direction follows the target through a damped spring and the horizon tilts slightly according t
✍ core_cameraModes_manualzoom 3 Manual zoom filter: changes the field of view (FOV, in degrees) according to MoveManager.zoomIn / zoomOut, clamped between fovMin and fovMax
✍ core_cameraModes_noise 2 Noise effect: adds to data.res.pos a random offset (± factor/2 per axis) renewed every 0.1 s. Hidden mode, not a filter in the isFilter sens
✍ core_cameraModes_observer 7 Global "observer" camera for scenarios: sits on a level camera object (named by cameraName, optional fields Speed, blendSpeed, PositionMove,
✍ core_cameraModes_occupant 13 "Occupant head" camera (driver or passenger, cockpit view) defined by the vehicle's jbeam. The camera follows a head node with an adjustable
✍ core_cameraModes_onboard 5 Onboard camera (cockpit, hood, rider...) defined in the vehicle's jbeam (camera section): attaches to the refNodes.ref node (or camNodeID) w
✍ core_cameraModes_orbit 22 Orbital chase camera, main "external" mode of a vehicle. Orbits around the target point (the vehicle's ref node + offset, or a point imposed
✍ core_cameraModes_pacenoteOrbit 7 Global orbital camera around a fixed point (fixedTargetPos), used by the rally pacenotes annotation tools. Rotation by mouse, by keys (left/
✍ core_cameraModes_partFocus 6 Camera that frames a vehicle part when the parts menu highlights it. Hidden (absent from the camera cycle): core_vehicle_partFocusCamera ena
✍ core_cameraModes_path 6 Camera that follows a camera path (core_paths: markers with position, rotation, FOV, time). Interpolates position by chordal Catmull-Rom wit
✍ core_cameraModes_predictor 2 Filter that anticipates the vehicle's movement: shifts data.res.targetPos by dtFuture * data.vel (vehicle velocity) then recomputes the rota
✍ core_cameraModes_relative 21 "Vehicle-relative" free camera (disabled by default): a flying camera whose position is expressed in the vehicle's frame (ref/left/back node
✍ core_cameraModes_scriptedFree 18 Script-driven free camera (global, hidden): the pose (position, yaw, pitch downward, roll in degrees) is owned by the script every frame, wi
✍ core_cameraModes_shake 2 Slow shake filter: adds to the position (amplitudes 0.08/0.05/0.03 m) and to the rotation (10 degrees per meter of offset) sinusoidal oscill
✍ core_cameraModes_smooth 2 Position smoothing filter: three temporal springs (newTemporalSpring) on x, y, z of data.res.pos. Hidden. Returns a constructor.
✍ core_cameraModes_smoothFree 0 Cinematic free camera: builds a camera of the free mode, sets groupOrder = 20 (after the simple free camera) and enables smoothing via setSm
✍ core_cameraModes_steadycam 12 Steadycam: first-person on-foot camera of the "world" group (order 30, after free and smoothFree, hidden). Walks with the movement keys, loo
✍ core_cameraModes_topDown 8 Top-down camera (disabled by default), presented in the code as "an example of a custom camera mode". Follows the vehicle from above with lo
✍ core_cameraModes_trackir 2 Global filter (runningOrder 0.5) that applies TrackIR head tracking: shifts the position (nx, ny, nz * 0.00005) and rotates the camera (yaw,
✍ core_cameraModes_transition 5 Global filter (runningOrder 0.2) that softens camera changes: stores the previous frame's pose (position relative to the vehicle, rotation,
✍ core_cameraModes_unicycle 7 First-person camera of the on-foot character ("unicycle": the player vehicle on foot). Hidden. Head rotation comes from the yaw/pitch inputs
✍ core_cameraUpdate 3 Per-frame camera update loop, separate from core/camera.lua. It processes the player's main view then the extra render contexts (split scree
✍ core_cameraUtils_bigMapPan 3 Shared helper for smooth movement and zoom for the big map camera modes (bigMap / bigMapOrtho). Placed outside cameraModes/ because the file
✍ core_celestial 30 Real astronomical sky driven by the level's TimeOfDay. The clock (time, play, dayLength) and the observer's place/date (latitude, longitude,
✍ core_chat 0 Old IRC chat client (irc.beamng.com, channel #beamng). All the code in the file is commented out (--[[ ... ]] block, marked "not working atm
✍ core_checkpoints 14 Stores, for each vehicle of a race scenario, the last waypoint reached (position, direction, up vector, waypoint indices). Used to put back
✍ core_commandhandler 5 Executes the asynchronous commands sent to the game by the "beamng:v1//" protocol scheme (browser link, -command command-line
✍ core_couplerCameraModifier 10 When player 0's vehicle is hitched to a trailer (distance between the two vehicles between 1 and 15 m, one of the two of type "Trailer"), th
✍ core_devices 5 Drives the RGB lighting of gaming peripherals (wheels, gamepads) via the C++ Device object. Each device assigned to a player takes that play
✍ core_dynamicProps 14 Swaps Forest objects (theForest) on the fly with real physical "prop" vehicles (e.g. street lamp, trash bin) when the player gets close, so
✍ core_environment 111 GE extension core_environment: single entry point to read and modify the level environment (time of day, clouds, wind, fog, precipitation,
✍ core_flowgraphManager 27 GE extension core_flowgraphManager: manager of the running Flowgraph projects (node-based visual scripts). It creates, loads, starts, dele
✍ core_forest 1 GE extension core_forest: provides cached access to the scene's Forest object (the level's instanced forest/vegetation). A modder uses i
✍ core_funstuff 15 GE extension core_funstuff: "fun" actions of the sandbox mode radial menu: force field, vehicle boosts and flings, destruction (break, def
✍ core_gameContext 4 GE extension core_gameContext: small relay to gameplay_markerInteraction (current game context) and to the UI (foreground mission change
✍ core_gamestate 16 GE extension core_gamestate: two roles. (1) Store the GAME state (freeroam, campaign… with app layout and menu items) and broadcast it to
✍ core_groundMarkerArrows 5 GE extension core_groundMarkerArrows: manages the large floating arrows displayed at the intersections of the navigation route (model s_mm
✍ core_groundMarkers 15 GE extension core_groundMarkers: ground navigation. Computes a route (route planner) from the player vehicle to one or more points, draws
✍ core_hardwareinfo 11 GE extension core_hardwareinfo: collects hardware and system information (OS, memory, CPU, GPU, battery, disk, mods) via Engine.Platform,
✍ core_highscores 5 GE extension core_highscores: storage of the best scenario times in settings/highscores.json, organized by level, scenario and configurati
✍ core_hotlapping 39 GE extension core_hotlapping: freeroam "timed laps" mode (Hotlapping app). The player places checkpoints (waypoints with position, directi
✍ core_input_actionFilter 16 GE extension core_input_actionFilter: blocks or allows input actions by named "filter" (e.g. scenario, competitive mode). Manages action g
✍ core_input_actions 13 GE extension core_input_actions: registry of input actions (what keys/controllers can trigger). It reads the files lua/ge/extensions/core/
✍ core_input_bindings 37 GE extension core_input_bindings: loads, merges, saves and sends to the engine the key/axis -> action associations (bindings) of all conne
✍ core_input_categories 0 Data table (the file directly returns a table, no functions) listing the input action categories displayed in the controls screen. Each cate
✍ core_input_deprecatedActions 0 Data table (the file returns a table) that maps old input action names to their replacement (replacement) or declares them abandoned (`obs
✍ core_input_tests 7 GE extension core_input_tests: orchestrates the input latency/frequency tests (system, engine, vehicle, oscillation) displayed in the UI.
✍ core_input_vehicleSwitching 3 GE extension core_input_vehicleSwitching: implements switching to the next/previous vehicle (vehicle switch keys). It can follow a custom
✍ core_input_vibrationDebug 2 GE extension core_input_vibrationDebug: "Vibration Debug" ImGui debug window to tune in real time the controller vibration (haptics) param
✍ core_input_virtualInput 4 GE extension core_input_virtualInput: creation of virtual input devices (axes, buttons, POV) via the C++ VirtualInputManager and emission
✍ core_interAero 4 GE extension core_interAero: simulates aerodynamic interactions BETWEEN vehicles (slipstream / drafting, "bump drafting" and side effect).
✍ core_inventory 9 GE extension core_inventory: simple inventory for the campaign/scenarios. Stores per type (UPPERCASE key) either a numeric counter (money)
✍ core_jobsystem 6 GE extension core_jobsystem: mini cooperative task scheduler based on Lua coroutines. A modder puts a long task in it (file scan, heavy co
✍ core_lapTimes 13 GE extension core_lapTimes: prepares for the UI (lap times app) the timers of a "race" race system race: current time, current lap and seg
✍ core_levels 18 GE extension core_levels: catalog of levels (folders in /levels/), reading of their info.json, and launching a level (startLevel). A modde
✍ core_licensePlateDesign 1 GE extension core_licensePlateDesign: loads the definition of a license plate design and converts it to the current format (version 3, typ
✍ core_loadMapCmd 9 GE extension core_loadMapCmd: executes the 'openMap' launch command (link of the form beamng:v1/openMap/{level:"levels/gridmap/info.json",
✍ core_locales 19 GE extension core_locales: translation of texts on the Lua side. It loads the *.translation(s).json files from the /locales/translations/<
✍ core_metrics 5 GE extension core_metrics: performance display window (FPS, CPU/GPU times, memory, render statistics). It is displayed at the top left wit
✍ core_modmanager 33 GE extension core_modmanager: mod manager. At UI startup (onUiReady), it reads the mods/db.json database, scans /mods/*.zip and /mods/unpa
✍ core_multiSpawn 14 GE extension core_multiSpawn: generation and placement of vehicle groups. It can build a random group from the installed vehicles (with po
✍ core_multiseat 45 GE extension core_multiseat: local multiplayer management (several players on the same PC: keyboard/mouse and controllers). It decides whi
✍ core_multiseatCamera 3 GE extension core_multiseatCamera: shared camera for local multiplayer (multiseat) mode when all players see the same screen. It computes
✍ core_multiseatPlayerLimits 5 GE extension core_multiseatPlayerLimits: computes the player count limits in local multiplayer (multiseat). Two sources: the 'soft' limit
✍ core_multiseatPlayerMarkers 4 GE extension core_multiseatPlayerMarkers: reads and writes the 'multiseatTags' setting that controls the display of player markers (tags)
✍ core_nodegrabberGamepad 20 GE extension core_nodegrabberGamepad: drives the 'nodegrabber' (grab and pull a vehicle node with the mouse or controller) for controller
✍ core_onScreenKeyboard 3 GE extension core_onScreenKeyboard: facade to the platform's virtual keyboards (Steam Deck, console...). It opens the keyboard with a titl
✍ core_online 16 GE extension core_online: access layer to BeamNG's online services (authentication, mod repository API, downloads). It is only active if t
✍ core_orthoCamera 5 GE extension core_orthoCamera: enables an orthographic view (no perspective) on the main view of the OnlyGui object, via scenetree.OnlyGui
✍ core_paths 21 GE extension core_paths: management of camera paths (*.camPath.json files) used by the 'path' camera and by the path editor. It loads, cre
✍ core_playerPersonas 16 GE extension core_playerPersonas: visual identity of local players in multiplayer (multiseat). A 'persona' groups a displayed name, an ico
✍ core_quickAccess 43 GE extension core_quickAccess: the game's radial menu (quick menu). It keeps a menu tree (paths like '/root/sandbox/other/'), assembles it
✍ core_recoveryCamera 4 Temporary free camera during a vehicle's "recovery" (rewind/respawn). beginRecoveryCamera switches the player seated in that vehicle to free
✍ core_recoveryPrompt 29 Player "recovery" menu (tow to the road, flip upright, repair, return to garage, quick travel, reset the vehicle, restart or submit a missio
✍ core_remoteController 5 UDP server that lets you control the game with the BeamNG "remote controller" mobile app. getQRCode opens UDP port 4444 and returns a 5-digi
✍ core_replay 42 Lua interface of the replay system (.rpl files under replays/). It drives the C++ file stream (be:getFileStream): manual or mission recordin
✍ core_repository 22 Client of the online mod repository (BeamNG repository) on the GE side. It queries the API (core_online.apiCall, routes s1/v4 and s2/v4), ma
✍ core_reproGuard 3 Security guard for the v1/runRepro schema command: decides whether a decoded command line may be passed to run_repro.bat, based on an allowl
✍ core_ropeVisualTest 4 Development sandbox for the engine's rope visuals: an ImGui interface lets you create, clone and tune ropes (anchors A and B, directions, no
✍ core_schemeCommandServer 2 Old local UDP server (127.0.0.1:22137) that received the commands of the 'beamng:' URL scheme and passed them to commandhandler.onSchemeComm
✍ core_settings_audio 5 Audio settings: choice of output provider/device, per-channel volumes (master, engine, suspension, music, UI...) and stereo headphone mode.
✍ core_settings_clusteredQuality 1 Quality presets for "clustered" lighting (grouped local lights) and their shadows. Each level (Lowest, Low, Normal, High, Ultra) sets proper
✍ core_settings_dynCaptureQuality 2 Quality presets for dynamic vehicle captures: dynamic reflections (cubemap) and dynamic mirrors. Each function applies a level by writing th
✍ core_settings_graphic 18 Graphics settings: display mode (windowed, fullscreen, borderless), resolution, refresh rate, display driver, HDR, anti-aliasing, upscaling,
✍ core_settings_graphicsQualityGroup 5 Base class of a graphics quality group. It loads a presets module (e.g. meshQuality, terrainQuality), keeps the current level and applies a
✍ core_settings_lightingQuality 1 Lighting quality presets, consumed by graphicsQualityGroup. Each level sets the light manager, shadow filtering, specular, normal mapping, p
✍ core_settings_meshQuality 0 Mesh quality presets (shape level of detail), consumed by graphicsQualityGroup. Each level sets $pref::TS::detailAdjust and $pref::TS::skipR
✍ core_settings_multiplayer 1 Provides the "option helpers" of the multiplayer settings. Each helper has a set(value) function that forwards the setting to the matching m
✍ core_settings_settings 17 Central extension for the game settings on the GE side. It keeps the table of current values (initialized from the default values of the com
✍ core_settings_shadowsQuality 0 Shadow quality presets, consumed by graphicsQualityGroup. Each level sets $pref::Shadows::textureScalar and $pref::Shadows::disable. vehicle
✍ core_settings_terrainQuality 1 Terrain quality presets, consumed by graphicsQualityGroup. Each level sets $pref::Terrain::lodScale and $pref::Terrain::detailScale. The onA
✍ core_settings_textureQuality 1 Texture quality presets, consumed by graphicsQualityGroup. Each level sets $pref::Video::textureReductionLevel and $pref::Reflect::refractTe
✍ core_skiaTemplate 5 Lua driver for license plates drawn with Skia. It generates the plate text from the patterns of design.vars (literal text and {token} tokens
✍ core_snapshot 5 Saving and loading of "snapshots" (camera position and rotation) via the BeamNG online service (s2/v4/saveSnapshot and getSnapshot). A snaps
✍ core_solarTimeOfDay 8 Pure solar computations (no engine call): from a latitude, longitude, date and UTC offset, computes sunrise, solar noon, sunset and solar mi
✍ core_sounds 16 Bridge between the game and the FMOD audio engine on the GE side. On each render (onPreRender), it pushes global parameters (camera speed an
✍ core_supportReport 4 Sends a support report to the BeamNG server from the UI. send triggers Engine.SupportReport.send; the engine calls back onSupportReportSent
✍ core_terrain 4 Simplified access to the first TerrainBlock of the scene: terrain height and normal at a point. A modder uses it to place objects on the gro
✍ core_trafficSignals 85 GE extension core_trafficSignals (Traffic Signals V2): simulates the traffic lights, stop signs and other signals of a level. Three object
✍ core_trailerRespawn 20 GE extension core_trailerRespawn: remembers which vehicles tow which trailer (registry trailerReg) from coupling events, and repositions
✍ core_vehicle_colors 4 GE extension core_vehicle_colors: live changes of the color or paint of one of the 3 paint slots of the configured vehicle (core_vehicle_c
✍ core_vehicle_configTarget 17 GE extension core_vehicle_configTarget: remembers which vehicle (and which player) is the target of the vehicle configuration menu, so tha
✍ core_vehicle_inplaceEdit 4 GE extension core_vehicle_inplaceEdit: rudimentary "in-game" parts editor ("ingame vehicle editor"): hides the CEF interface, displays as
✍ core_vehicle_manager 24 GE extension core_vehicle_manager: GE-side vehicle loader. When the engine creates a vehicle object, it calls _spawnCCallback: loads the
✍ core_vehicle_mirror 12 GE extension core_vehicle_mirror: adjustment of a vehicle's mirror angles. Reads the mirror list from vdata.mirrors, applies an angle offs
✍ core_vehicle_partFocusCamera 13 GE extension core_vehicle_partFocusCamera: drives the hidden camera mode 'partFocus' from the parts menu. From the selected parts, compute
✍ core_vehicle_partmgmt 65 GE extension core_vehicle_partmgmt: management of parts and configuration of a vehicle during gameplay (configuration menu, tuning). Reads
✍ core_vehicle_partpreview 4 GE extension core_vehicle_partpreview: temporary preview of parts in the configuration UI (hover in partpacks), without respawning the veh
✍ core_vehicle_thumbnail 8 GE extension core_vehicle_thumbnail: generates the thumbnails (.jpg) of saved vehicle configurations, either directly in vehicles//
✍ core_vehicle_triggerLabelPlacement 2 GE extension core_vehicle_triggerLabelPlacement: computes where to place the UI label of a vehicle trigger (jbeam interaction zones) aroun
✍ core_vehicle_vehicleTriggerHighlight 9 GE extension core_vehicle_vehicleTriggerHighlight: highlights vehicle triggers (interaction zones defined in the jbeam) in the 3D world. E
✍ core_vehicleActivePooling 35 GE extension core_vehicleActivePooling: manages vehicle "pools" of which only a part is active (visible and simulated) at a time, to limit
✍ core_vehicleBridge 10 GE extension core_vehicleBridge: communication bridge between GE Lua and vehicle Lua (vlua). Sends commands to `extensions.gameplayInterfa
✍ core_vehicleMirrors 3 GE extension core_vehicleMirrors: draft of mirror reflection rendering. Follows player 0's vehicle, requests its mirror data through the o
✍ core_vehiclePaints 10 GE extension core_vehiclePaints: vehicle paint management. Reads the paint library files (paints, multiPaintSetups, paintCollections) thro
✍ core_vehicleTriggers 19 Handles the player's interaction with vehicle triggers (door handles, hood, etc. defined in the JBeam): raycast from the cursor or the cross
✍ core_vehicleTriggersDebug 3 "Vehicle event debug" ImGui window to inspect vehicle triggers: shows the state of core_vehicleTriggers (camera, held trigger, hovered posit
✍ core_vehicles 64 Vehicle catalog and spawning on the GE side. It reads the /vehicles// folders (info.json, .pc files, images, paints, jbeam) to build
✍ core_versionUpdate 3 Detects at startup whether the game was just updated to a new major version (comparison of the first two numbers of beamng_version with the
✍ core_weather 8 Applies weather presets by directly modifying the fields of scene objects (LevelInfo, CloudLayer, ScatterSky, etc.): either immediately (act
✍ core_windowsConsole 8 Bridge between the native Windows console window (C++) and Lua. It fills the dropdown list of execution contexts (GE-Lua, current vehicle, e
✍ debug_vehicleDebug 7 Debug display above each active vehicle: when enabled, onUpdate draws with debugDrawer the vehicle's id, its position and the rotation (quat
✍ editor_aiTests 3 Editor tool "Vehicle AI Path/Plan Debug" (Debug menu of the editor windows). Two tabs: "Route" lets you define a start, an end and waypoints
✍ editor_aiViz 4 Visualization of the AI navgraph in the editor. When a draw mode is active, draws the navigation map nodes (map.getMap().nodes) as spheres,
✍ editor_api_aiPath 1 Editor API module "aiPath": empty shell. It only stores the editor instance received at initialization and defines no other function in this
✍ editor_api_assets 3 Editor API for drag-and-drop of assets (file paths as strings) between ImGui windows. On initialization, adds to the editor instance: editor
✍ editor_api_camera 28 Editor camera API. initialize(editorInstance) installs on the editor object the camera type constants (CameraType_Game = 1, CameraType_Free
✍ editor_api_colorTemperatureUI 3 Editor ImGui widget to choose a light color temperature in Kelvin, with presets (candle, sodium, LED, xenon...), filament type and degradati
✍ editor_api_core 51 Core of the World Editor's editor object: initialize(editor) installs the constants (FloatMin/Max, IntMin/Max, AuxControl_*), the state (his
✍ editor_api_dataBlock 9 Editor API for managing engine datablocks (shared data objects: sounds, particles, physical materials, etc.). initialize(editor) adds the cr
✍ editor_api_decal 18 Editor API for terrain/object decals (Engine.Render.DecalMgr): creation and deletion of templates (DecalData), adding/removing instances, lo
✍ editor_api_dynamicDecals 204 API of the dynamic decals system (livery painting on the player vehicle) used by the editor's Dynamic Decals tool. It manages a layer stack
✍ editor_api_dynamicDecals_sidecarFileMigration 1 Migration of the "sidecar" files of the dynamic decal textures. Upgrades a sidecar from version 1 to version 2: removes the path field and r
✍ editor_api_dynamicDecals_textures 14 Texture management for the editor's dynamic decals system. Scans /art/dynamicDecals/textures (*.jpg and *.png), reads/writes for each a "sid
✍ editor_api_easeCurveUI 1 Editor ImGui widget for editing an easing curve (engine EaseF type). The value is a "dir type param0 param1" string. The widget shows two co
✍ editor_api_forest 8 Editor API for manipulating forest items (trees, rocks, etc. instanced via ForestData). initialize(editor) adds functions to editor to add,
✍ editor_api_forestItemTools 19 Shared editor tools for placing, selecting, moving and undoing forest items (Forest / ForestData), extracted from forestEditor.lua so that a
✍ editor_api_genericInspector 3 Generic editor ImGui inspector: displays a list of fields (name, type, value, group, id) as collapsible groups with a search filter, expanda
✍ editor_api_gizmo 30 Editor API for the 3D axis gizmo (move / rotate / scale) and for object icons in the world view. It wraps worldEditorCppApi: mode and alig
✍ editor_api_gui 124 Core of the level editor's ImGui interface: management of tool windows (registration, show/hide, groups, modals, saving/loading the layout s
✍ editor_api_guiInstancer 5 Small editor utility class that manages a list of instances of a GUI window (e.g. several copies of the same panel). Each instance is a `{ l
✍ editor_api_guiTheme 0 Editor file: defines the ImGui color palette shared by the editor tools. It does not export a table: it only adds `editor.setupEditorGuiThem
✍ editor_api_history 11 Editor undo/redo stack. Each action has a name, a data table and two undo/redo functions that receive this table. Actions are grouped into t
✍ editor_api_iesImporter 14 Converter of IES photometric files (a luminaire's light distribution profile) into a PNG "cookie" texture for the editor's SpotLights. The m
✍ editor_api_material 8 Editor API for manipulating materials (Material objects, materials.json files): creation, copy, move to another file, property modificatio
✍ editor_api_navigation 10 Editor API module intended to manage navigation meshes (NavMesh), off-mesh links and covers for AI. In 0.40.5 it is an empty shell: all the
✍ editor_api_object 65 Editor API for manipulating scene objects: selection (by id, reference, type, name mask, screen rectangle), reading/writing fields (static a
✍ editor_api_objectHistoryActions 27 Undoable (undo/redo) actions of the level editor for scene objects: creation, deletion (object or whole group, restored by serialization), f
✍ editor_api_preferencesRegistry 25 Editor preferences registry: organizes preferences as category > subcategory > item (path "category.subcategory.item"), with type, default v
✍ editor_api_proceduralContentGenerator 40 Procedural content generator (PCG) for the editor: you build a graph of nodes (point generators, transforms, spawners) then run it to create
✍ editor_api_roadRiver 19 Editor API for creating, modifying and deleting roads (DecalRoad) and node-based meshes such as rivers (River, via createMesh). It also keep
✍ editor_api_selectabilityPresets 11 Manages "selectability" presets of object types in the world editor: which object classes (TSStatic, Prefab, BeamNGVehicle...) can be clicke
✍ editor_api_sketch 4 Editor API module for "sketches" (drawings in the world). In this version it is only a shell: initialize(editor) adds three functions (creat
✍ editor_api_terrain 48 Skeleton of the editor API for terrain (sculpting, material painting, foliage). initialize(editor) adds 46 functions to the editor object, b
✍ editor_api_valueInspector 8 ImGui widget of the editor's field inspector: displays a field (name + value) in two columns and provides the editor suited to its type (tex
✍ editor_assemblySpline 9 "Assembly Spline" tool of the world editor: you draw a spline and the tool automatically places TSStatic meshes from an "assembly kit" (fold
✍ editor_assemblySpline_distribution 1 Computes, for the Assembly Spline tool, which mesh to place at each location along the spline for each rigid component and each bridge of th
✍ editor_assemblySpline_import 4 Import for the Assembly Spline tool: converts TSStatic objects already placed in the level (compatible with the assembly kit, i.e. having an
✍ editor_assemblySpline_molecule 15 "Molecule" model of the Assembly Spline tool. An assembly kit is a folder of .dae files (names containing 'root', 'bridge', 'sag', 'var') wh
✍ editor_assemblySpline_populate 5 Places the TSStatic meshes of an assembly spline in the level: from the spline geometry (divPoints, tangents, normals), the molecule and the
✍ editor_assemblySpline_splineMgr 37 Data manager of the Assembly Spline tool: holds the list of assembly splines (assemblySplines) and the id -> index table (splineMap), create
✍ editor_assetBrowser 13 "Asset Browser" window of the world editor: browses the asset tree of the current level (level folder), the shared art/ and vehicles/, displ
✍ editor_assetDeduplicator 5 Editor tool "Asset Deduplicator" (Window > Assets menu): finds duplicate files in the current level and offers to replace them with link fil
✍ editor_assetManagementTool 4 Editor tool "Asset Management Tool" (Window > Assets menu, 1200x900 window) for managing asset files and link files (for BeamNG's SVN reposi
✍ editor_audioEventsList 5 Editor window "SFX Previewer" (Audio menu) that lists all sound events (FMOD "event:>..." and sound files) of the game and lets you listen t
✍ editor_audioForestEditor 4 "Audio Forest Editor" edit mode of the level editor: configures a forest ambience sound from the trees of the Forest object. The tool builds
✍ editor_audioRibbonEditor 3 "Audio Ribbon Editor" edit mode of the level editor: creates and edits sound "ribbons" (rivers, etc.) stored in the runtime module core/audi
✍ editor_autoSave 4 Autosave of the level editor. A timer (preference files.autoSave.interval, 120 s by default) calls editor.autoSaveLevel() when files.autoSav
✍ editor_barriersEditor 5 "Barriers Selector" window (Gameplay > Barriers Editor menu) to choose the barrier prefabs of a level. It searches /levels// for .pre
✍ editor_biomeTool 12 "Biome Tool" (edit mode "Edit Biome") of the level editor: generates vegetation (Forest objects) and paints terrain materials in layers. Two
✍ editor_bulkRename 5 "Bulk Rename" window (Assets menu) of the level editor: renames scene objects in bulk. You choose the field to rename (name or internalName)
✍ editor_camPathEditor 7 Camera path editor of the World Editor ("Path Camera Tool" window, "Edit Camera Paths" edit mode). It edits the paths managed by core_paths:
✍ editor_cameraBookmarks 3 Editor window "Camera Bookmarks" (Camera menu). Lets you create, copy, paste, go to and delete camera bookmarks (CameraBookmark objects stor
✍ editor_cameraTransform 4 Small editor window "Camera Transform" (Camera menu). It reads the camera position/rotation as JSON (commands.getCameraTransformJson), lets
✍ editor_cameraV2 10 Editor extension that enables "Camera V2", an alternative set of mouse controls for the World Editor free camera (pan, orbit, zoom, planar W
✍ editor_cameraV2_controller 11 Camera V2 controller: processes the mouse input routed to Camera V2 and applies it to the existing free camera (core_camera, global "free" c
✍ editor_cameraV2_orbit 13 Camera V2 mouse look, editor style: either rotation in place from the current camera position (mode 0), or orbit around the surface at the v
✍ editor_cameraV2_validation 12 Shared Camera V2 checks to reject NaNs, infinities and extreme coordinates coming from faulty raycasts or camera computations, before applyi
✍ editor_cameraV2_zoom 5 Camera V2 zoom: replaces the standard wheel movement with a smoothed dolly along the view center. Each wheel notch changes the distance to t
✍ editor_cefHelper 2 Small tool intended to hide the CEF interface (scenetree.maincef) when the imgui editor is active. In version 0.40.5 the code is commented o
✍ editor_copyToSelected 2 Editor tool "Copy To Selected": chooses a base object and a list of target objects (current selection, same class or same TSStatic mesh), th
✍ editor_crawlEditor 27 World Editor "crawl" (rock crawling) data editor, "Crawl Data Editor" window (Gameplay menu). It loads, edits and saves four kinds of object
✍ editor_crawlEditor_boundaries 18 "Boundaries" subtool of the crawl editor: edits the boundary zones (gameplay/sites/zone objects) of a level or mission. The module returns a
✍ editor_crawlEditor_input 2 Crawl editor mouse helper: on each updateMouseInfo call, computes the camera-mouse ray, the raycast on the scene (forest disabled during the
✍ editor_crawlEditor_missionPortTool 3 Migration tool of the crawl editor: converts old crawl missions (folder /gameplay/missions//crawl// containing bounds.sites.
✍ editor_crawlEditor_paths 27 "Paths" subtool of the crawl editor: edits paths (table {name, description, nodes}) made of nodes (pathnodes) {name, pos, rotation, radius,
✍ editor_crawlEditor_presets 43 Preset and component manager of the Crawl editor (trails, boundaries, paths/pathnodes). The module returns a class C (constructor) and is no
✍ editor_crawlEditor_startingPositions 15 Crawl editor subtool to edit the starting positions. The module returns a class constructor C. A starting position is a table {name, descrip
✍ editor_crawlEditor_trails 11 "Trails" subtool of the Crawl editor. The module returns a class constructor C. A trail links a path (pathId), a boundary (boundaryId) and s
✍ editor_crawlEditor_waypoints 20 "Pathnodes" (waypoints) subtool of the Crawl editor. The module returns a class constructor C. It edits the nodes of a path (path.pathnodes,
✍ editor_createObjectTool 15 World Editor "Create Object(s)" tool: toolbar for creating level objects (SimObjects). It defines the button groups (Environment, Level, Bea
✍ editor_cubemapEditor 3 World Editor cubemap editor (Assets > "Cubemap Editor" menu, "cubemapEditor" window). It lists the CubemapData class objects of the level, l
✍ editor_dataBlockEditor 6 World Editor DataBlock (SimDataBlock) editor, accessible through the Assets > "DataBlock Editor" menu. Two-tab window: "Existing" (tree of d
✍ editor_decalEditor 7 World Editor decal editor ("Edit Decal" edit mode, "Decal Editor" window, "DecalEditor" action map). Two tabs: "Templates" (list of DecalDat
✍ editor_decalSpline 8 World Editor "Decal Spline" tool: you draw a spline (nodes, default width 10 m) along which decals are placed automatically from up to 4 com
✍ editor_decalSpline_populate 7 Module that populates a spline with decal instances (DecalData + engine instances) along its length, for the Decal Spline tool. It samples t
✍ editor_decalSpline_splineMgr 32 Spline manager of the editor's Decal Spline tool (prefix "Decal Spline", edit mode decalSplineEditMode): a decal spline follows a path (node
✍ editor_documentationHelper 3 Small editor extension that adds to the global editor table two functions to open BeamNG's online documentation in the browser. The other
✍ editor_dragRaceEditor 5 Main window of the drag race editor (Gameplay > Drag Race Editor menu). It assembles the dragRaceEditor/* submodules: list of strips and set
✍ editor_dragRaceEditor_constants 0 Constants shared by the drag race editor: window name and size, settings file extension, race types, phases, starting tree types, contexts,
✍ editor_dragRaceEditor_dragSettings 17 Manages the drag settings files (*.dragSettings.json) in the drag race editor. A settings entry describes a race: id, stripId, dragType (hea
✍ editor_dragRaceEditor_facilities 14 Manages facilities (drag installations) in the drag race editor: list loaded via gameplay_drag_saveSystem, selection, creation, deletion, sa
✍ editor_dragRaceEditor_input 2 Handles mouse input of the drag race editor for zone editing: on each update, computes the camera-mouse ray, the scene raycast and the left
✍ editor_dragRaceEditor_lanes 13 Manages the list of drag race lanes in the editor: loading from gameplay_drag_saveSystem, selection, adding, removing, saving to a .lane
✍ editor_dragRaceEditor_state 36 Shared state of the drag race editor: a single local State table (race data, current file, lane/facility/strip selection indices, mouse, und
✍ editor_dragRaceEditor_strips 23 Manages strips (drag tracks) in the drag race editor. A strip is a .strip.json file in the level's dragstrips folder: id, name, descript
✍ editor_dragRaceEditor_utils 15 Utilities of the drag race editor: error display, unsaved changes flag, undo/redo stack on dragRaceData, validation and creation of default
✍ editor_dragRaceEditor_zones 16 Drag race zone editor (strip zone or lane zone), following the same principle as the crawl editor boundaries. It relies on the gameplay/site
✍ editor_driftDataEditor 10 Drift Data Editor (Gameplay > Drift Data Editor menu): two-tab window for drift mode data. "Drift stunt zones editor" creates, moves and reo
✍ editor_drivePathEditor 7 Drive Path Editor of the world editor: tool for drawing paths (splines) that AI vehicles follow, in free mode (hand-placed nodes, with width
✍ editor_drivePathEditor_playback 4 Playback of Drive Path Editor paths (splines): associates each vehicle with its linked spline, moves it back to the start, then, once the sp
✍ editor_drivePathEditor_record 4 Path recording for the Drive Path Editor: while the player drives a vehicle, the module samples its position and speed every second, then on
✍ editor_drivePathEditor_splineMgr 32 Spline manager of the Drive Path Editor (prefix "Drive Path Spline", edit mode drivePathSplineEditMode). A path spline describes a route for
✍ editor_dynamicDecals_browser 8 "Dynamic Decals Tool - Browser" window of the editor's dynamic liveries tool: a central tabbed hub (Textures, Brushes, Fonts...) where other
✍ editor_dynamicDecals_brushes 7 Brush management for the Dynamic Decals tool: a preset saves the current state of the decal properties (color/alpha/metallic/normal/roughnes
✍ editor_dynamicDecals_camera 3 "Camera" section of the editor's Dynamic Decals tool. Shows one button per camera preset (default, front, back, left, right, top) that switc
✍ editor_dynamicDecals_colorHistory 5 "Color History" section of the Dynamic Decals tool. Keeps in an editor preference (dynamicDecalsTool.colorHistory.history) the list of the
✍ editor_dynamicDecals_colorPresets 4 "Color Presets" section of the Dynamic Decals tool. List of named colors stored in the preference dynamicDecalsTool.colorPresets.presets (
✍ editor_dynamicDecals_debugSection 3 "Debug" section (order 1010) of the Dynamic Decals tool: a series of test buttons for developers. They call the editor_api_dynamicDecals API
✍ editor_dynamicDecals_debugTextures 3 "Debug Textures" debug section of the Dynamic Decals tool. Shows, in collapsible headers, the internal textures of the editor_api_dynamicDec
✍ editor_dynamicDecals_docs 11 Documentation window built into the Dynamic Decals tool (table of contents + content). Each module of the tool registers a page there with r
✍ editor_dynamicDecals_export 3 "Export" section of the Dynamic Decals tool. Two blocks: "Export Skin" (player vehicle name + skin name, calls api.exportSkin to generate te
✍ editor_dynamicDecals_fonts 6 Font management of the Dynamic Decals tool. Generates, via FontRasterizer.createFontBitmap, glyph atlases (256 px high bitmaps, SDF option w
✍ editor_dynamicDecals_gizmo 11 Manages the axis gizmo (move / rotate / scale) of the Dynamic Decals tool. Other modules (decal, path, group...) choose the mode with setTra
✍ editor_dynamicDecals_helper 10 Small ImGui and string utility functions shared by the sections of the Dynamic Decals tool: centered text, image preview with its size, imag
✍ editor_dynamicDecals_history 3 "History" section of the Dynamic Decals tool. Displays the undo (Undo) and redo (Redo) stacks of the API's history object (api.getHistory())
✍ editor_dynamicDecals_inspector 6 Inspector of the Dynamic Decals tool: displays and lets you edit all properties of the selected layers (`editor.selection["dynamicDecalLayer
✍ editor_dynamicDecals_inspector_utils 6 Reusable ImGui widgets for the layer GUIs of the Dynamic Decals inspector: texture picker (read-only field, folder button, reset button, pre
✍ editor_dynamicDecals_layerStack 4 "Decal Stack / Layers" section (order 140) of the Dynamic Decals tool: hierarchical list of all layers of the design, with an icon colored b
✍ editor_dynamicDecals_layerTypes_brushStroke 3 "Brush Stroke" layer type of the Dynamic Decals tool: a virtual brush stroke that places a decal every frame during movement and interpolate
✍ editor_dynamicDecals_layerTypes_decal 8 "Decal" layer type of the Dynamic Decals tool, the most important one: a single decal with color, textures (color, alpha, metallic, normal,
✍ editor_dynamicDecals_layerTypes_fill 4 "Fill" layer type of the Dynamic Decals tool: fills the entire vehicle with a solid color, useful as the base of a design. Provides the "Add
✍ editor_dynamicDecals_layerTypes_group 4 "Group" layer type of the Dynamic Decals tool: a container layer that groups other layers; disabling it hides all its children. This module
✍ editor_dynamicDecals_layerTypes_linkedSet 4 "Linked Set" layer type of the Dynamic Decals tool: behaves like a group, but you can add to it in the inspector properties (among api.prope
✍ editor_dynamicDecals_layerTypes_path 3 "Path" layer type of the Dynamic Decals tool: decals placed along a path (control points interpolated linearly or as a Bezier curve), option
✍ editor_dynamicDecals_layerTypes_textureFill 4 "Texture Fill" layer type of the Dynamic Decals tool: fills the vehicle with a pattern based on an input texture, with color (or vehicle pal
✍ editor_dynamicDecals_loadSave 8 "Load/Save" section of the Dynamic Decals tool. Lets you save the layer stack to a .dyndecals.json project file ("Save as..." / "Save") an
✍ editor_dynamicDecals_meshes 3 Module (experimental, disabled) of the Dynamic Decals tool to change the shape file (.dae) onto which decals are projected. The section code
✍ editor_dynamicDecals_news 4 "Vehicle Livery Creator - News" window (public name of the Dynamic Decals tool): welcome message, link to the BeamNG forum thread and versio
✍ editor_dynamicDecals_notification 5 Notification window of the Dynamic Decals tool ("Dynamic Decals - Notifications"). Other modules call add(section, title, message, level); m
✍ editor_dynamicDecals_selection 5 Manages the selection of layers of the Dynamic Decals tool. selectLayer copies the layer into editor.selection["dynamicDecalLayer"][uid] (
✍ editor_dynamicDecals_settings 5 "Settings" section (order 1040) of the Dynamic Decals tool. Lets you enable/disable the decal API, choose the cursor position (UV) or the mo
✍ editor_dynamicDecals_textures 6 Decal texture browser of the Dynamic Decals tool (interface). Adds the "Textures" (order 10) and "Tags" (order 20) tabs to the browser, an i
✍ editor_dynamicDecals_vehicleColorPalette 6 "Vehicle Color Palette" section of the Dynamic Decals tool: lets you change the player vehicle's colors (color, colorPalette0, colorPalette1
✍ editor_dynamicDecals_widgets 6 ImGui widget library of the Dynamic Decals tool. draw() displays a property (name, description tooltip, optional widget type choice) then th
✍ editor_dynamicDecalsTool 31 Main window of the editor's Dynamic Decals tool (painting decals on the vehicle). Loads its 33 submodules via M.dependencies (editor_api_dyn
✍ editor_editorRenderSettings 7 "Editor Render Settings" window of the editor: lets you use graphics settings in the editor that differ from those of the game (anti-aliasin
✍ editor_engineAudioDebug 8 Editor window "Engine Audio Debug" (Audio menu) to tune the player vehicle's engine sound live. It fetches the engine sound data on the vehi
✍ editor_extensionsDebug 3 Editor debug window (Window > Debug > Extensions Debug menu) that lists the loaded Lua extensions (extensions.getLoadedExtensionsNames()) as
✍ editor_extensionsEditor 4 "Extensions Editor" window of the editor: lists all editor extensions (editor.allExtensionNames) and lets you enable/disable their loading b
✍ editor_ezObjectSelect 17 Entry point of the editor's "Easy Select" tool. Registers an edit mode (editor.editModes.ezObjectSelect, name "Easy Select", action map "EZO
✍ editor_ezObjectSelect_cameraBookmarks 1 ImGui camera bookmarks panel for the Easy Select tool. Lets you add the current camera position/rotation (core_camera.getPosition / getQuat)
✍ editor_ezObjectSelect_controller 44 Controller of the editor's "Easy Select" tool (M.id = "ezObjectSelect", label "Easy Select"). Replaces classic object selection: discovery o
✍ editor_ezObjectSelect_modalOperatorCommon 15 Functions shared by the modal operators (rotate, scale, translate) of the Easy Select tool: starting a transform session on the selection, h
✍ editor_ezObjectSelect_nativeGizmo 4 Wrapper of the Easy Select tool around the editor's native axis gizmo (editor.updateAxisGizmo / drawAxisGizmo). Captures the transforms/scal
✍ editor_ezObjectSelect_objectBoxAnchors 3 Computes anchor points on the bottom of an object's bounding box for the Easy Select tool. Three patterns are produced: shortEdge (middle of
✍ editor_ezObjectSelect_rotateOperator 8 "Rotate" modal operator (R key) of the Easy Select tool. Opens a transform session (history "EasySelectRotate") and rotates the selection ar
✍ editor_ezObjectSelect_scaleOperator 8 "Scale" modal operator (S key) of the Easy Select tool. On start it opens a transform session (modalOperatorCommon.begin, history "EasySelec
✍ editor_ezObjectSelect_selectionCache 5 Selection cache of the Easy Select tool. It only rebuilds the selection data (list of projected "proxies") once the camera has been still fo
✍ editor_ezObjectSelect_selectionDebug 3 Debug and visual feedback drawing of the Easy Select tool in the 3D world (debugDrawer): boxes of discovered objects, of the candidate stack
✍ editor_ezObjectSelect_selectionGeometry 10 Selection geometry of the Easy Select tool: box validation, computation of an object's 8 world corners (oriented box via getObjBox + transfo
✍ editor_ezObjectSelect_selectionLabelOverlay 1 Draws the labels (dark panels with colored border) of the Easy Select tool with the imgui drawList. "followMouse" labels are stacked near th
✍ editor_ezObjectSelect_selectionLabels 1 Small utility of the Easy Select tool: computes the text displayed to name a scene object. Priority: object name, internal name, asset file
✍ editor_ezObjectSelect_selectionModel 8 Selection model of the editor's "Easy Object Select" tool. Every frame it queries selectionQuery.gather, groups the candidates under the cur
✍ editor_ezObjectSelect_selectionQuery 5 Selection query of the Easy Object Select tool. From the mouse position and the camera, it collects the scene objects (StaticShape, StaticOb
✍ editor_ezObjectSelect_selectionScreenDebug 2 ImGui overlay drawing (full screen, no inputs) of the Easy Object Select selection: outlines/convex hulls and fills of the candidates (green
✍ editor_ezObjectSelect_stats 6 Usage statistics displayed in the Easy Object Select tool panel: number of selections, transformed distance, number of translations/rotation
✍ editor_ezObjectSelect_subtools_fence_anchors 2 Automatic fence discovery in the Easy Object Select tool. From a starting TSStatic (whose mesh is in the list of allowed assets), it looks f
✍ editor_ezObjectSelect_subtools_fence_controller 4 ImGui panel of the "Fence" sub-tool of Easy Object Select. Lets you choose the fence mesh (Asset Browser selection or object selected in Eas
✍ editor_ezObjectSelect_subtools_fence_session 14 Fence editing session of Easy Object Select. begin() discovers an existing fence from the selected object (fence/anchors) or starts a creati
✍ editor_ezObjectSelect_transformGizmo 4 3D visual guides of the Easy Object Select tool during a translation, scaling or rotation. Drawn with debugDrawer: arrows (line + prism) for
✍ editor_ezObjectSelect_transformNumericInput 4 Small keyboard numeric input buffer for the transform operations of Easy Object Select (as in Blender: typing "2.5" during a move). Reads di
✍ editor_ezObjectSelect_transformOperator 9 "Modal" translation operator of Easy Object Select, Blender-style: the G key starts moving the selection, X/Y/Z constrain to an axis, Shift+
✍ editor_ezObjectSelect_transformSession 13 Transform session (move, rotate, scale) of the selected objects for Easy Object Select. begin() stores the initial transform and scale of ea
✍ editor_ezObjectSelect_viewportOrientationGizmo 1 Small 2D orientation gizmo drawn in a corner of the editor view (ImGui, foreground draw list) for Easy Object Select: three axes X (red), Y
✍ editor_ffiptrleaktest 2 Internal editor test extension (FFI pointer leaks with ImGui). It opens a "ffi ptr leak test" window with test widgets (checkbox, sliders, t
✍ editor_fileDialog 8 Editor ImGui file dialog (open / save a file or choose a folder) on the game's virtual file system (FS). It offers navigation, recent folder
✍ editor_flowgraph_basewindow 13 Base class of the Flowgraph editor windows (legend, history, events, garbageDebug, examples, execution, main...). It wraps the Begin/End of
✍ editor_flowgraph_events 7 "Event Log" window (fg_events) of the Flowgraph editor: log of the project's events (levels Debug, Info, Warning, Error, States) with colors
✍ editor_flowgraph_examples 19 "Examples" window (fg_examples) of the Flowgraph editor. It loads (once, cached) all *flow.json files from the /lua/ge/extensions/flowgraph/
✍ editor_flowgraph_execution 5 "Task Manager" window (fg_execution) of the Flowgraph editor: lists all loaded flowgraph projects (core_flowgraphManager.getAllManagers) wit
✍ editor_flowgraph_garbageDebug 10 "Garbage Debug" window (fg_garbage) of the Flowgraph editor: analyzes memory allocation (garbage) per graph and per node of a project after
✍ editor_flowgraph_history 5 "History" window (fg_history) of the Flowgraph editor: Undo/Redo buttons and list of actions (mgr.history) from most recent to oldest. The c
✍ editor_flowgraph_legend 5 "Legend Test" window (fg_legend) of the Flowgraph editor. It is a test skeleton: four reorderable and closable tabs A, B, C, D (ImGui TabBar
✍ editor_flowgraph_main 13 Main window (fg_main, "Main view") of the Flowgraph editor: menu bar (File: new project, loading via editor_fileDialog, recent files, restor
✍ editor_flowgraph_missionVariableHelper 2 Shared utility that applies to a flowgraph project the variables of the mission selected in the Mission Editor (missionTypeData), and checks
✍ editor_flowgraph_nodePreview 6 Tooltip preview of the Flowgraph editor: displays, in a small dedicated node editor (200x200), a library node, a macro or a hovered graph. I
✍ editor_flowgraph_nodelibrary 43 Node library ("Node library", fg_nodelib) of the Flowgraph editor, also used as the content of the "CreateNodeContentMenu" context menu (rig
✍ editor_flowgraph_overview 9 "Overview" window (fg_treeview) of the Flowgraph editor: tree of the project's graphs (and macros) with a text filter. The filter applies to
✍ editor_flowgraph_projectSettings 5 "Project Settings" window (projectSettings) of the Flowgraph editor. It edits the metadata of the current project: name, description (512 ch
✍ editor_flowgraph_properties 17 "Properties" window (fg_properties) of the Flowgraph editor: inspector of the selected node (or the current graph). It displays a colored he
✍ editor_flowgraph_references 15 "References" window (fg_references) of the Flowgraph editor: usage statistics of node types. On clicking "Load Data", it lists all node temp
✍ editor_flowgraph_search 17 "Search" window (fg_search) of the Flowgraph editor: fuzzy search in the current project for nodes, graphs and pins, via editor/util/searchU
✍ editor_flowgraph_stateView 5 "State View" window (fg_stateView) of the Flowgraph editor. It lists, graph by graph (recursively from mgr.stateGraph), the states ('states/
✍ editor_flowgraph_variables 10 "Variables" window (fg_variables) of the Flowgraph editor. It shows the variables of the current graph (mgr.graph.variables) and those of th
✍ editor_flowgraph_welcome 8 "Welcome" window (fg_welcome) of the Flowgraph editor. Displays a header image (welcomeHeader.png), a side image (welcomeSide.png), a left c
✍ editor_flowgraphEditor 37 Game editor extension that hosts the Flowgraph editor (visual node graph editor for gameplay, scenarios and missions). It creates the main w
✍ editor_forestEditor 20 "Edit Forest" tool of the world editor: painting and editing of forest objects (ForestItem) with brushes (ForestBrush/ForestBrushElement bru
✍ editor_forestTsstaticMover 2 Editor tool "Forest TSStatic Mover" (Window > Terrain menu) that converts instances between the forest (ForestItem) and TSStatic objects. Tw
✍ editor_forestView 3 Editor "Forest View" window, intended to list the forest's ForestItemData ("theForest") as buttons sorted by name. The module is largely unf
✍ editor_gizmoHelper 3 Small utility to know whether the editor's axis gizmo is drawn. A tool calls gizmoDrawCalled() every frame it draws the gizmo; on the next f
✍ editor_groundCoverEditor 4 GroundCover editor (grass, rocks, billboards spread over the terrain) of the world editor. "Ground Cover Editor" window in two columns: list
✍ editor_groundModelDebugHelper 1 Adds to the editor the menu entry Window > Debug > "GroundModel Debug", which opens the window of the util_groundModelDebug extension (exten
✍ editor_headlessEditorTest 0 Development example of the editor's "headless" mode (hides menus and toolbars to show only its own tool). The module only exports its hooks
✍ editor_heroRoadEditor 7 "Hero Road" editor: creation and editing of roads by splines (road groups with nodes, profiles, layers, mesh, sidewalks, barriers, lighting
✍ editor_heroRoadEditor_barrierMgr 4 Manager of the roadside furniture (guardrails, fences, lampposts) of a Hero Road Editor group. It reads the group's mesh edges (meshEdgeL/R,
✍ editor_heroRoadEditor_exportMgr 4 Baking to DAE files and management of the Edit/Live state of a Hero Road Editor group. The bake writes the group's driving mesh to /a
✍ editor_heroRoadEditor_groundmodel 14 Groundmodel painting mode (dry, wet, snow, ice...) of the Hero Road Editor. The artist paints with the mouse on the roadway; the paint is st
✍ editor_heroRoadEditor_groupMgr 58 Central manager of the "groups" (roads) of the Hero Road Editor. A group is a Lua table describing a road: nodes/widths/normals, cross-secti
✍ editor_heroRoadEditor_heatmap 2 Compliance heat map (slope and corner radius) of the Hero Road Editor. compute() scores each station of the group's centerline from 0 (compl
✍ editor_heroRoadEditor_import 2 Import of existing DecalRoads into a new Hero Road group. From a selection of DecalRoads (or a selection polygon), the module estimates a re
✍ editor_heroRoadEditor_layerMgr 44 Management of the marking and detail layers of a Hero Road. A layer (group.layers[i]) describes a decal strip laid on the roadway (material,
✍ editor_heroRoadEditor_mesh 8 Generation of a group's procedural driving mesh in the Hero Road Editor. Sweeps the profile.lua cross-sections along the 3D centerline (divP
✍ editor_heroRoadEditor_meshRefine 2 Mesh decimation for the Hero Road Editor, using the Ramer-Douglas-Peucker (RDP) algorithm. decimateStations reduces the number of stations (
✍ editor_heroRoadEditor_placeablesUI 2 ImGui interface of the Features tab of the Hero Road Editor, for the elements that can be placed on the road: crosswalks, repair patch clust
✍ editor_heroRoadEditor_profile 3 Cross-section profile of a Hero Road Editor group. Turns the lane, crown and shoulder parameters into a 2D cut per station (lateral offset o
✍ editor_heroRoadEditor_repairMgr 2 Rendering of the repair patch clusters (asphalt patches) of a Hero Road Editor road. Each cluster group.repairs[i] (created in the Features
✍ editor_heroRoadEditor_sidewalkMgr 4 Procedural sidewalks/curbs of a Hero Road Editor group. Thin layer on top of the shared sweep toolUtilities/walkRibbon: reads the actual ban
✍ editor_iconOverview 6 Editor window "Available Icons" (Window > Debug menu) that lists all the icons of editor.icons in a filterable grid, with a tooltip of the n
✍ editor_iesEditor 3 Editor window "IES Cookie Importer (WIP)" (Window > Experimental menu). It reads an IES photometric file, displays its metadata (header, pho
✍ editor_imguiCDemo 2 Editor extension that adds the "ImGui Demo" menu entry (Debug group of the Window menu). It opens the built-in Dear ImGui demo window (ui_im
✍ editor_inspector 20 World Editor Inspector window: displays and edits the fields (static, dynamic, arrays) of the selected object or objects, with specialized e
✍ editor_layoutManager 7 Management of the editor's window layouts. Each layout is a folder settings//layouts// containing windowsState.json; the current
✍ editor_levelSettings 3 Minimal editor extension: registers an inspector handler for the "level_settings" selection type (which only displays the text "Level Settin
✍ editor_levelValidator 17 Editor "Level Validator" tool (Window > Debug menu). The "Find issues" button starts a job that searches the level for duplicated objects, f
✍ editor_lightClassConverter 1 Adds a "Convert To Spot Light / Point Light" button at the top of the inspector when the selection contains only PointLight or only SpotLigh
✍ editor_logHelper 1 Editor extension that displays in the editor's main menu bar the error counter (red, suffix E) and warning counter (yellow, suffix W) of the
✍ editor_logger 2 Empty editor extension (skeleton). It declares onEditorGui and onExtensionLoaded without any code: no window or behavior is added.
✍ editor_main 30 Core of the World Editor: defines the global editor (editor = M). It loads all the extensions in lua/ge/extensions/editor/ (those containi
✍ editor_mainMenu 12 Main menu bar of the World Editor: File, Edit, Camera, Object, View, Window, Help menus, plus the level title, current edit mode, notificati
✍ editor_mainToolbar 6 Main toolbar ("Main Toolbar" window) of the World Editor. It contains the general buttons (new/open/save level...), the axis gizmo buttons (
✍ editor_mainUpdate 3 Editor update loop, called every frame via onUpdate when the editor is active. It updates and draws the object icons, broadcasts preference
✍ editor_mapJsonEditor 10 Editor for the navgraph file levels//map.json (menu Window > Roads > Map Json Editor). This file contains manual road segments: order
✍ editor_masterSpline 7 Master Spline tool of the World Editor ("masterSpline" edit mode). A Master Spline is a master curve (nodes, widths, normals) that drives a
✍ editor_masterSpline_autoRoadGen 5 Automatic road generation of the Master Spline tool: between each pair of consecutive nodes, a grid pathfinding (8 directions, minheap prior
✍ editor_masterSpline_burn 2 Locking ("burn" = lock) of an editor Master Spline. A Master Spline has a stack of linked child splines (mesh, assembly, road, tree, decal);
✍ editor_masterSpline_homologation 3 Master Spline tool utility to "homologate" a spline against a road standard preset (roadDesignStandards): it measures the geometric deviatio
✍ editor_masterSpline_jumpTables 0 Master Spline tool utility module: groups dispatch tables keyed by a layer's link type (tool prefix of meshSpline, assemblySpline, decalSpli
✍ editor_masterSpline_layerMgr 10 Manager of the layers of a Master Spline. A layer links the Master Spline to a child spline of another tool (mesh, assembly, decal, road, tr
✍ editor_masterSpline_splineMgr 36 Data manager of the editor's Master Spline tool. It stores the list of Master Splines (nodes, widths, nmls, layers, geometry mode "engineere
✍ editor_materialEditor 18 World material editor ("materialEditor" window of the level editor). It lists the materials of the level and of art/, lets you edit their pr
✍ editor_measuresInspectorHeader 3 Small editor extension that adds a "Size: X x Y x Z" line to the object inspector header. It shows the size (bounding box, scale included) o
✍ editor_meshEditor 14 Code shared by the editors of "mesh"-type node objects (MeshRoad and River) of the world editor. It is not an extension loaded by extensions
✍ editor_meshRoadEditor 2 World editor extension that provides the "Edit MeshRoad" mode (mesh roads). It loads editor/meshEditor.lua with dofile(), sets type = "MeshR
✍ editor_meshSpline 9 Mesh Spline tool of the world editor: you draw a spline (nodes, widths, normals) along which static meshes (TSStatic) are repeated, for exam
✍ editor_meshSpline_import 3 Import into the Mesh Spline tool: turns TSStatic objects already placed in the level into an equivalent mesh spline. The TSStatic are ordere
✍ editor_meshSpline_populate 8 Placement of static meshes along a mesh spline. From the spline geometry, it samples positions (period = mesh length + spacing, floor of 10%
✍ editor_meshSpline_populationEngine 4 Small geometry engine used by the Mesh Spline tool: it computes the derived geometry of a spline (subdivided points, widths, tangents, norma
✍ editor_meshSpline_splineMgr 39 State manager of the Mesh Spline tool: holds the list of mesh splines (meshSplines) and the id-to-index table (splineMap). It creates, copie
✍ editor_missionEditor 15 World editor "Mission Editor" window to create and edit the game's missions (info.json of each mission folder). It lists the missions with f
✍ editor_missionEditor_additionalAttributes 7 "AdditionalInfo" section of the Mission Editor: edits the author, the creation or update date (Unix timestamp), the "As Scenario" and "DEV M
✍ editor_missionEditor_careerSetup 10 Career setup section of the Mission Editor (mission.careerSetup): choice of the modes where the mission appears (Freeroam, Career), associat
✍ editor_missionEditor_conditions 4 Condition editor of the Mission Editor, used twice by missionEditor.lua: "Start Condition" (field startCondition) and "Visibility Conditions
✍ editor_missionEditor_dev 3 "Dev Notes" section of the Mission Editor: edits mission.devNotes (free text, silent/info/warning/error mode, "Dev Mission" checkbox that hi
✍ editor_missionEditor_general 4 "General" section of the Mission Editor: edits the mission's name and description (ImGui text fields) and displays a translation icon (green
✍ editor_missionEditor_genericTypeData 13 Mission editor panel that edits a mission's missionTypeData field. It lists the mission types (gameplay_missions_missions.getMissionTypes),
✍ editor_missionEditor_issues 6 "Issues" panel of the mission editor. It aggregates the issues detected by the other panels (each window's getMissionIssues method) for all
✍ editor_missionEditor_layers 4 "Layers" panel of the mission editor. A mission looks for its files in an ordered list of folders (mission.layers, each with a dir field) un
✍ editor_missionEditor_objectives 14 "Objectives / Career Setup" panel of the mission editor. It configures the mission's stars (starsActive, defaultStarKeys for the 3 default s
✍ editor_missionEditor_playbookUtils 3 "Playbook Utils" tab of the mission editor. It offers buttons that add missionAttempt instructions for the current mission to editor_mission
✍ editor_missionEditor_prefabs 3 "Prefabs" panel of the mission editor. It edits the mission.prefabs list (paths of .prefab / .prefab.json files) and the boolean prefabsRequ
✍ editor_missionEditor_previewChecker 5 "Preview" panel of the mission editor. It checks the presence and size of the preview image (preview.png/jpg/jpeg, expected at 1920x1080, <=
✍ editor_missionEditor_progressMulti 3 "Progress Multi" tab of the mission editor: displays the saved progress of a multi-progress mission. It reads gameplay_missions_progress.for
✍ editor_missionEditor_progressSetup 3 "Progress" tab (progress configuration) of the mission editor. It gets the mission type's progress definition (gameplay_missions_missions.ge
✍ editor_missionEditor_progressSingle 4 "Progress Single" tab of the mission editor: shows a mission's saved progress (stars unlocked by default and in total, default progress key,
✍ editor_missionEditor_setupModules 6 "SetupModules" panel of the mission editor. It edits mission.setupModules, three enableable modules: vehicles (offered vehicles, player vehi
✍ editor_missionEditor_startTrigger 4 "StartTrigger" panel of the mission editor. It edits mission.startTrigger: type "coordinates" (level + position, rotation and radius editabl
✍ editor_missionPlaybook 7 "Mission Playbook" editor extension (Missions menu). A playbook is a list of instructions (book.instructions) replayed on a career slot to t
✍ editor_missionPlaybook_attributeViewer 4 "Playbook Attribute Viewer" window associated with editor_missionPlaybook. At each playbook step, it records the player's attributes (career
✍ editor_missionPlaybook_missionTreeViewer 4 "Playbook Mission Tree Viewer" window associated with editor_missionPlaybook. It draws, with the flowgraph node editor (ui_flowgraph_editor)
✍ editor_missionPlaybook_unlockedMissionsViewer 4 "Playbook Unlocked Missions Viewer" window associated with editor_missionPlaybook. After each playbook step, it sorts the career missions in
✍ editor_missionStartPositionEditor 2 "Edit Mission Start Position" edit mode of the World Editor (flag icon). It draws with debugDrawer a sphere and the name for each mission wh
✍ editor_multiSpawnManager 6 Editor tool "Vehicle Groups Manager" (Gameplay menu) to create, edit, load and save vehicle groups (.vehGroup.json files) and make them spaw
✍ editor_navMeshEditor 6 Editor of the Recast navmesh (AI navigation mesh) in the World Editor, modeled on the river editor: a "Navigation Mesh" edit mode, a toolbar
✍ editor_newsMessage 3 Editor extension that displays a "World Editor News" modal window with the important release notes, only once per message version (EditorNew
✍ editor_objectScreenSizeViz 2 "Object Screen Size" debug tool (Debug menu) of the World Editor. For the selected objects (editor.selection.object) and forest items (edito
✍ editor_objectToSplineEditor 2 "Object To Spline Editor" tool of the World Editor: copies an object (TSStatic or BeamNGVehicle) along a guide spline (DecalRoad or MeshRoad
✍ editor_objectTool 13 Main edit mode of the World Editor, "Manipulate Object(s)" (editor.editModes.objectSelect, pencil icon). It handles object selection (click,
✍ editor_particleEditor 5 Particle editor ("Particle Editor" edit mode) of the world editor. It adds a header to the inspector with an Emitter tab (choose, create, sa
✍ editor_particleEditor2 7 Second, experimental version of the particle editor: a tool window "Particle Editor 2" (Window > Experimental menu) with, on the left, a 3D
✍ editor_perfProfiler 4 Editor window "CameraProfiler" (Debug > Performance Recorder menu) to record and compare performance. It starts a recording along a camera p
✍ editor_prefabInstanceEditor 2 Adds a "PrefabInstance" section at the top of the editor inspector when all the selected objects are PrefabInstance. If at least one instanc
✍ editor_preferences 11 "Preferences" window of the world editor. It displays on the left the list of pages (categories of the editor.preferencesRegistry registry)
✍ editor_raceEditor 19 Main "Race Tool" window of the race/path editor (menu Gameplay > Race/Path Editor, edit mode "Edit Races"). It manages the current race file
✍ editor_raceEditor_pacenotes 16 "Pacenotes" sub-window of the race editor (raceEditor). It lets you list, select, create (Shift + drag in the world to set position, radius
✍ editor_raceEditor_pathnodes 23 "Pathnodes" sub-window of the race editor (raceEditor): edits the path nodes (path.pathnodes) of the current path. You can create a manual n
✍ editor_raceEditor_segments 15 "Segments" sub-window of the race editor (raceEditor). A segment links two pathnodes (From/To) and has a mode: waypoint, capsules or navpath
✍ editor_raceEditor_startPositions 16 "Start Positions" sub-window of the race editor (raceEditor). It lists, creates (Shift + drag: position and orientation), selects, moves wit
✍ editor_raceEditor_testing 10 "Race Test" window of the race editor: lets you try the race being edited. It creates a gameplay/race/race object from the current path (deb
✍ editor_raceEditor_timeTrials 11 "Time Trials" sub-window of the race editor: track metadata (name, description, authors, difficulty Easy/Medium/Hard/Very Hard), classificat
✍ editor_raceEditor_tools 12 "Tools" sub-window of the race editor (raceEditor). "Side Decorators" section: generates decorations (TSStatic .dae or prefab) on both sides
✍ editor_raceEditor_trackLayout 11 "Track Layout" sub-window of the race editor (raceEditor). It sets the default lap count (defaultLaps, minimum 1), the start and end nodes (
✍ editor_rallyEditor 76 Main "Rally Editor" window of the world editor (menu Gameplay > Rally Editor, edit mode "Rally Editor" / notebookEditMode, action map "rally
✍ editor_rallyEditor_aiCompetitorsEditorModel 9 Data model of the rally editor's "AI Competitors" tab. It reads and writes the JSON file gameplay/rally/aiCompetitorsConfig.json (sections g
✍ editor_rallyEditor_aiCompetitorsEditorPlot 2 ImGui drawing (via the draw list) of the finish time distribution preview in the rally editor's "AI Competitors" tab. drawFinishTimeChart dr
✍ editor_rallyEditor_aiCompetitorsEditorPreview 2 Computation of the preview data for the rally editor's "AI Competitors" tab. From the general parameters, the reference time and a competito
✍ editor_rallyEditor_aiCompetitorsEditorTexts 0 Table of texts (labels, section titles, tooltips) in English for the rally editor's "AI Competitors" tab. No code: the module only contains
✍ editor_rallyEditor_aiCompetitorsTab 14 "AI Competitors Configuration" tab of the rally editor. It lets you set the global parameters of the AI competitors' outcome model (26 group
✍ editor_rallyEditor_drivelineEditSurface 9 Editing toolbox for the driveline spline (rally driving line) for the rally editor. All functions take a "host" (the window that owns host.d
✍ editor_rallyEditor_drivelineTab 36 "Driveline Editor" tab of the rally editor. It loads a mission's driving line (driveline) from a raw recording, from the saved final line (s
✍ editor_rallyEditor_ghostNotebook 11 Manages the rally editor's "ghost notebook": a second notebook (or the active notebook's calibration metadata) whose notes are displayed as
✍ editor_rallyEditor_ghostNotebook_ghostRenderer 5 Draws the rally editor's ghost notebook labels in the 3D view. For each pacenote of the ghost notebook, it projects the corner start onto th
✍ editor_rallyEditor_measurementsTab 26 "Measurements" tab of the rally editor: a tool for measuring distances along the road (snaproad). The user creates measurements, clicks poin
✍ editor_rallyEditor_missionTab 5 "Mission" tab of the rally editor. It displays read-only the current mission's name, identifier and folder (with a button that opens the fol
✍ editor_rallyEditor_notebookInfo 11 "Notebook" tab of the rally editor. It displays the current notebook's information (id, file, validation issues) and lets you change its nam
✍ editor_rallyEditor_pacenotes 99 "Pacenotes" tab of the rally editor, the most important of the editor: it handles selection of pacenotes and waypoints (corner start / corne
✍ editor_rallyEditor_pacenotes_calibrationAnalysisExport 6 Exports a rally notebook's corner calibration data to a JSON file intended for analysis (for example by an LLM) to adjust the corner intensi
✍ editor_rallyEditor_pacenotes_calibrationMetadataForm 1 "Calibration Metadata" imgui form displayed in the pacenote editor. It lets you choose, for the selected pacenote, five calibration values (
✍ editor_rallyEditor_pacenotes_calibrationWindow 1 Floating "Pacenote Calibration" imgui window of the rally editor, with three tabs. "Calibration": editing of the corner intensity diameter b
✍ editor_rallyEditor_pacenotes_customAudioList 1 Imgui list of a rally notebook's custom audio clips, used in the pacenote editor (custom audio mode). It displays all clips in order, groupe
✍ editor_rallyEditor_pacenotes_customForm 2 Imgui form of the pacenote editor for pacenotes in "custom" audio mode (custom audio files). It displays the "Slow Corner" checkbox and its
✍ editor_rallyEditor_pacenotes_measurementsForm 2 "Measurements" section of the rally pacenote editor: collapsible by clicking its title. For the selected pacenote it displays the summary of
✍ editor_rallyEditor_pacenotes_pacenoteForm 4 Main pacenote editing form in the rally editor. It displays the name, the actions (Place Vehicle, TODO, Done, Delete..., merge with previous
✍ editor_rallyEditor_pacenotes_selectedPacenoteUtility 1 Small blue floating "Selected Pacenote Utility" window of the rally editor. For the selected pacenote, it displays three blocks: "Actual" (c
✍ editor_rallyEditor_pacenotes_structuredForm 2 "Structured" editing form of a pacenote in the rally editor. It displays a preview of the text and audio files, then the sections Caution, M
✍ editor_rallyEditor_recceTab 11 "Recce" tab of the rally editor. It loads the mission's recce recording (driveline + "cuts", via gameplay/rally/recce), displays the number
✍ editor_rallyEditor_stageLoaderModal 1 "Open Rally Stage" modal window of the rally editor. It lists the rallyStage missions of the current level (gameplay_missions_missions.getFi
✍ editor_rallyEditor_systemPacenotesTab 6 "System Pacenotes" tab of the rally editor: read-only table of the notebook's system pacenotes (internal use, e.g. countdown), with name, we
✍ editor_rallyEditor_testTab 7 "Test" tab of the rally editor (debug tool). The module returns a class C constructor. It offers a "Test 1" button (prints a random "precoun
✍ editor_rallyEditor_voicepacksTab 8 "Voicepacks" tab of the rally editor. It lets you choose the voicepack and the associated notebook (dropdowns), and lists the global voicepa
✍ editor_rallyEditor_zSnap 12 Rally editor helper to "snap" a point's height (z) to the terrain. Three methods: none, terrain height (core_terrain.getTerrainHeight) or ve
✍ editor_rayCastTest 5 Editor debug tool (menu Debug > Raycast Test) to compare two types of raycasts. Mode 0 "Gameengine Raycast": a translation gizmo places a po
✍ editor_renderTest 0 Editor debug tool ("Render test" window) intended to display a view of the scene rendered into a texture (top/bottom/left/right/front/back/3
✍ editor_renderViewBuffers 2 Editor debug tool (menu Debug > "NamedTextureTarget Viewer") to preview render buffers (NamedTexTargets) with imgui: filterable list on the
✍ editor_rendererComponents 3 Editor "Renderer Components" window (Debug menu) to adjust rendering effects live: depth of field (DOF), HDR, SSAO, anti-aliasing, motion bl
✍ editor_resourceChecker 7 Editor "Resources Checker" window (Assets menu) to audit the current level's resources. Three tabs: "Materials Verification" (material versi
✍ editor_resourceChecker_resourceUtil 29 Engine of the editor's Resource Checker tool: analyzes the materials, textures, meshes and assets of a level or vehicle (material versions,
✍ editor_riverEditor 2 "River" edit mode of the world editor. This file is a thin wrapper: it loads the generic logic of meshEditor.lua (via dofile), configures it
✍ editor_roadArchitect 4 Main window of the world editor's Road Architect editor: a tool for creating roads, profiles, prefab groups, junctions (including auto-junct
✍ editor_roadArchitect_clothoid 1 Clothoid evaluation (Euler spirals, curvature varying linearly with arc length) for Road Architect. The code is largely based on the Clothoi
✍ editor_roadArchitect_decals 4 Road Architect decal management. For a given road, creates a "decal set": invisible DecalRoads (road_invisible material) per section of road
✍ editor_roadArchitect_geometry 1 Geometry module of the Road Architect editor (GE). It turns a road's reference nodes into discretized points along a spline, then computes f
✍ editor_roadArchitect_groups 19 Road Architect group management (GE editor). Two notions coexist: prefab groups (reusable road templates, such as intersections or roundabou
✍ editor_roadArchitect_importFile 4 File import utilities for Road Architect, designed for headless use (tech/BeamNGpy bridge). They read a file from a virtual or native path,
✍ editor_roadArchitect_junctions 34 Junction management of the Road Architect editor: pedestrian crossing, crossroads, T, Y, roundabout, rural/urban and highway/urban transitio
✍ editor_roadArchitect_link 4 Road Architect editor module that links roads together. It detects whether the end of a road can be connected to that of another (identical
✍ editor_roadArchitect_networkImport 2 Shared OpenStreetMap (.osm) and SUMO (.nod.xml/.edg.xml) import into Road Architect. Each OSM way or SUMO edge becomes an independent Road A
✍ editor_roadArchitect_openDriveExport 1 Export of the Road Architect network in OpenDRIVE 1.8 format (.xodr). Each road (excluding overlays) is converted to OpenDRIVE geometry: ref
✍ editor_roadArchitect_openDriveImport 2 OpenDRIVE (.xodr) import into Road Architect. The XML file is parsed (roads: planView with line/arc/spiral/poly3/paramPoly3, elevationProfil
✍ editor_roadArchitect_osmImport 0 Small Road Architect alias module: it loads editor/roadArchitect/networkImport and re-exports its importOsmFromFile function under the name
✍ editor_roadArchitect_overlays 7 Generation of the overlay roads of Road Architect junctions: fictitious trajectory lines crossing the junction, from an entry lane to an exi
✍ editor_roadArchitect_profiles 60 Management of the lateral profiles (cross sections) of Road Architect roads. A profile is a table keyed by lane number: negative keys (-1 to
✍ editor_roadArchitect_render 1 Debug rendering (utils/debugDraw and debugDrawer) of everything Road Architect displays in the 3D view: road surface and outline, reference
✍ editor_roadArchitect_roadMesh 5 Creates the procedural meshes (ProceduralMesh scene objects) of Road Architect: sidewalks with curbs (kerbs) on the left or right of the roa
✍ editor_roadArchitect_roads 53 Central container of Road Architect: it stores the list of the session's roads (each road = nodes, lateral profile, display options, bridge,
✍ editor_roadArchitect_staticMesh 2 Places TSStatic objects (.dae files) along the Road Architect roads, from the layers of the lateral profile. Two layer types are handled: ty
✍ editor_roadArchitect_staticMeshMgr 7 Manages the "audition" of static meshes in Road Architect: it lists the available .dae files (art/shapes/objects and art/shapes/garage_and_d
✍ editor_roadArchitect_sumoImport 0 Small routing module for the SUMO import (.nod.xml / .edg.xml files) into Road Architect. It contains no logic: it re-exports the networkImp
✍ editor_roadArchitect_terraform 5 Modifies the terrain (TerrainBlock) to fit the Road Architect roads: flattens the terrain under a road or road network (with a domain of inf
✍ editor_roadArchitect_tunnelMesh 2 Generates the automatic tunnels of Road Architect: a procedural mesh (ProceduralMesh) shaped as a tube around the road, and it punches the t
✍ editor_roadArchitect_utilities 43 Road Architect toolbox: drawing of debug spheres/lines, mouse detection on the terrain or on a node, road bounding box computations, file pa
✍ editor_roadDecorations 2 Automatically places decorative objects (TSStatic, for example reflectors or posts) on each side of a DecalRoad, at regular intervals. The o
✍ editor_roadEditor 8 Decal road (DecalRoad) editor of the World Editor: "Edit Road" edit mode (create_road_decal icon) to create roads (Alt + left click), select
✍ editor_roadNetworkExporter 3 "Road Network Import/Exporter" editor window (Window > Tech menu), visible only with a tech license (ResearchVerifier.isTechLicenseVerified(
✍ editor_roadRiverCacheHandler 2 Small editor manager that maintains the DecalRoad vertex cache: it initializes it for all the level's DecalRoads when the editor starts, and
✍ editor_roadRiverGui 1 UI elements shared by the road (DecalRoad) and river editors: highlight color palette (hover, selection, nodes, duplication...), node size f
✍ editor_roadSpline 8 "Road Spline" tool of the level editor: you draw a spline (nodes + widths) and the tool automatically generates DecalRoads stacked in layers
✍ editor_roadSpline_groupMgr 35 Manager of the "groups" of the Road Spline tool: a group = a road (nodes, widths, normals, layers, automatic layer options, terrain painting
✍ editor_roadSpline_import 2 Import of existing DecalRoads into the Road Spline tool. Estimates a reference centerline (nodes, widths, normals) from the chosen roads by
✍ editor_roadSpline_layerMgr 43 Manager of the layers of a Road Spline group. A layer is an offset strip along the road, materialized by one or more DecalRoads (split into
✍ editor_roadTemplateEditor 3 Road template editor (Window > Roads > "Road Template Editor" menu). Lets you choose, save ("Save", "Save as..."), create ("New") and delete
✍ editor_roadUtils 7 Road template utilities of the editor. Reads the levels//roadtemplates/*.road.json files, stores the templates' materials and materia
✍ editor_roofServices 0 Empty file in BeamNG.drive 0.40.5 (0 lines): no code, no exported function. Probably a placeholder for a future editor roof tool.
✍ editor_sceneTree 25 "Scene Tree" window of the level editor: displays the hierarchy of scene objects (MissionGroup, SimGroups, objects) as an ImGui tree with vi
✍ editor_sceneView 4 Additional scene views of the editor: each "Scene view N" is an ImGui window that displays the world via an ImguiRenderViewControl, with its
✍ editor_screenshotCreatorBootstrap 1 Small editor bootstrap: adds the Window > Vehicles > "Vehicle Screenshot Creator" menu entry that opens the window of the util_screenshotCre
✍ editor_scriptAIEditor 6 ScriptAI scenario editor: 'Edit ScriptAI Scenario' edit mode (BNGMicrochip toolbar icon) to create, edit and run scripted vehicle trajectori
✍ editor_scriptAIManager 10 'Script AI Manager' window (Gameplay menu): records, replays and saves the driving of the scene's vehicles for level designers. For each veh
✍ editor_shapeEditor 10 World editor Shape Editor: a window that previews a 3D model (.dae and others) through the C++ ShapePreview object, with an orbital camera a
✍ editor_shortcutLegend 4 World editor window (no title bar) that displays a legend of the shortcuts of the active edit mode. It reads either editor.editMode.getLegen
✍ editor_sitesEditor 16 Editor for 'sites' files (*.sites.json): locations, zones and parking spots (parkingSpots), with their tags. It opens the 'Sites: Locations
✍ editor_sitesEditor_locations 11 'Locations' sub-editor of the sites editor. The module returns a class constructor C (called with sitesEditor and the key 'locations'). It h
✍ editor_sitesEditor_parkingSpots 12 'Parking Spots' sub-editor of the sites editor. The module returns a class constructor C. A spot is an oriented box (pos, rot, scl); the edi
✍ editor_sitesEditor_sortedListDisplay 13 Generic display of a sorted list of sites elements (locations, zones, parking spots), used as a tab by the sites editor. The module returns
✍ editor_sitesEditor_tags 7 'Tags' tab of the sites editor (Location Tags, Zone Tags, Parking Spot Tags depending on the key). The module returns a class constructor C.
✍ editor_sitesEditor_zones 15 'Zones' sub-editor of the sites editor. The module returns a class constructor C. A zone is a polygon of vertices with optional top and bott
✍ editor_suspensionAudioDebug 6 Small editor debug window (Audio menu) that plots the player vehicle's suspension sounds. Every frame it asks the vehicle (queueLuaCommand)
✍ editor_terraform_fetchSources 2 Fetches the 'sources' that the Terraform tool can follow: MeshRoad roads of the scene, RAT (Road Architect) roads, mesh splines, assembly sp
✍ editor_terraform_terraform 18 Terrain terraforming engine of the editor. It modifies the TerrainBlock heightmap to align it with 'sources' (road strips: list of {pos, wid
✍ editor_terraformTool 17 Facade of the world editor's Terraform tool. It stores five settings (domain of influence, margin, falloff, roughness, noise scale) as edito
✍ editor_terrainAndRoadImporter 7 Editor tool 'Terrain And Road Importer': imports a terrain from a 16-bit grayscale PNG (height = value/65535 x zMax), or deforms the terrain
✍ editor_terrainEditor 46 World Editor terrain editor ('Terrain Tools' edit mode, terrainToolsEditMode). It handles the sculpting, material painting and terraforming
✍ editor_terrainMaterialsEditor 3 World Editor 'Terrain Material Library' window: lists, edits, duplicates, deletes and imports from another level the level's terrain materia
✍ editor_textEditor 4 Editor extension that provides a multiline 'Text Editor' window to modify the text content of a scene object field (e.g. a long field of an
✍ editor_toolShortcuts 3 Editor 'Edit Mode Shortcuts' window: lets you assign an edit mode (editor.editModes) to each of the keys F2 to F10 (9 slots). The assignment
✍ editor_toolUtilities_aabbPick 2 Ray picking utility against axis-aligned boxes (AABB), without allocation. Used by editor tools that need to pick a world object by its boun
✍ editor_toolUtilities_bake 6 Shared 'Bake' helper of the editor's spline tools. As long as a spline belongs to its tool, its generated objects (TSStatic, DecalRoad, rive
✍ editor_toolUtilities_cameraRig 6 Reusable camera rig for editor tools: pan state (pan, near-aerial view with north up) and orbit state with inertia, which produces a pose (p
✍ editor_toolUtilities_cornerHandles 5 Viewport handles for the turns of the 'engineered' geometry of the editor's road tools: a radius button (on the outside of the turn, anchore
✍ editor_toolUtilities_curveWiden 6 Road widening in turns for the 'engineered' roads of the editor's road tools. Computes, per centerline station (group.divPoints), an automat
✍ editor_toolUtilities_daeExport 7 COLLADA exporter (.dae 1.4.1) for the 'baked' kit pieces of the editor tools. Serializes meshParts ({ verts, normals, uvs, faces, material,
✍ editor_toolUtilities_deckSweep 1 'Deck sweep': sweeps a cambered slab along an arbitrary centerline to produce ONE single mesh. The section (cambered roadway at the line, fl
✍ editor_toolUtilities_dice 2 Deterministic pseudo-random draw for editor tools: from a seed, a salt that distinguishes several decisions at the same address, and up to f
✍ editor_toolUtilities_edgeHandles 6 Editor tool utility for "gate" handles that can be moved along the outline of a polygon (ring: list of {x,y} points). A gate is { edge, t, i
✍ editor_toolUtilities_engineeredGeom 9 'Engineer' road geometry for the editor's spline editing tools: transforms the polyline of a spline's nodes into a line - clothoid - arc - c
✍ editor_toolUtilities_fenceStyles 3 Declarative fence styles for the editor tools (fences, railings). Each style gives the post height (which chooses the baked shape fence_post
✍ editor_toolUtilities_fitPoly 1 Utility that orders an unordered set of objects into a polyline. For each possible starting point, it builds a greedy path (nearest point, b
✍ editor_toolUtilities_foliagePicker 4 Shared imgui species picker (level ForestItemData) for the editor's vegetation tools. Displays a checkbox list with a weight slider per chec
✍ editor_toolUtilities_foliageScatter 18 Vegetation planting engine (Forest, ForestItemData objects) for the editor tools. It scatters instances in a polygon (scatterArea, with Pois
✍ editor_toolUtilities_geom 113 Geometry library of the editor's spline editing tools (roads, rails, fences, buildings): Catmull-Rom spline interpolation (free, raycast, te
✍ editor_toolUtilities_gizmo 2 Shared axis gizmo handling for the editor's spline editing tools. Places the gizmo on the selected node (or on a display anchor position), m
✍ editor_toolUtilities_gridCap 2 Builds a "cap" of triangles over an outline that must follow a height field: a square grid aligned with the grain of the outline, clipped to
✍ editor_toolUtilities_groundBounds 6 Answers the questions that any editor tool laying a surface on an outline drawn on the ground must ask: what is already there (roads, juncti
✍ editor_toolUtilities_groundClaims 7 Shared registry of "ground claims" between the editor tools that lay surfaces on the terrain. Each tool publishes, under an owner name, the
✍ editor_toolUtilities_groundPanel 3 imgui panel of the shared terraforming settings (groundPass), drawn identically in the Terrain tab of each editor tool. It reads and writes
✍ editor_toolUtilities_groundPass 13 The single terraforming of the terrain on which the editor tools place their objects. The road and rail networks are carved together in a si
✍ editor_toolUtilities_kerbSpec 1 Single kerb and footway section that all the editor tools build to, and the stone they are cut from. The dimensions live here so that a car
✍ editor_toolUtilities_kitPlacer 27 Shared placer of kit pieces (baked .dae files) for the editor's construction tools (streets, buildings, bridges). A piece can be a TSStatic
✍ editor_toolUtilities_marchingCubes 1 Surface extraction by marching cubes (Lorensen & Cline 1987, tables after Paul Bourke): produces a triangle mesh from a scalar density field
✍ editor_toolUtilities_matCombo 1 ImGui terrain material layer selector (dropdown) for editor tools. Layers are 0-based, like the paint index; -1 means "auto", resolved via u
✍ editor_toolUtilities_materialSelectionMgr 5 ImGui "Material Selector" window (300 x 500) to pick a material, with thumbnails and a search bar. Used by the editor's decal tools. It list
✍ editor_toolUtilities_meshAuditionMgr 11 Static mesh "audition" utility and imgui selection window, shared between editor tools. It lists .dae files (by default art/shapes/objects a
✍ editor_toolUtilities_meshPart 20 Generic assembly of mesh "parts" for baked kit pieces (bridgeKit, islandKit, etc.). A part is { verts, normals, uvs, faces } where each entr
✍ editor_toolUtilities_meshStats 4 Mesh weight diagnostic during an import (the editor's city/network importer). Distinguishes UNIQUE geometry (ProceduralMesh: buildings, brid
✍ editor_toolUtilities_networkState 15 Exchange table between the editor's road network and the tools that build against it (parcels, sidewalks, parking lots). The network publish
✍ editor_toolUtilities_noise 3 Fractal noise shared in world coordinates for the editor's terrain and meshing tools (terraform, hero road editor). Single source so that a
✍ editor_toolUtilities_occupancy 23 Coarse 2D occupancy grid (1 m cells) shared by bridge pier clearance and vegetation clearance. Roads (groups with divPoints/binormals) and j
✍ editor_toolUtilities_panCamera 7 "Pan" camera shared by the editor's spline tools. It takes over the editor's free camera (via toolCamera), switches to a top-down view and a
✍ editor_toolUtilities_perlin 1 Classic 2D Perlin noise (fixed 256-entry permutation table, Perlin's improved fade curve), deterministic. Used by editor tools to generate r
✍ editor_toolUtilities_polyBool 3 In-house 2D polygon booleans (union, difference), Martinez-like, adapted from the polybooljs approach (MIT). A polygon is a table { regions
✍ editor_toolUtilities_polyOffset 4 Lateral offset of a 2D polyline whose every edge carries an outward normal. Handles corners by miter join, bevel (chamfer) or line intersect
✍ editor_toolUtilities_polygon 10 Editor utility to draw and edit with the mouse a user-defined polygon on the map (laid on the terrain). Only one polygon is managed by the m
✍ editor_toolUtilities_polygonPaint 6 Freehand polygon tool for the editor: the user holds the left click and drags over the terrain to lay points, releases to finish (closing is
✍ editor_toolUtilities_profileSweep 2 Profile sweep: open 2D strips (lateral y, height z) are swept along a sequence of stations each carrying its own frame, to produce a single
✍ editor_toolUtilities_rdp 6 Optimized implementation of the Ramer-Douglas-Peucker (RDP) algorithm to simplify polylines with too many points. Uses the distance to the s
✍ editor_toolUtilities_regionStyles 1 Road marking paint style for a region. For now only one region is defined: USA (right-hand traffic). Provides the materials and widths of ce
✍ editor_toolUtilities_render_graph 7 Rendering of speed bars and the AI navigation graph (roadArchitect / drivePath lineage): speed bars and curve, navgraph node selection and o
✍ editor_toolUtilities_render_lines 29 Debug line drawing for the editor's spline editing tools (from the old monolithic render.lua). Each function draws a segment p0-p1 with the
✍ editor_toolUtilities_render_markup 48 3D text labels for the spline editing tools (from the old render.lua). Provides the text primitives (filtered or not by distance, normal or
✍ editor_toolUtilities_render_spheres 30 Drawing of debug spheres and handles for the spline editing tools (from the old render.lua). Leaf module: depends on utils/debugDraw and the
✍ editor_toolUtilities_render_spline 13 Wireframe and surface rendering of splines and layers for the spline editing tools (most of the old render.lua). Composite module: draws via
✍ editor_toolUtilities_render_transport 12 Rendering specific to transport networks and the road editor: junction centers, linked ends, road ribbon wireframe, loop or junction candida
✍ editor_toolUtilities_render_tris 6 Solid triangle drawing for the spline editing tools (from the old render.lua). Triangles filtered at 600 m from the camera, filling of simpl
✍ editor_toolUtilities_ribbonInput 2 Mouse and keyboard event handling for the "ribbon" splines of the editor's editing tools. A ribbon is a spline laid out in left/right node p
✍ editor_toolUtilities_roadDesignStandards 2 Road design standards shared by several editor tools. Defines six ordered presets, from the most rigorous to the most rustic, each with four
✍ editor_toolUtilities_roadPlaceables 15 Shared controller of "placeable" items for the editor's spline road tools: placing, selecting, dragging and editing items positioned along a
✍ editor_toolUtilities_roadsideProps 12 Shared placer of lines of objects at the roadside (guardrails, barriers, fences, lampposts, bollards, bins, bus shelters...). A presets tabl
✍ editor_toolUtilities_session 14 Shared session save and load helper for the editor's custom spline and zone tools. It handles what is identical for all tools: the portable
✍ editor_toolUtilities_simplex 1 2D simplex noise (Perlin's simplicial grid) with a fixed permutation table, hence deterministic. Optimized for millions of samples (precompu
✍ editor_toolUtilities_simplex3 1 3D simplex noise (Ken Perlin's simplicial grid, after Stefan Gustavson's reference). Deterministic, continuous with continuous first derivat
✍ editor_toolUtilities_siteAssets 16 The "shelves" (on-disk library) that placed sites come from: buildings, open spaces, parking lots. Three editors bake their sites there and
✍ editor_toolUtilities_siteBake 12 Transforms what an editor has just built in the world into what a site manifest carries. A site is designed at one place on the map and plac
✍ editor_toolUtilities_siteDecals 8 Stamped decals as a site carries them: traffic arrows, painted EXIT text, asphalt repair patches. They are glyphs taken from a sheet (atlas)
✍ editor_toolUtilities_siteLibrary 1 Save, Save As and Open for single-document site tools. A massing building, an open space and a parking lot are each ONE document whose home
✍ editor_toolUtilities_siteLights 4 A single place that turns a light record into a scene object, for all tools of the suite. Each light is a night light as soon as it is place
✍ editor_toolUtilities_siteMarks 5 Road markings as a site carries them: parking space lines, hatching, give-way bars, aisle centerlines, tire wear tracks, cracks and zebra cr
✍ editor_toolUtilities_sitePad 14 A flat terrain platform ("pad") on which a site tool can draw, and the site's own ground carved into it. enter flattens a 300 m square at 50
✍ editor_toolUtilities_siteSpots 4 Parking spaces as a site carries them and as the level rereads them in its sites file. A space is neither geometry nor paint: it is a box th
✍ editor_toolUtilities_siteView 13 Manages the camera of the outline editor tools (open space editor, parking lot editor): which editing step is shown (Footprint or Design) an
✍ editor_toolUtilities_siteWater 5 Standing and falling water of a "site" (open space editor): waterfall basins, sheets that overflow between them, jets, sprays and foam jets
✍ editor_toolUtilities_skeleton 4 Suite of utilities to skeletonize and vectorize binary masks. The main function getPathsFromPng converts a PNG into a mask, skeletonizes it
✍ editor_toolUtilities_splineInput 8 Shared mouse and keyboard handling for all spline editing tools of the editor (a spline is an editable polyline along a variable-width cente
✍ editor_toolUtilities_splineLock 7 Lock state shared by the editor's custom spline tools. A locked spline (isEnabled == false) stays in its tool, but the generated objects bel
✍ editor_toolUtilities_splineMaskExport 1 Exports ribbon surfaces (splines) as a 16-bit PNG mask (GFXFormatR16) at the terrain grid size. Each texel is 65535 if its world center is i
✍ editor_toolUtilities_statsFooter 2 Statistics footer shared by the editor's "kit" tools: displays "Label N" stats in ImGui and the dynamic row of drawn triangles, distance and
✍ editor_toolUtilities_style 2 Style settings of the editor's spline tools: 3D colors (cursor, nodes, junctions, splines, handles, preview wires) for debug drawing, and Im
✍ editor_toolUtilities_surfaceKit 12 Shared kit for painting groundmodels (physics) on mesh roads (groundmodel mode of the Hero Road Editor). The groundmodel is inferred from th
✍ editor_toolUtilities_sweep 20 Sweep geometry (loft) for the editor's building tools: a piece is a section (2D polygon in (s, t) coordinates) and a path of frames. Used to
✍ editor_toolUtilities_terrainPainter 4 Paints the terrain material under a spline (road) and allows undoing. Computes the road footprint (actual deck edge for mesh roads, otherwis
✍ editor_toolUtilities_terrainPolyPaint 6 Terrain material painting on a polygonal ring (scanline fill) or on a list of cells, with an undo record. A record is { xs, ys, prev, cnt }:
✍ editor_toolUtilities_toolCamera 7 Reusable tool camera: takes over the editor camera with BeamNG's script-driven 'scriptedFree' camera, drives it every frame with right-butto
✍ editor_toolUtilities_triLive 5 Counter of the triangles actually drawn by a "kit" (instanced pieces), as seen from the camera: each instance is counted at the LOD it reall
✍ editor_toolUtilities_uiRows 8 ImGui row shapes that the editor tool panels are made of: a slider preceded by its reset button, a label in front of a row of option buttons
✍ editor_toolUtilities_util 45 Toolbox common to the editor's spline and "site" tools: mouse and raycasts (position on the map, on the terrain, on a plane), conversions an
✍ editor_toolUtilities_walkRibbon 5 Generates a bordered sidewalk (curb and slabs) swept along two rails, as a single unique mesh, for the editor's road tools. The mesh parts a
✍ editor_trafficDebug 4 Editor window "Traffic Debug" (menu Window > Debug) to inspect and tune the gameplay_traffic traffic system. Two tabs: General (number of tr
✍ editor_trafficGatedRoadsEditor 10 Editor "Traffic Gated Roads" (Traffic menu): places spheres (displayed as vertical cylinders 20 m high, adjustable radius) in the world and
✍ editor_trafficManager 13 Editor "Traffic Manager": lets you compose a traffic session (vehicles and props placed on the map, traffic lights, signs), start/stop the s
✍ editor_trafficSignalsEditor 11 Traffic light editor ("Traffic Signals Editor" window, menu Window > Gameplay, signalsEditMode edit mode). Lets you create and place signals
✍ editor_treeSpline 9 Editor Tree Spline tool: you draw an editable polyline on the terrain and the tool plants a regular row of trees/shrubs (real Forest instanc
✍ editor_treeSpline_populate 4 Submodule of the editor's Tree Spline tool: plants or removes trees (Forest instances) along a spline. Relies on editor/toolUtilities/foliag
✍ editor_treeSpline_splineMgr 33 Data manager of the Tree Spline tool: holds the list of tree splines (treeSplines) and the id -> index table (splineMap), creates/deletes/co
✍ editor_undoHistory 3 Editor window "Undo History": shows side by side the undo stack (editor.history.undoStack) and the redo stack (redoStack). Each action is li
✍ editor_util_customFieldsUtil 9 Editor helper: imgui widget to edit tags and custom fields (name, value, type) of a gameplay/util/customFields object. The module returns a
✍ editor_util_editorElementHelper 36 Editor helper that builds imgui forms driven by declared "elements" (numeric, text, boolean, 3D transform, vehicle model/config, file, race,
✍ editor_util_plotHelperUtil 26 Editor helper: imgui 2D graph (grid, axes, points, optional Catmull-Rom curve, crosshair, vertical annotations) with mouse panning (left-but
✍ editor_util_searchUtil 13 Editor helper for fuzzy search with "frecency" ranking (frequency/recency of use). The module returns a constructor: require('/lua/ge/extens
✍ editor_util_transformUtil 34 Editor utility class: a "transform helper" (position vec3, rotation quat, scale vec3 or number) with axis gizmo, imgui fields, dedicated edi
✍ editor_util_vehicleFilterUtil 4 Mission editor UI element (via editorElementHelper) to define a vehicle filter: a base filter (whiteList/blackList) inherited by "probabilit
✍ editor_util_vehicleSelectUtil 16 Editor imgui utility class: a cascading vehicle selector Type > Model > Config, optionally with up to 3 paints (paintNameKeys paintName/pain
✍ editor_util_zoneSelectorUtil 4 Mission editor UI element (via editorElementHelper) to choose garage zones: "Initial Zones" (where the player can spawn) and "Destination Zo
✍ editor_veMain 11 Core of the Vehicle Editor (vehicle editor, static and live modes). The extension also registers itself as the global vEditor: it stores t
✍ editor_vehicleBridgeTest 3 Small test window for core_vehicleBridge in the editor (menu Window > Vehicles > 'Vehicle Bridge Test'). You choose a vehicle (ID or list
✍ editor_vehicleDetailViewer 7 Editor tool "Vehicle Detail Viewer" (menu Window > Vehicles, also F11 > Window > Experimental). Opens imgui windows that display orthographi
✍ editor_vehicleEditor_api_nodeTransformer 1 Vehicle Editor helper to move the selected nodes (vEditor.selectedNodes) with the editor's axis gizmo. The gizmo is centered on the average
✍ editor_vehicleEditor_api_powerTrainUtils 4 Shared imgui display functions for the Vehicle Editor's powertrain inspector (vePowerTrain). They show the jbeam data of a device (recursive
✍ editor_vehicleEditor_liveEditor_veAeroDebug 7 'Vehicle Aero Debug' window of the live Vehicle Editor. Enables the aeroDebug vehicle extension (extensions.aeroDebug.enable()), reads get
✍ editor_vehicleEditor_liveEditor_veCrashTester 4 'Other/Crash Tester' tool of the live Vehicle Editor. You choose a starting point on the terrain (wheel = rotation in 5° steps), a number of
✍ editor_vehicleEditor_liveEditor_veFlexbodyDebug 7 'Flexbody Debug' window of the live Vehicle Editor, to diagnose the vehicle's flexbodies (deformable meshes). 'Single Flexmesh' tab: choose
✍ editor_vehicleEditor_liveEditor_veGeneralData 4 'General Data' window of the live Vehicle Editor. Every frame, it sends the vehicle VM a command that returns (via obj:queueGameEngineLua) a
✍ editor_vehicleEditor_liveEditor_veJBeamPicker 8 'JBeam Picker' window of the live Vehicle Editor: lets you choose nodes and beams of the vehicle (with the mouse, or by typing an ID/name wi
✍ editor_vehicleEditor_liveEditor_veLightsDebug 5 'Lights Debug' window of the live Vehicle Editor. Draws with debugDrawer the vehicle's light props (vdata.props whose mesh is SPOTLIGHT or P
✍ editor_vehicleEditor_liveEditor_veNodeTriSelfCollisionDetector 5 'Node Triangle Self Collision Detector' window of the live Vehicle Editor. The 'Start Analysis' button tests, for each collidable triangle,
✍ editor_vehicleEditor_liveEditor_vePowerTrain 6 'Powertrain' window (Powertrain Inspector) of the live Vehicle Editor. Every frame it asks the vehicle for powertrain.serializeDevicesInfo()
✍ editor_vehicleEditor_liveEditor_vePropTransformer 7 'Prop Transformer' window of the live Vehicle Editor: lets you choose a prop (visual part such as a mirror or a lamp) of the vehicle by aimi
✍ editor_vehicleEditor_liveEditor_veRawData 4 'Raw Vehicle Data' window of the live Vehicle Editor: displays as a recursive imgui tree the entire vEditor.vehData table (data of the curre
✍ editor_vehicleEditor_liveEditor_veTCSDebug 6 'TCS Debug' window of the live Vehicle Editor: plots in real time (600 history points) the traction control data of the vehicle's first 'esc
✍ editor_vehicleEditor_liveEditor_veVehicleSpawner 5 'Other/Vehicle Spawner' tool of the live Vehicle Editor. When the editor loads it remembers up to 20 vehicles (Car or Truck) from core_vehic
✍ editor_vehicleEditor_liveEditor_veView 4 Multiple scene views of the vehicle editor in Live mode. Each "Scene View N" is an ImGui window that displays a separate render camera (Imgu
✍ editor_vehicleEditor_staticEditor_veJBeamBeautifier 4 "JBeam Beautifier" app of the Static Editor. It reformats .jbeam files (one file or a whole folder) by aligning in columns the arrays of the
✍ editor_vehicleEditor_staticEditor_veJBeamModifierLeakVis 4 "JBeam Modifier Leaking Visualizer" app of the Static Editor. In JBeam, a modifier (for example beamSpring, nodeWeight, frictionCoef) placed
✍ editor_vehicleEditor_staticEditor_veJBeamSpellchecker 4 "JBeam Spellchecker" app of the Static Editor. The "Start Analysis" button walks through all the *.jbeam files of the vehicles folder and ch
✍ editor_vehicleEditor_staticEditor_veJBeamTableVis 4 "JBeam Table Visualizer" app of the vehicle editor's Static Editor. It loads a .jbeam file chosen via a file selector, recursively looks for
✍ editor_vehicleEditor_staticEditor_veJBeamVariablesChecker 4 "JBeam Variables Checker" app of the Static Editor. The "Start Analysis" button walks through all the vehicle folders, reads their .pc (conf
✍ editor_vehicleEditor_staticEditor_vePartList 5 "Part List" window of the vehicle editor's Static Editor. It lists the available JBeam parts of the loaded vehicle (or only the active parts
✍ editor_vehicleEditor_staticEditor_vePartPropertyView 3 "Part Properties" window of the Static Editor. It shows in a generic inspector the scalar (non-table) properties of the table selected in th
✍ editor_vehicleEditor_staticEditor_vePartTextView 3 "Part Text View" window of the Static Editor. It displays the JBeam file of the selected part as a sequence of colored syntax tree (AST, jso
✍ editor_vehicleEditor_staticEditor_vePartTree 4 "Part Tree" window of the Static Editor. It reads the JBeam file of the selected part, parses it into an AST (json-ast, with the Lua data in
✍ editor_vehicleEditor_staticEditor_veStaticRenderView 14 Render views of the Vehicle Editor's Static Editor. Each "Static Render View##N" window has two RenderViews (the main view and a small axes
✍ editor_vehicleEditor_veToolbar 2 Toolbar of the Vehicle Editor. It shows two tabs, "Static Editor" and "Live Editor" (a click changes vEditor.editorMode), each with Apps and
✍ editor_vehicleUiTextureDebug 2 Editor debug tool (Window > Vehicles > "Vehicle UI Textures" menu). It lists the vehicles, then the active HTML UI texture tags (CEF screens
✍ editor_visualization 4 "Visualization" window of the world editor. Three tabs: Debug (checkboxes for the registered visualization types: wireframe, bounding boxes,
✍ editor_vizHelper 9 Small tool for level designers (Debug > "Viz Helper" menu): it places dynamic decals of images taken from art/vizhelper/ at the spot targete
✍ editor_waterObjectHelper 1 Small world editor extension: when a texture field of a water object is modified in the inspector, it reloads the object's textures. It reac
✍ editor_windows 2 "Windows" window of the editor (Window > Window Position Reset... menu). It lists all registered editor windows (editor.getWindowsState()),
✍ flowgraph_baseModule 8 Base class of the flowgraph manager's modules (the "modules" attached to the manager, as opposed to nodes). It defines a class C with empty
✍ flowgraph_baseStateNode 5 Base class of the nodes of a flowgraph state graph. It extends flowgraph/basenode by adding eight "transition" pins on the node's edges (inp
✍ flowgraph_basenode 81 Base class of all flowgraph nodes. It creates the pins from the derived node's C.pinSchema, manages the behaviors (once, duration, simple...
✍ flowgraph_builder 18 Node builder of the flowgraph editor (ongoing Lua port of a C++ class from the imgui-node-editor blueprints example). It organizes the drawi
✍ flowgraph_graph 42 Flowgraph 'graph' class: a graph of nodes and links belonging to a manager (self.mgr). A graph has a type ('graph', 'macro' or 'instance'),
✍ flowgraph_groupHelper 9 Flowgraph editor helper for grouping and ungrouping selected nodes. For a flow graph, the group becomes a subgraph (or sub-macro) represente
✍ flowgraph_link 10 Flowgraph 'link' class: a link between an output pin (sourcePin) and an input pin (targetPin) of two nodes of a graph. On creation, it regis
✍ flowgraph_manager 83 Flowgraph 'manager' class: a manager represents ONE flowgraph project (graphs, macros, variables, modules, history, execution state). It is
✍ flowgraph_modules_actionModule 18 Flowgraph module (moduleOrder 0) that blocks or allows input actions while a flowgraph project is running. It keeps a set of blocked actions
✍ flowgraph_modules_aiRecordingModule 22 Flowgraph module (moduleOrder 1, after missionReplayModule) that records or replays the player vehicle's AI route (AI script) for missions.
✍ flowgraph_modules_buttonModule 20 Flowgraph module (moduleOrder 0) that manages custom buttons shown in the UI during a flowgraph project. Each button has a label, a style, a
✍ flowgraph_modules_cameraModule 34 Flowgraph module (moduleOrder -500, so one of the first) that manages camera paths (camPath) during a project. It loads a /.camP
✍ flowgraph_modules_driftModule 22 Flowgraph module (moduleOrder 0, depends on gameplay_drift_general) that relays drift gameplay events to flowgraph nodes. It listens to the
✍ flowgraph_modules_fileModule 18 Flowgraph module (moduleOrder 0) that reads and writes small JSON save files specific to flowgraph projects. The files are stored under 'set
✍ flowgraph_modules_foreachModule 10 Flowgraph module (moduleOrder 1000, so executed last) reserved for child graphs created by a foreach loop. It contains only the fields paren
✍ flowgraph_modules_levelModule 16 Flowgraph module (moduleOrder 100) that synchronizes a project's actions with level loading. It lets you defer a function until loading fini
✍ flowgraph_modules_missionModule 20 Flowgraph module (moduleOrder -100) that links a flowgraph project to the mission that launched it (self.mgr.activity). It manages mission v
✍ flowgraph_modules_missionReplayModule 36 Flowgraph module (moduleOrder 0) that automatically records mission replays (.rpl files). It applies the storage limits chosen in the settin
✍ flowgraph_modules_prefabModule 28 Flowgraph module (moduleOrder 50) that spawns, tracks and deletes prefabs (groups of scene objects, .prefab.json) during a project. When a p
✍ flowgraph_modules_threadModule 18 Flowgraph module (moduleOrder 1000) that lets a flowgraph project launch others (child projects) and exchange messages with them. Received m
✍ flowgraph_modules_timerModule 30 Flowgraph module (moduleOrder 0) that manages timers. It keeps three cumulative global clocks (real, sim, raw) updated by onUpdate with dtRe
✍ flowgraph_modules_trafficModule 20 Flowgraph module (moduleOrder 0) that wraps gameplay_traffic and gameplay_parking for traffic nodes. It remembers whether the flowgraph itse
✍ flowgraph_modules_uiModule 30 Flowgraph module (moduleOrder 1000) that builds the mission start and end screens ("mission.control"). Flowgraph nodes call startUIBuilding,
✍ flowgraph_modules_vehicleModule 27 Flowgraph module (moduleOrder -150) that tracks the vehicles used by a graph: those it spawns or those declared to it with addForeignVehicle
✍ flowgraph_newNodeTemplate 1 Starting template for writing a new flowgraph node (name "New Node Template"). It shows how to declare name, description, color/icon/categor
✍ flowgraph_nodes_activity_activityAttempt 3 Flowgraph node "Activity Attempt" (category once_instant, tags activity/mission). Creates a mission attempt via gameplay_missions_progress.n
✍ flowgraph_nodes_activity_activityFlow 11 Flowgraph node "Activity Flow" (category logic, tag activity). Entry point of a mission graph: outputs flow once at start (pin "started"), e
✍ flowgraph_nodes_activity_activityHook 2 Flowgraph node "Activity Hook Trigger" (category once_instant, tag activity). Triggers a mission hook named by data.eventName ("start" by de
✍ flowgraph_nodes_activity_activityResetPrefabs 1 Flowgraph node "Activity Reset Prefab" (category once_p_duration, tag activity). Puts the vehicles contained in all prefabs loaded by the as
✍ flowgraph_nodes_activity_activityStop 2 Flowgraph node "Finish Mission" (tag activity). Stops the current mission: when the flow arrives, it stops the graph execution (mgr:setRunni
✍ flowgraph_nodes_activity_aggregateAttempt 2 Flowgraph node "Aggregate Attempt" (category once_p_duration, tags activity/mission). Integrates an attempt into the mission's progression (
✍ flowgraph_nodes_activity_attemptStars 2 Flowgraph node "Activity Attempt Stars" (category once_instant, tags activity/mission). Adds the completed stars to an attempt: each custom
✍ flowgraph_nodes_activity_attemptVehicle 2 Flowgraph node "Activity Attempt Vehicle" (category once_instant, tag activity). Adds a vehicle's information (jbeam model, partConfig confi
✍ flowgraph_nodes_activity_autoStarGoals 2 Flowgraph node "Auto Star Goals" (category once_instant, tag activity). Automatically creates the Tasklist app's objectives from the mission
✍ flowgraph_nodes_activity_getProgress 2 Flowgraph node "Get Progress" (category once_p_duration, tag activity). Reads the mission's aggregated progress for the current progress key
✍ flowgraph_nodes_activity_missionAttemptStars 2 Flowgraph node "Mission Attempt Stars" (category once_instant, tags activity/mission). Adds stars to an attempt "via the constructor": the c
✍ flowgraph_nodes_activity_requestAbandon 7 Flowgraph node "Request Abandon" (category logic, tag input). Lets the flow through, only once, when the player requests to abandon the miss
✍ flowgraph_nodes_activity_starsActive 3 Flowgraph node "Stars Active" (category repeat_instant, tags activity/mission). Each custom flow output pin (pin name = star key) lets the f
✍ flowgraph_nodes_audio_fade 4 Flowgraph node "Audio Channel Fade" (tags sound/audio/volume, icon audiotrack). Fades the volume of an FMOD audio channel (default 'AudioCha
✍ flowgraph_nodes_audio_fadeIn 6 Flowgraph node "Audio Fade In" (category once_f_duration, tags sound/audio/volume). Brings the global volume back up: sets the FMOD global p
✍ flowgraph_nodes_audio_fadeOut 6 Flowgraph node "Audio Fade Out" (category once_f_duration, tags sound/audio/volume). Brings the global volume down to silence: sets g_FadeTi
✍ flowgraph_nodes_audio_playOnce 4 Flowgraph node "Play Sound" (category dynamic_p_duration, dynamic mode 'repeat', tags sound/audio/volume). Plays an audio sample with Engine
✍ flowgraph_nodes_career_addToInventory 2 Flowgraph node "Add To Inventory" (category once_instant, career color/icon). Adds the vehicle with the given id to the player's inventory v
✍ flowgraph_nodes_career_careerVehicleSelect 13 Flowgraph node "Career Vehicle Select" (behaviour once + singleActive, depends on core_input_bindings). Opens the career menu 'menu.careerVe
✍ flowgraph_nodes_career_completeQuest 1 Flowgraph node "Complete Quest" (category once_instant, career color/icon). Completes the quest associated with the flowgraph via career_mod
✍ flowgraph_nodes_career_customTowAction 3 Flowgraph node "On Custom Tow" (category repeat_instant, career color/icon). Detects when the player uses a custom tow action in the career
✍ flowgraph_nodes_career_garageComputerUtil 8 Flowgraph node "Garage Computer Util" (category repeat_instant, ui color/icon), helper for the garage tutorial. One-frame output impulses: c
✍ flowgraph_nodes_career_garageTutorialUtil 3 Flowgraph node "Garage Tutorial Util" (category repeat_instant, ui color/icon), helper for the garage tutorial. Bool outputs: parkedInGarage
✍ flowgraph_nodes_career_logbookEntry 1 Flowgraph node "Logbook Entry" (category once_instant, career color/icon). Adds an entry to the career logbook (career_modules_logbook.gener
✍ flowgraph_nodes_career_menuClosed 3 Flowgraph node "Menu Closed" (category repeat_instant, ui color/icon). One-frame impulse on the menuClosed output when a menu has been close
✍ flowgraph_nodes_career_onGarageEvent 5 Flowgraph node "On Garage Event" (category repeat_instant, ui color/icon). One-frame impulses on career garage events: beforeGarageInventory
✍ flowgraph_nodes_career_onIntroPopupCareerClosed 4 Flowgraph node "On introPopupCareerClosed" (category repeat_instant, ui color/icon). Detects the closing of the career intro window. Outputs
✍ flowgraph_nodes_career_onMissionPromptShown 4 Flowgraph node "On Poi Prompt Shown" (category repeat_instant, ui color/icon). Detects that the player has stopped at a point of interest an
✍ flowgraph_nodes_career_onMissionRunstateChanged 4 Flowgraph node "On Mission Start/Stop" (category repeat_instant, ui color/icon). Detects when the player starts (onMissionStartWithFade hook
✍ flowgraph_nodes_career_onRefueling 6 Flowgraph node "On Refueling" (category repeat_instant, ui color/icon). Detects career refueling events. Outputs: openedMenu, tankFilled, pa
✍ flowgraph_nodes_career_onTestDriveChanged 4 Flowgraph node "On Testdrive Changed" (category repeat_instant, ui color/icon). Detects the start (onTestDriveStarted hook) and the end afte
✍ flowgraph_nodes_career_onVehicleShoppingEvent 8 Flowgraph node "On Vehicle Shopping Event" (category repeat_instant, ui color/icon). Detects career vehicle shopping events. Impulse outputs
✍ flowgraph_nodes_career_playerAttribute 3 Flowgraph node "Add Or Remove Player Attribute" (category once_instant, career color/icon). Adds or removes an amount of a player attribute
✍ flowgraph_nodes_career_setFuelLevel 5 Flowgraph node "Set Fuel Level" (category once_f_duration, career color/icon). Sets a vehicle's fuel level to the same percentage in all its
✍ flowgraph_nodes_career_tasklistHeader 1 Flowgraph node "Tasklist Header" (category once_instant, tags goal/goals, ui color/icon). Sets the header and subtext of the task list (Task
✍ flowgraph_nodes_career_vehicleGroupByClass 1 Flowgraph node "Vehicle Group by Performance Class" (category once_instant, author BeamNG, tags career/race/class/vehicle). Generates a vehi
✍ flowgraph_nodes_debug_aiDebug 4 Flowgraph node "AI Debug Display" (category dynamic_p_duration, tags target/trajectory/route/debug). Shows or hides the AI debug visualizati
✍ flowgraph_nodes_debug_cameraMouseRayCast 1 Flowgraph node "Camera Mouse Raycast" (category repeat_instant, tags util/click). Casts a ray from the camera toward the mouse position (cam
✍ flowgraph_nodes_debug_comment 9 Flowgraph node "Comment" (category logic, tag group, no pins). Places a comment in the graph, as a resizable group frame that can visually g
✍ flowgraph_nodes_debug_debugCylinder 2 Flowgraph node "Debug Cylinder" (category repeat_instant, tags util/draw). Draws a debug cylinder (debugDrawer:drawCylinder) between posA an
✍ flowgraph_nodes_debug_debugLine 2 Flowgraph node "Debug Line" (category repeat_instant, tags util/draw). Draws a debug line (debugDrawer:drawLine) from posA to posB every fra
✍ flowgraph_nodes_debug_debugPrism 2 Flowgraph node "Debug Prism" (category repeat_instant, tags util/draw). Draws a square/rectangular-base prism (debugDrawer:drawSquarePrism)
✍ flowgraph_nodes_debug_debugSphere 2 Flowgraph node "Debug Sphere" (category repeat_instant, tags util/draw). Draws a debug sphere (debugDrawer:drawSphere) every frame. Inputs:
✍ flowgraph_nodes_debug_debugText 2 Flowgraph node "Debug Text" (category repeat_instant, tags util/draw). Draws 3D text at a position (debugDrawer:drawTextAdvanced) every fram
✍ flowgraph_nodes_debug_display 2 Flowgraph node "Display Value" (simple type, category repeat_instant, tag util). Displays in the node body the value received on the input p
✍ flowgraph_nodes_debug_displayFlow 4 Flowgraph node "Display Flow" (simple type, category logic, tag util). Displays a green checked box when flow reaches the node (considered a
✍ flowgraph_nodes_debug_drawGraph 10 Flowgraph node "Multi Graph" (category repeat_instant, tags util/draw/table/data). Plots several curves in the same graph in the node body:
✍ flowgraph_nodes_debug_flowButton 5 Flowgraph node "Flow Button" (simple type, category logic, tag input). A button in the node: a click (only while the graph is running) produ
✍ flowgraph_nodes_debug_log 5 Flowgraph node "Log" (category dynamic_instant, tags util/print). Writes the received value to the game console (log) and to the graph event
✍ flowgraph_nodes_debug_miniGraph 3 Flowgraph node "Mini Graph" (category repeat_instant, tags util/draw/table/data). Small graph (200x60) in the node that plots a single numbe
✍ flowgraph_nodes_debug_multiFlow 3 Flowgraph node "Multi Flow" (simple type, category logic), a test node with four flow inputs a, b, c, d. Displays in the node one box per in
✍ flowgraph_nodes_debug_numberSlider 6 Flowgraph node "Number Slider" (category provider, tag util). Provides up to five numbers adjustable with the mouse, with different ranges:
✍ flowgraph_nodes_debug_pauseManager 1 Flowgraph node "Pause Execution" (category logic). Pauses the execution of the flowgraph project (graph.mgr:setPaused(true)) as long as it r
✍ flowgraph_nodes_debug_restartManager 1 Flowgraph node "Restart Project" (category logic, behaviour duration). Restarts the flowgraph project: calls graph.mgr:queueForRestart() whe
✍ flowgraph_nodes_debug_stopManager 1 Flowgraph node "Stop Project" (category logic). Stops the execution of the flowgraph project (graph.mgr:setRunning(false)) when the flow inp
✍ flowgraph_nodes_debug_testDynamic 6 Flowgraph node "Category Test" (category once_f_duration), a test node for this category: on flow, switches to the duration state "started",
✍ flowgraph_nodes_environment_directionalGravity 6 Flowgraph node "Directional Gravity" (category dynamic_p_duration, vehicle color/icon). Gives a vehicle directional gravity by simulating a
✍ flowgraph_nodes_environment_getCloud 1 Flowgraph node "Get Clouds" (category repeat_instant, tags environment/weather/cloud). Reads the parameters of a cloud object via core_envir
✍ flowgraph_nodes_environment_getFogDensity 1 Flowgraph node "Get Fog" (category provider, tags environment/tod). Reads the current fog parameters: outputs density (core_environment.getF
✍ flowgraph_nodes_environment_getGravity 1 Flowgraph node "Get Gravity" (category provider, tag environment). Outputs the current global gravity in m/s² (core_environment.getGravity)
✍ flowgraph_nodes_environment_getPause 1 Flowgraph node "Get Pause" (category provider, author BeamNG, tags pause/freeze/halt/stop/interrupt). Outputs a bool "value" indicating whet
✍ flowgraph_nodes_environment_getPhotomode 1 Flowgraph node "Get Photomode" (category provider, author BeamNG, tags photomode/photo/camera/screenshot/capture). Outputs a bool "value": t
✍ flowgraph_nodes_environment_getScatterySky 1 Flowgraph node "Get ScatterSky" (category provider, tags environment/tod). Reads the current parameters of the ScatterSky sky via core_envir
✍ flowgraph_nodes_environment_getTimeOfDay 1 Flowgraph node "Get Time of Day" (category provider, tags environment/tod). Outputs the current time of day (core_environment.getTimeOfDay):
✍ flowgraph_nodes_environment_pauseGame 3 Flowgraph node "Pause Game" (category once_p_duration, author BeamNG, tags pause/freeze/halt/stop/interrupt). Pauses the simulation via simT
✍ flowgraph_nodes_environment_planet 12 Flowgraph node "Planet" (category once_p_duration, vehicle color/icon). Gives a vehicle planetary gravity (obj:setPlanets with position, rad
✍ flowgraph_nodes_environment_randomTimeOfDay 2 Flowgraph node "Random Time of Day" (category repeat_instant, tags environment/tod/random). Picks a random time between two hours (0-23) and
✍ flowgraph_nodes_environment_setBulletTime 3 Flowgraph node "Bullet Time" (category repeat_instant). Slows down or pauses simulation time via simTimeAuthority. Input pins: instant (bool
✍ flowgraph_nodes_environment_setCloud 7 Flowgraph node "Set Clouds" (category dynamic_instant). Sets the cloud parameters. Input pins: objectId (optional id of a cloud object), cov
✍ flowgraph_nodes_environment_setFogDensity 7 Flowgraph node "Set Fog" (category dynamic_instant). Sets the fog density (density, 0 to 1) and the fog atmosphere height (atmosphereHeight)
✍ flowgraph_nodes_environment_setGravity 5 Flowgraph node "Set Gravity" (category dynamic_instant). Sets the global gravity (value pin, in m/s², 0 by default) via core_environment.set
✍ flowgraph_nodes_environment_setScatterSky 6 Flowgraph node "Set ScatterSky" (category dynamic_instant). Sets the sky brightness (skyBrightness) and the ScatterSky gradient textures (co
✍ flowgraph_nodes_environment_setTimeOfDay 7 Flowgraph node "Set Time of Day" (category dynamic_instant). Sets the time of day via core_environment.setTimeOfDay. Input pins: flow, time
✍ flowgraph_nodes_environment_setWind 4 Flowgraph node "Set Wind" (category once_p_duration). Applies wind to one vehicle or to all. Input pins: vehId (empty = all vehicles), windS
✍ flowgraph_nodes_environment_simplePlanet 4 Flowgraph node "Simple Planet" (category once_p_duration). Creates a spherical gravity source for a vehicle by sending obj:setPlanets({x,y,z
✍ flowgraph_nodes_events_controlsAction 6 Flowgraph node "Controls Action" (category logic, event). Lets flow through when the action (Ctrl + Space) is pressed. Automatically pushes
✍ flowgraph_nodes_events_controlsReset 8 Flowgraph node "Controls Reset" (category logic, event). Lets flow through when the player presses Reset. When it is used, the default freer
✍ flowgraph_nodes_events_customizedTriggerBox 10 Flowgraph node "Custom Trigger" (category repeat_instant, event). Creates a trigger zone (box or sphere/ellipsoid) while the project is runn
✍ flowgraph_nodes_events_onBeamNGTrigger 4 Flowgraph node "on BeamNGTrigger" (category repeat_instant, event). Listens to the onBeamNGTrigger hook and lets flow through depending on t
✍ flowgraph_nodes_events_onMissionEnded 3 Flowgraph node "on Level End" (category logic, event). Emits a flow pulse once when the current level is unloaded (onClientEndMission hook).
✍ flowgraph_nodes_events_onUpdate 5 Flowgraph node "on Update" (category logic, event). Emits flow every frame. Output pins: enterState (pulse on entering the project state), f
✍ flowgraph_nodes_gameplay_allowWalking 1 Flowgraph node "Allow Walking" (default category, depends on gameplay_walk). Allows or forbids walking mode, and therefore entering and exit
✍ flowgraph_nodes_gameplay_blacklistWalking 2 Flowgraph node "Blacklist Walking" (depends on gameplay_walk). Allows or forbids entering a vehicle from walking mode, via the gameplay_walk
✍ flowgraph_nodes_gameplay_canEnterFromWalking 2 Flowgraph node "Can Enter From Walking" (category repeat_instant, depends on gameplay_walk). Checks that the player is walking and is near a
✍ flowgraph_nodes_gameplay_careerActive 2 Flowgraph node "Career Active" (category repeat_instant). Tests whether career mode is active via career_career.isActive(). Outputs: enabled
✍ flowgraph_nodes_gameplay_completeScenario 2 Flowgraph node "Complete Scenario" (category once_instant). Ends the current scenario via scenario_scenarios.finish. Input pins: reason (fin
✍ flowgraph_nodes_gameplay_countdown 10 Flowgraph node "Countdown" (tag scenario). Manages a countdown displayed on screen via the ScenarioFlashMessage hook (and Message if data.us
✍ flowgraph_nodes_gameplay_crash_onCrashDetected 6 Flowgraph node "On Crash Detected" (category repeat_instant). Emits flow when a tracked vehicle starts or ends a crash (onVehicleCrashStarte
✍ flowgraph_nodes_gameplay_crash_removeTrackedVehicleCrash 1 Flowgraph node "Remove Tracked Vehicle Crash" (category repeat_instant). Removes a vehicle (vehId pin) from crash tracking via gameplay_util
✍ flowgraph_nodes_gameplay_crash_trackMultipleVehiclesCrash 1 Flowgraph node "Track Multiple Vehicles Crash" (category repeat_instant). Adds several vehicles (vehIds pin, table of ids) to the crash trac
✍ flowgraph_nodes_gameplay_crash_trackVehicleCrash 1 Flowgraph node "Track Vehicle Crash" (category repeat_instant). Adds a vehicle (vehId pin) to crash tracking via gameplay_util_crashDetectio
✍ flowgraph_nodes_gameplay_crawl_applyPenalty 3 Flowgraph node "Apply Penalty" (category impulse, crawl). Manually applies penalty points to the active crawl, choosing a type from the brid
✍ flowgraph_nodes_gameplay_crawl_getCrawlData 2 Flowgraph node "Get Crawl Data" (category repeat_instant, crawl). Reads the runtime data of the active crawl via the bridge. Outputs: onComp
✍ flowgraph_nodes_gameplay_crawl_getCrawlResults 2 Flowgraph node "Get Crawl Results" (category repeat_instant, crawl). Reads the results of a finished crawl (bridge.getCrawlEndData). Outputs
✍ flowgraph_nodes_gameplay_crawl_getCrawlStartTransform 2 Flowgraph node "Get Crawl Start Transform" (category repeat_instant, crawl). Gives the start position (startPosition, vec3) and rotation (st
✍ flowgraph_nodes_gameplay_crawl_getDynamicObjects 2 Flowgraph node "Get Dynamic Objects" (category repeat_instant, crawl). Gets the objects of a prefab that have a given dynamic field. Input p
✍ flowgraph_nodes_gameplay_crawl_resetCrawl 2 Flowgraph node "Reset Crawl" (category once_instant, crawl). Resets the active crawl: teleports the vehicle to the start and resets data and
✍ flowgraph_nodes_gameplay_crawl_setupCrawl 2 Flowgraph node "Setup Crawl" (category once_instant, crawl). Prepares a crawl course: loads the trail, teleports the vehicle to the start an
✍ flowgraph_nodes_gameplay_crawl_startCrawl 2 Flowgraph node "Start Crawl" (category once_instant, crawl). Starts the run and the crawl timer; requires Setup Crawl to have been executed
✍ flowgraph_nodes_gameplay_crawl_stopCrawl 2 Flowgraph node "Stop Crawl" (category once_instant, crawl). Stops the active crawl. Outputs: success, failed (no active crawl) and isActive
✍ flowgraph_nodes_gameplay_decalCircle 3 Flowgraph node "Decal Circle" (category repeat_instant, util/draw). Draws a circle of decals on the ground, like a radial loading bar. Input
✍ flowgraph_nodes_gameplay_decalLine 3 Flowgraph node "Decal Line" (category repeat_instant, util/draw). Draws a line of decals from point posA to point posB, like a loading bar.
✍ flowgraph_nodes_gameplay_decalPath 5 Flowgraph node "Decal Path" (category repeat_instant, util/draw/route). Draws animated decals (groundmarker arrows) along a route from posA
✍ flowgraph_nodes_gameplay_decalSingle 2 Flowgraph node "Decal Single" (category repeat_instant, util/draw). Draws a single decal in the world. Input pins: pos, rot (quat), scl, dec
✍ flowgraph_nodes_gameplay_delivery_abandonDelivery 5 Flowgraph node "Abandon Delivery" (category once_instant, tags delivery/mission). Abandons the current delivery and tears down the system (v
✍ flowgraph_nodes_gameplay_delivery_deliveryFinished 4 Flowgraph node "Delivery Finished" (category repeat_instant, delivery). Detects the end of the delivery (all objectives reached or manual en
✍ flowgraph_nodes_gameplay_delivery_getDeliveryResults 4 Flowgraph node "Get Delivery Results" (category provider, delivery). Provides the current results of the delivery as a table (time, timeStr,
✍ flowgraph_nodes_gameplay_delivery_loadDelivery 6 Flowgraph node "Load Delivery" (category once_f_duration, delivery). Loads a delivery file, prepares vehicles and routes and puts the player
✍ flowgraph_nodes_gameplay_delivery_resetDelivery 6 Flowgraph node "Reset Delivery" (category once_f_duration, delivery). Resets the active or finished delivery: vehicles returned to their sta
✍ flowgraph_nodes_gameplay_delivery_startDelivery 4 Flowgraph node "Start Delivery" (category once_instant, delivery). Starts the delivery: objectives, hints, markers and task list become visi
✍ flowgraph_nodes_gameplay_dragRace_dragRaceState 2 Flowgraph node "Drag Race State" (category repeat_instant). Pure monitoring node for the drag race state (data from gameplay_drag_dragBridge
✍ flowgraph_nodes_gameplay_dragRace_dragTimes 4 Flowgraph node "Get Drag Race Times" (category repeat_instant). Gives in real time the timers of a vehicle (vehId pin) from gameplay_drag_dr
✍ flowgraph_nodes_gameplay_dragRace_generateDragOpponents 12 Flowgraph node "Generate Drag Race Opponents" (category once_instant, depends on gameplay_drag_dragBridge). Generates a list of opponent veh
✍ flowgraph_nodes_gameplay_dragRace_getDragWinners 2 Flowgraph node "Get Drag Race Winner Data" (category repeat_instant). Gives the player's result at the end of a drag race. Outputs: playerWi
✍ flowgraph_nodes_gameplay_dragRace_getRacerData 2 Flowgraph node "Get Drag Racer Data" (category repeat_instant, LEGACY). Convenience node that gives the state of a driver (vehId): isPlayabl
✍ flowgraph_nodes_gameplay_dragRace_getRacerSpawnPoint 2 Flowgraph node "Get Drag Racer Spawn Point" (category repeat_instant). Gives the spawn position and rotation of a driver's lane (vehId), gen
✍ flowgraph_nodes_gameplay_dragRace_getRacerStatus 2 Flowgraph node "Get Drag Racer Status" (category repeat_instant). Gives the state of a driver (vehId pin): isPlayable, lane, isDesqualified,
✍ flowgraph_nodes_gameplay_dragRace_loadDragData 1 Flowgraph node "Load Drag Race Data" (category once_instant). Loads and initializes the drag race data from a file (filepath pin), normally
✍ flowgraph_nodes_gameplay_dragRace_resetDragRace 1 Flowgraph node "Reset Drag Race" (category once_instant). Resets the drag race (dragBridge.reset) and can also clear the drivers (clearRacer
✍ flowgraph_nodes_gameplay_dragRace_setDragVehicle 8 Flowgraph node "Set Drag Vehicles" (category once_instant). Registers the race vehicles in gameplay_drag_dragBridge.setVehicles. The per-lan
✍ flowgraph_nodes_gameplay_dragRace_setRacerDial 1 Flowgraph node "Set Drag Racer Dial" (category once_instant). Sets the dial (announced time) of one or more drivers. Input pin: dials, table
✍ flowgraph_nodes_gameplay_dragRace_startDragRace 1 Flowgraph node "Start Drag Race" (category once_instant). Starts the drag race activity, to be called after the vehicles are set up. Input p
✍ flowgraph_nodes_gameplay_drift_driftClear 1 Flowgraph node "Clear Drift" (tags gameplay/utils). Clears the drift system: stunt zones, scores and other systems, via gameplay_drift_gener
✍ flowgraph_nodes_gameplay_drift_driftDonut 1 Flowgraph node "Drift Donut Detected" (category repeat_instant, drift). Detects donut zones: emits a donutDrift pulse and the donutScore sco
✍ flowgraph_nodes_gameplay_drift_driftInformation 1 Flowgraph node "Drift Information" (category repeat_instant, drift). Gives the vehicle's drift state: drifting/notDrifting, pulses spinout,
✍ flowgraph_nodes_gameplay_drift_driftReset 1 Flowgraph node "Reset Drift" (category repeat_instant, drift). Resets scores and systems: gameplay_drift_general.reset() then mgr.modules.dr
✍ flowgraph_nodes_gameplay_drift_driftScore 1 Flowgraph node "Drift Score" (category repeat_instant, drift). Gives the drift scores from gameplay_drift_scoring.getScore(): score (total),
✍ flowgraph_nodes_gameplay_drift_driftTightDrift 1 Flowgraph node "Drift Through Detected" (category repeat_instant, drift). Detects tight drift zones: emits tightDrift (pulse) and tightDrift
✍ flowgraph_nodes_gameplay_drift_driftVeh 1 Flowgraph node "Drift Veh" (category repeat_instant, drift). Sets the reference vehicle of the drift module; without a specified id, the pla
✍ flowgraph_nodes_gameplay_drift_setDriftBounds 1 Flowgraph node "Drift Bounds" (category repeat_instant, drift). Uses a sites file (sitesPath pin) to create the bounds of the drift mission
✍ flowgraph_nodes_gameplay_drift_setDriftChallengeMode 1 Flowgraph node "Set Drift Challenge Mode" (category repeat_instant). Sets the drift challenge mode via gameplay_drift_general.setChallengeMo
✍ flowgraph_nodes_gameplay_drift_setDriftContext 1 Flowgraph node "Set Drift Context" (category repeat_instant). Sets the drift context, which defines a set of rules and display, via gameplay
✍ flowgraph_nodes_gameplay_drift_setDriftData 1 Flowgraph node "Set Drift Data" (category repeat_instant). Loads the drift data (for example stunt zones) from a file (driftDataFile pin) vi
✍ flowgraph_nodes_gameplay_drift_setDriftRacePath 1 Flowgraph node "Drift Race Path" (category repeat_instant, drift). Uses a race path (racePath pin) to define checkpoints, destination and st
✍ flowgraph_nodes_gameplay_getWalkingBlacklist 1 Flowgraph node "Is Walking Blacklisted" (category repeat_instant, depends on gameplay_walk). Indicates whether a vehicle (vehId pin) is allo
✍ flowgraph_nodes_gameplay_groundmarkerDistance 1 Flowgraph node "Groundmarker Remaining Distance" (category repeat_instant, depends on core_groundMarkers). Gives the remaining distance (m)
✍ flowgraph_nodes_gameplay_groundmarkers 5 Flowgraph node "Groundmarkers" (category repeat_instant, depends on core_groundMarkers). Creates ground markers that show the path to a targ
✍ flowgraph_nodes_gameplay_isWalking 3 Flowgraph node "Is Walking" (category repeat_instant, "walking" color/icon). Tests every frame whether the player is in walking mode via gam
✍ flowgraph_nodes_gameplay_isWalkingEnabled 1 Flowgraph node "Is Walking Enabled" (category repeat_instant). Indicates whether the player is allowed to enter or exit a vehicle themselves
✍ flowgraph_nodes_gameplay_missionDefaults 2 Flowgraph node "Mission Defaults" (category provider). Provides default values common to missions: markerInactive (light orange RGBA color {
✍ flowgraph_nodes_gameplay_multiseat 4 Flowgraph node "Multiseat" (category once_instant, no pin). Enables the 'multiseat' setting once (workOnce) while saving the previous value,
✍ flowgraph_nodes_gameplay_playerMoves 3 Flowgraph node "Detect Acceleration At Start" (category repeat_instant, timer icon). Used to start a mission when the player moves rather th
✍ flowgraph_nodes_gameplay_pointsBarSetPoints 1 Flowgraph node "PointsBar Points" (category repeat_instant, ui color/icon). Sets the points and the label of the pointsBar UI app via ui_app
✍ flowgraph_nodes_gameplay_pointsBarSetThresholds 1 Flowgraph node "PointsBar Thresholds" (category repeat_instant, ui color/icon). Defines the bronze, silver and gold thresholds (number input
✍ flowgraph_nodes_gameplay_race_filePath 6 Flowgraph node "File Path" (category once_p_duration, tag scenario). Loads a race path (.race.json file) into a gameplay/race/path object, d
✍ flowgraph_nodes_gameplay_race_fileRace 10 Flowgraph node "File Race" (tag scenario, no category defined). Manages a complete race from a pathData (File Path node): creates a gameplay
✍ flowgraph_nodes_gameplay_race_imRaceTimes 3 Flowgraph node "im Race Times" (category repeat_instant, tag scenario). Draws in imgui the race times of a vehicle by calling race:inDrawTim
✍ flowgraph_nodes_gameplay_race_moveVehicleToStartposition 3 Flowgraph node "Move Veh to Start Position" (category repeat_instant, tags scenario and race). Moves (and repairs by default) a vehicle to a
✍ flowgraph_nodes_gameplay_race_pathDefaultStartTransform 3 Flowgraph node "Race Start Transform" (category repeat_instant, tags scenario and race). Gives the transform of a start position of a pathDa
✍ flowgraph_nodes_gameplay_race_pathEndTransform 3 Flowgraph node "Race End Transform" (category repeat_instant, tag scenario). Gives the transform of the end pathnode of a pathData, useful f
✍ flowgraph_nodes_gameplay_race_raceAiParameters 2 Flowgraph node "Race AI Parameters" (category once_instant, tags ai and race, author BeamNG). Sets once the driving parameters of all AI veh
✍ flowgraph_nodes_gameplay_race_raceCpLapChange 1 Flowgraph node "Race CP/Lap Change" (category repeat_instant). Lets a flow (changed pulse) through when a vehicle's checkpoint or lap change
✍ flowgraph_nodes_gameplay_race_raceData 1 Flowgraph node "Race Data" (category repeat_instant, tag scenario). Exposes race data for a vehicle (raceData.states[vehId]): formattedTime
✍ flowgraph_nodes_gameplay_race_raceDisqualify 2 Flowgraph node "Race Disqualify" (category repeat_instant, tag scenario). Disqualifies a vehicle from a race by calling raceData:abortRace(v
✍ flowgraph_nodes_gameplay_race_raceEndScreen 18 Flowgraph node "Race End Screen" (no category defined). Displays the end-of-race screen (UI route scenario.quickrace.end) with customizable
✍ flowgraph_nodes_gameplay_race_raceHighscoresComplete 2 Flowgraph node "Race Highscores" (category repeat_instant, tag scenario), "complete race" variant. Records the time of the vehicle's last pa
✍ flowgraph_nodes_gameplay_race_raceHighscoresLap 2 Flowgraph node "Race Highscores" (category repeat_instant, tag scenario), "lap" variant. Identical to raceHighscoresComplete but records und
✍ flowgraph_nodes_gameplay_race_raceMarkers 8 Flowgraph node "Race Markers" (category repeat_instant, tag scenario). Displays in 3D (module scenario/race_marker) the race markers of a ve
✍ flowgraph_nodes_gameplay_race_raceNodeReached 3 Flowgraph node "Race Pathnode Reached" (category logic, tag scenario). Lets flow through when a vehicle reaches a pathnode of the race (even
✍ flowgraph_nodes_gameplay_race_racePacenoteReached 3 Flowgraph node "Race Pacenote Reached" (category logic, tag scenario). Lets a pulse through when a vehicle reaches a pacenote of the race (e
✍ flowgraph_nodes_gameplay_race_raceRecoveryAvailable 1 Flowgraph node "Race Recovery Available" (category logic). Tests whether a vehicle has a recovery point (race:hasRecoveryPosition(vehId)). F
✍ flowgraph_nodes_gameplay_race_raceRecoveryUsed 1 Flowgraph node "Race Recovery Used" (category logic, tag scenario). Signals when a vehicle has used a recovery in the race (events.recovered
✍ flowgraph_nodes_gameplay_race_raceRequestRecovery 1 Flowgraph node "Race Request Recovery" (category repeat_instant, tag scenario). Attempts to put the vehicle back on the last recovery point
✍ flowgraph_nodes_gameplay_race_raceSuspend 2 Flowgraph node "Race Suspend" (tag scenario, no category defined). Suspends or resumes a race: flow on the suspend pin calls raceData:doSusp
✍ flowgraph_nodes_gameplay_rally_aiCompetitorsLeaderboard 1 Flowgraph node "Rally AI Competitors Leaderboard" (category once_instant, tag rally). Simulates the stage times of AI competitors from the a
✍ flowgraph_nodes_gameplay_rally_createRallyGroundMarker 1 Flowgraph node "Rally Mode Create Ground Marker Route" (category once_instant, tag rally). Creates the ground marker route (core_groundMarke
✍ flowgraph_nodes_gameplay_rally_finish 1 Flowgraph node "Rally Mode Finish" (category once_instant, tag rally, no pin). When it receives flow, triggers once the hook extensions.hook
✍ flowgraph_nodes_gameplay_rally_fireRallyEvent 1 Flowgraph node "Rally Mode Fire Rally Event" (category once_instant, tag rally). Fires a rally event: calls extensions.hook('on' .. eventTyp
✍ flowgraph_nodes_gameplay_rally_handleLapChange 1 Flowgraph node "Rally Mode Handle Lap Change" (tag rally). Intended to update the lap info. Inputs: lapChange (pulse), currLap, maxLap.
✍ flowgraph_nodes_gameplay_rally_loop_advanceLoopSchedule 1 Flowgraph node "Rally Advance Loop Schedule" (category once_instant, tag rally, no pin). Asks the rally loop manager (gameplay_rallyLoop.get
✍ flowgraph_nodes_gameplay_rally_loop_getCurrentRacePath 1 Flowgraph node "Rally Get Current Race Path" (category once_instant, tag rally). Reads rm:getCurrentRacePath() from the rally loop manager a
✍ flowgraph_nodes_gameplay_rally_loop_getLoopServiceOutTC 1 Flowgraph node "Rally Loop Get Service Out TC" (category once_instant, tag rally). Returns the position (pos, vec3) and rotation (rot, quat)
✍ flowgraph_nodes_gameplay_rally_loop_getRallyLoopAiCompetitorsInputs 1 Flowgraph node "Rally Loop AI Competitors Inputs" (category once_instant, tag rally). Prepares the inputs of the Rally AI Competitors Leader
✍ flowgraph_nodes_gameplay_rally_loop_getRallyLoopInfo 1 Flowgraph node "Rally Loop Get Info" (category once_instant, tag rally). Reads from the rally loop manager the name of the rally (rm:getRall
✍ flowgraph_nodes_gameplay_rally_loop_getRallyLoopTrafficEnabled 1 Flowgraph node "Rally Get Traffic Enabled" (category once_instant, tags rally and traffic). Indicates in trafficEnabled (bool) whether traff
✍ flowgraph_nodes_gameplay_rally_loop_loopChainedMissionSetup 2 Flowgraph node "Rally Loop Chained Mission Setup" (category once_instant, tag rally, no pin). Prepares the next mission of the rally loop af
✍ flowgraph_nodes_gameplay_rally_loop_loopInit 4 Flowgraph node "Rally Loop Init" (category once_instant, tag rally). Initializes the rally loop: reloads the loop extension (unload then loa
✍ flowgraph_nodes_gameplay_rally_loop_rallyClock 3 Flowgraph node "Rally Clock" (category repeat_instant, tag rally). Provides the current rally epoch time (currentEpochTime, seconds, rm:getE
✍ flowgraph_nodes_gameplay_rally_loop_rallyExcludeTraffic 1 Flowgraph node "Rally Exclude Traffic" (category once_instant, tag rally). Applies (enable = true, default value) or clears (false) the traf
✍ flowgraph_nodes_gameplay_rally_loop_rallyPositionGetter 2 Flowgraph node "Rally Position Getter" (category repeat_instant, tag rally). Looks in a pathData for the start position with the given name
✍ flowgraph_nodes_gameplay_rally_loop_recordTimeCardEntry 1 Flowgraph node "Rally Loop Record Time Card Entry" (category once_instant, tag rally). Records a time card entry in the rally loop: rm:recor
✍ flowgraph_nodes_gameplay_rally_loop_routeAfterRoadSection 1 Flowgraph node "Rally Route After Road Section" (category once_instant, tag rally). Routes the flow after a road section according to the cu
✍ flowgraph_nodes_gameplay_rally_loop_saveRallyLoopAttempt 1 Flowgraph node "Rally Loop Save Attempt" (category once_instant, tag rally). Records the rally loop attempt. With dnfType set ("restart" or
✍ flowgraph_nodes_gameplay_rally_raceEditorPath 3 Flowgraph node "Rally Mode Race Editor Path" (category once_instant, tag rally). Returns the race file name to use in the fname pin: 'race.r
✍ flowgraph_nodes_gameplay_rally_rallyDebugNode 1 Flowgraph node "Rally Debug Draw" (category repeat_instant, tag rally). Draws debug info for a vehicle every frame: its bounding box (RallyU
✍ flowgraph_nodes_gameplay_rally_rallyEndScreenResults 1 Flowgraph node "Rally End Screen Results" (category repeat_instant, rally color, ui icon). Adds text panels to the mission end screen: the f
✍ flowgraph_nodes_gameplay_rally_rallyMoveVehicleTo 1 Flowgraph node "Rally Move Vehicle To" (category repeat_instant, tag rally). Moves a vehicle so that the middle of its front bumper, at the
✍ flowgraph_nodes_gameplay_rally_rallyRouteData 1 Flowgraph node "Rally Route Data" (category repeat_instant, tag rally). Reads the rally manager (gameplay_rally.getRallyManager()) and publi
✍ flowgraph_nodes_gameplay_rally_rallyStageCountdownSetup 1 Flowgraph node "Rally Stage Countdown Setup" (category once_instant, tag rally, no pin). Prepares the rally countdown UI flow before the sta
✍ flowgraph_nodes_gameplay_rally_rallyStageInfoPanel 9 Flowgraph node "Rally Info Panel" (category repeat_instant, tag rally/ui/start/screen, ui icon). Builds the consolidated rally start screen
✍ flowgraph_nodes_gameplay_rally_rallyStageStars 1 Flowgraph node "Rally Stage Stars" (category once_instant, tags rally, mission, stars). Awards the bronze/silver/gold medals of an attempt b
✍ flowgraph_nodes_gameplay_rally_rallyStageSuperCountdown 33 Flowgraph node "Rally Stage Super Countdown" (timer icon, tag rally, no category). Standalone rally stage start countdown, with no dependenc
✍ flowgraph_nodes_gameplay_rally_rallySuperCountdown 47 Flowgraph node "Rally Super Countdown" (timer icon, tag rally, rallyLoop color). Complete start line system of the rally loop: clock, start
✍ flowgraph_nodes_gameplay_rally_recoverInPlace 7 Flowgraph node "Rally Mode Recover In Place" (category repeat_p_duration, tags rally, recover, teleport). Recovers the vehicle in place, wit
✍ flowgraph_nodes_gameplay_rally_recoverToRouteDeparture 7 Flowgraph node "Rally Mode Recover To Route Departure" (category repeat_p_duration, tags rally, recover, teleport). Puts the vehicle back at
✍ flowgraph_nodes_gameplay_rally_registerRace 1 Flowgraph node "Rally Mode Register Race" (category once_instant, tag rally). Passes the race data to rally mode by triggering extensions.ho
✍ flowgraph_nodes_gameplay_rally_resyncAfterTeleport 1 Flowgraph node "Rally Mode Resync After Teleport" (category repeat_instant, tag rally). Clears the pacenotes' execution state and resynchron
✍ flowgraph_nodes_gameplay_rally_sessionStart 5 Flowgraph node "Rally Mode Session Start" (category once_instant, tag rally). Loads what rally mode needs: extensions gameplay_rally, rally
✍ flowgraph_nodes_gameplay_rally_setNoteSearch 1 Flowgraph node "Rally Mode Set NoteSearch" (tag rally, no category). Intended to search for the nearest pacenotes rather than the next one.
✍ flowgraph_nodes_gameplay_rally_stageComplete 1 Flowgraph node "Rally Mode Stage Complete" (category once_instant, tag rally, no pin). Signals the end of the stage (vehicle stopped) by tri
✍ flowgraph_nodes_gameplay_rally_stageRuntimeState 3 Flowgraph node "Rally Stage Runtime State" (category repeat_instant, tag rally). Reads the stage runtime state held by the RallyManager: put
✍ flowgraph_nodes_gameplay_rally_trackRecovery 1 Flowgraph node "Rally Mode Track Recovery" (category repeat_instant, tag rally). Tracks flips and recoveries: every frame, computes recovery
✍ flowgraph_nodes_gameplay_rally_trackStageTime 2 Flowgraph node "Rally Track Stage Time" (category repeat, timer icon, tag rally). Every frame, emits the onRallyDataUpdated hook with {activ
✍ flowgraph_nodes_gameplay_rally_trackVehicleDistanceToPos 5 Flowgraph node "Track Vehicle Distance to Position" (category repeat, straighten icon, tag rally). Measures the distance between a vehicle's
✍ flowgraph_nodes_gameplay_rally_vehicleStoppedNearPlane 11 Flowgraph node "Stopped Near Plane?" (category repeat, timer icon, once + duration behavior, tag rally). Checks that a vehicle is stopped wi
✍ flowgraph_nodes_gameplay_rally_vehicleStoppedNearPos 10 Flowgraph node "Stopped Near Position?" (category repeat, timer icon, once + duration behavior, tag rally). Checks that a vehicle is stopped
✍ flowgraph_nodes_gameplay_recoveryPrompt_getRecoveryPromptButtonLimitAndCount 3 Flowgraph node "Get Recovery Prompt Button Limit and Count" (category once_instant, recoveryPrompt color/icon, depends on gameplay_walk). Re
✍ flowgraph_nodes_gameplay_recoveryPrompt_onRecoveryPromptAction 6 Flowgraph node "On Recovery Prompt Action" (category logic). Lets flow through when a button of the recovery prompt menu has been pressed. P
✍ flowgraph_nodes_gameplay_recoveryPrompt_setRecoveryPromptActive 2 Flowgraph node "Set Recovery Prompt Active" (category once_instant). Enables or disables the mission recovery system (core_recoveryPrompt).
✍ flowgraph_nodes_gameplay_recoveryPrompt_setRecoveryPromptButton 1 Flowgraph node "Set Recovery Prompt Button" (category once_instant). Creates or modifies a recovery prompt button via core_recoveryPrompt.ad
✍ flowgraph_nodes_gameplay_recoveryPrompt_setRecoveryPromptButtonEnabled 2 Flowgraph node "Set Recovery Prompt Button Enabled" (category once_instant). Enables or disables a recovery prompt button by id; if the butt
✍ flowgraph_nodes_gameplay_recoveryPrompt_setRecoveryPromptEnabled 2 Flowgraph node "Set Recovery Prompt Enabled" (category once_instant). Enables or disables the standard recovery prompt buttons; a disabled b
✍ flowgraph_nodes_gameplay_recoveryPrompt_setRecoveryPromptLimit 3 Flowgraph node "Set Recovery Prompt Limits" (category once_instant). Limits the number of uses of each recovery prompt button (-1 = unlimite
✍ flowgraph_nodes_gameplay_removeOtherVehicles 6 Flowgraph node "Remove Other Vehicles" (category once_instant). Deletes all vehicles except those whose id is given on the idToIgnore_1..N p
✍ flowgraph_nodes_gameplay_sites_fileSites 6 Flowgraph node "File Sites" (category once_p_duration, tags scenario). Loads a .sites.json file via gameplay_sites_sitesManager.loadSites an
✍ flowgraph_nodes_gameplay_sites_location 8 Flowgraph node "Location" (category repeat_instant, tags scenario/sites). Decomposes a location data (locationData table): outputs name, pos
✍ flowgraph_nodes_gameplay_sites_locationByName 5 Flowgraph node "Location by Name". Looks up a location by name in sitesData.locations.byName. Inputs: flow, sitesData, locationName; outputs
✍ flowgraph_nodes_gameplay_sites_locationsByTag 6 Flowgraph node "Locations by Tags" (category once_instant). Finds at most count locations with a given tag, optionally between minDist and
✍ flowgraph_nodes_gameplay_sites_parkingspot 8 Flowgraph node "Parking Spot" (category repeat_instant). Decomposes a parking spot (parkingSpotData): outputs name, pos, rot (quat), scl (ve
✍ flowgraph_nodes_gameplay_sites_parkingspotByName 5 Flowgraph node "Parking Spot by Name". Looks up a parking spot by name in sitesData.parkingSpots.byName. Inputs: flow, sitesData, spotName;
✍ flowgraph_nodes_gameplay_sites_posInZone 3 Flowgraph node "Position in Zone" (category repeat_instant). Tests in 2D (zone:containsPoint2D) whether a position is inside a Sites zone. O
✍ flowgraph_nodes_gameplay_sites_zoneByName 5 Flowgraph node "Zone by Name". Looks up a zone in sitesData.zones.byName. Inputs: flow, sitesData, zoneName; outputs: flow, exists (hidden),
✍ flowgraph_nodes_gameplay_timers_createTimer 3 Flowgraph node "Create Timer" (category once_instant). Creates a timer via the flowgraph timer module. Inputs: duration (default 5 s), ref (
✍ flowgraph_nodes_gameplay_timers_getTimer 2 Flowgraph node "Get Timer". Reads the state of a timer (timerId). Outputs: flow, complete, completed (single pulse), incomplete, elapsed, re
✍ flowgraph_nodes_gameplay_timers_setTimerProperty 2 Flowgraph node "Set Timer Property" (category repeat_instant). Modifies an existing timer: progress (elapsed time in s), pause, duration, re
✍ flowgraph_nodes_gameplay_timers_simpleTimer 5 Flowgraph node "Simple Timer" (category once_f_duration). All-in-one timer: creates a timer (duration, ref dtSim/dtReal/dtRaw) on trigger, t
✍ flowgraph_nodes_gameplay_toggleWalking 1 Flowgraph node "Toggle Walking" (category repeat_instant, depends on gameplay_walk). Input pulses enterWalking (switches to walking mode, wi
✍ flowgraph_nodes_gameplay_traffic_addVehicle 1 Flowgraph node "Add Vehicle (Traffic)" (once_instant). Adds the vehicle vehId to the traffic table via self.mgr.modules.traffic:insertTraffi
✍ flowgraph_nodes_gameplay_traffic_drivingStats 4 Flowgraph node "Traffic Driving Stats" (once_p_duration). Tracks the road and driving behavior of a vehicle (vehId, otherwise the player veh
✍ flowgraph_nodes_gameplay_traffic_fileVehicleGroup 5 Flowgraph node "File Vehicle Group" (once_p_duration). Loads a .vehGroup.json file (jsonReadFile). If the file has a generator or no data, t
✍ flowgraph_nodes_gameplay_traffic_getTrafficState 1 Flowgraph node "Get Traffic State" (repeat_instant). Reads the traffic state (gameplay_traffic.getState: on, off, spawning, loading) and the
✍ flowgraph_nodes_gameplay_traffic_getVehicle 1 Flowgraph node "Get Vehicle Id From Table" (repeat_instant). Reads the element at index index of a vehicle id array (vehicleIds) and outpu
✍ flowgraph_nodes_gameplay_traffic_getVehicleData 1 Flowgraph node "Get Traffic Vehicle Data" (repeat_instant). Reads the parameters of an active traffic vehicle (gameplay_traffic.getTrafficDa
✍ flowgraph_nodes_gameplay_traffic_parkingParams 2 Flowgraph node "Parking System Parameters" (once_instant). Sets the parking system (gameplay_parking.setParkingVars): precision and neatness
✍ flowgraph_nodes_gameplay_traffic_parkingTrackVehicle 4 Flowgraph node "Track Vehicle Parking" (default category). Enables parking tracking for a vehicle (gameplay_parking.enableTracking) and outp
✍ flowgraph_nodes_gameplay_traffic_pursuitInformation 5 Flowgraph node "Pursuit Information" (repeat_instant). Gives the police pursuit state of a vehicle (vehId, otherwise the player) via gamepla
✍ flowgraph_nodes_gameplay_traffic_pursuitMode 2 Flowgraph node "Set Pursuit Mode" (once_instant). Sets the pursuit mode for a traffic vehicle: mode (0 off, 1 to 3 active, -1 arrested), tar
✍ flowgraph_nodes_gameplay_traffic_pursuitParams 2 Flowgraph node "Pursuit Parameters" (once_instant). Sets the police parameters (gameplay_police.setPursuitVars): policeStrictness (strictnes
✍ flowgraph_nodes_gameplay_traffic_pursuitRoadblock 1 Flowgraph node "Pursuit Roadblock" (once_instant). Places up to 3 vehicles (vehId1..3) in a roadblock with gameplay_police.placeRoadblock. I
✍ flowgraph_nodes_gameplay_traffic_removeVehicle 1 Flowgraph node "Remove Vehicle (Traffic)" (once_instant). Removes the vehicle vehId from the traffic table via self.mgr.modules.traffic:remo
✍ flowgraph_nodes_gameplay_traffic_setVehicleData 2 Flowgraph node "Set Traffic Vehicle Data" (once_instant). Sets an active traffic vehicle: role (veh:setRole), enableActions (inverse of role
✍ flowgraph_nodes_gameplay_traffic_setVehicleFlowgraph 4 Flowgraph node "Set Vehicle Flowgraph" (once_instant). Launches a custom flowgraph (fgFile) for a traffic vehicle via veh.role:setupFlowgrap
✍ flowgraph_nodes_gameplay_traffic_setupParkedCars 4 Flowgraph node "Setup Parking System" (once_instant). Enables the parking spot placement system: gameplay_parking.setState(true), optional s
✍ flowgraph_nodes_gameplay_traffic_setupPursuitGameplay 1 Flowgraph node "Setup Pursuit Gameplay" (once_instant). Configures pursuit gameplay via gameplay_police.setupPursuitGameplay(suspectId, poli
✍ flowgraph_nodes_gameplay_traffic_signals_controller 7 Flowgraph node "Get Signal Controller" (repeat_instant). Reads a traffic light controller (signalControllerData): signalType, stateCount, du
✍ flowgraph_nodes_gameplay_traffic_signals_controllerByName 4 Flowgraph node "Controller by Name" (once_instant). Looks up a traffic light controller (signal type) by name in signalsData.controllers. Ou
✍ flowgraph_nodes_gameplay_traffic_signals_fileTrafficSignals 6 Flowgraph node "File Traffic Signals" (once_p_duration, depends on core_trafficSignals). Loads a traffic signals file (core_trafficSignals.l
✍ flowgraph_nodes_gameplay_traffic_signals_instance 1 Flowgraph node "Get Signal Instance" (repeat_instant). Reads a traffic light instance (signalInstanceData): pos (stop position), dirVec, tar
✍ flowgraph_nodes_gameplay_traffic_signals_instanceByName 4 Flowgraph node "Signal by Name" (once_instant). Looks up a traffic light instance by name in signalsData.instances. Outputs: exists (hidden)
✍ flowgraph_nodes_gameplay_traffic_signals_instanceSettings 1 Flowgraph node "Signal Instance Settings" (once_instant). Sets a traffic light instance: sequence (setSequence by id), controller (setContro
✍ flowgraph_nodes_gameplay_traffic_signals_instanceState 1 Flowgraph node "Predict Signal State" (once_instant). Predicts the future state of a traffic light instance after seconds seconds (positiv
✍ flowgraph_nodes_gameplay_traffic_signals_sequence 1 Flowgraph node "Get Signal Sequence" (repeat_instant). Reads a traffic light sequence (signalSequenceData): step (currStep), maxSteps (#time
✍ flowgraph_nodes_gameplay_traffic_signals_sequenceAdvance 1 Flowgraph node "Advance Sequence" (once_instant). Advances a traffic light sequence to the next step (sequence:advance()).
✍ flowgraph_nodes_gameplay_traffic_signals_sequenceByName 4 Flowgraph node "Sequence by Name" (once_instant). Looks up a traffic light sequence (signal group / phase logic) by name in signalsData.sequ
✍ flowgraph_nodes_gameplay_traffic_signals_sequenceSettings 1 Flowgraph node "Signal Sequence Settings" (once_instant). Sets a traffic light sequence: active (setActive), timed (enableTimer), stepIndex
✍ flowgraph_nodes_gameplay_traffic_signals_trafficSignalsSettings 2 Flowgraph node "Traffic Signals Settings" (once_instant, depends on core_trafficSignals). Pins: signalsActive (core_trafficSignals.setActive
✍ flowgraph_nodes_gameplay_traffic_trafficActivate 5 Flowgraph node "Activate Traffic" (once_instant). Activates traffic mode for a list of ids (vehicleIds, typically from the Spawn Vehicle Gro
✍ flowgraph_nodes_gameplay_traffic_trafficCustomGroup 11 Flowgraph node "Generate Vehicle Group" (category provider, depends on gameplay_traffic_trafficUtils). Generates the data of a vehicle group
✍ flowgraph_nodes_gameplay_traffic_trafficMoveGroup 6 Flowgraph node "Move Vehicle Group" (default category). Teleports all vehicles of a group (vehicleIds) to a new position, rotation and forma
✍ flowgraph_nodes_gameplay_traffic_trafficParams 3 Flowgraph node "Traffic Parameters" (once_instant). Sets the traffic system via gameplay_traffic.setTrafficVars: aiMode (traffic, random, fl
✍ flowgraph_nodes_gameplay_traffic_trafficScatter 1 Flowgraph node "Scatter Traffic" (once_instant). Teleports all traffic vehicles away from the player or the camera with gameplay_traffic.sca
✍ flowgraph_nodes_gameplay_traffic_trafficSpawnGroup 7 Flowgraph node "Spawn Vehicle Group" (default category). Spawns a group of vehicles with core_multiSpawn.spawnGroup. Pins: group (without a
✍ flowgraph_nodes_gameplay_vehiclePool_activateAll 1 Flowgraph node "Activate All Vehicles" (once_instant). Activates or deactivates all vehicles in the pool (pool:setAllVehs(activate), default
✍ flowgraph_nodes_gameplay_vehiclePool_activateByDistance 1 Flowgraph node "Activate Vehicles By Distance" (repeat_instant). Every frame, activates the pool vehicles close to a point and deactivates t
✍ flowgraph_nodes_gameplay_vehiclePool_activateVehicle 1 Flowgraph node "Activate Vehicle" (once_instant). Activates or deactivates a vehicle in the pool (pool:setVeh(vehId, activate), default true
✍ flowgraph_nodes_gameplay_vehiclePool_addGroup 1 Flowgraph node "Add Vehicle Group To Pool" (once_instant). Inserts all ids of the vehGroup table into the pool (pool:insertVeh for each). Re
✍ flowgraph_nodes_gameplay_vehiclePool_addVehicle 1 Flowgraph node "Add Vehicle (Pool)" (once_instant). Adds a vehicle to the pool (pool:insertVeh(vehId)). Requires the core_vehicleActivePooli
✍ flowgraph_nodes_gameplay_vehiclePool_createPool 5 Flowgraph node "Create Vehicle Pool" (once_instant). Creates a vehicle pool (core_vehicleActivePooling.createPool({name})) to manage the act
✍ flowgraph_nodes_gameplay_vehiclePool_cyclePool 1 Flowgraph node "Cycle Pool" (once_instant). Swaps an active vehicle and an inactive vehicle of the pool to keep the same number of running v
✍ flowgraph_nodes_gameplay_vehiclePool_managePool 1 Flowgraph node "Manage Vehicle Pool" (once_instant). Sets and reads a vehicle pool: maxActive (max number of active vehicles; -1 or nil = un
✍ flowgraph_nodes_gameplay_vehiclePool_removeVehicle 1 Flowgraph node "Remove Vehicle (Pool)" (once_instant). Removes a vehicle from the pool (pool:removeVeh(vehId)). Requires the core_vehicleAct
✍ flowgraph_nodes_gameplay_zone 2 Flowgraph node "In Zone" (repeat_instant, sites color). Detects whether a vehicle (vehId) is inside the zones of sitesData: tests points of
✍ flowgraph_nodes_gfx_blur 4 Flowgraph node "Blur" (repeat_instant, tags gfx/blur). Blurs the scene: pin blurAmount (0 to 1, default 1) becomes the alpha of a full-scree
✍ flowgraph_nodes_gfx_dof 5 Flowgraph node "DOF" (default category, tags gfx/dof). Fades in (blurIn) or out (blurOut) a depth-of-field blur over fadeTime seconds (defau
✍ flowgraph_nodes_input_blacklistAction 8 Flowgraph node "Set Input Actions" (once_instant, depends on core_input_actionFilter). Blocks or allows a list of input actions, as a scenar
✍ flowgraph_nodes_input_blacklistActionFilter 6 Flowgraph node "Set Input Actions by Filters" (once_instant, depends on core_input_actionFilter; recommended for missions). Like "Set Input
✍ flowgraph_nodes_input_getActionControl 1 Flowgraph node "Get Action Control" (repeat_instant). Gives the control (key/button) bound to an input action via core_input_bindings.getCon
✍ flowgraph_nodes_logic_and 6 Flowgraph node 'And' (logic category). Only lets the flow through if all flow_1..flow_N inputs have flow. 2 inputs by default, the number is
✍ flowgraph_nodes_logic_booleanExpression 10 Flowgraph node 'Boolean Expression' (simple category). Evaluates a Lua boolean expression entered in data.expression (e.g. 'a and not b') wi
✍ flowgraph_nodes_logic_branch 1 Flowgraph node 'Branch' (logic category): an 'if'. If the input flow is active, lets the flow through the True or False output depending on
✍ flowgraph_nodes_logic_bundle 1 Flowgraph node 'Bundle' (logic category). Simply copies the input flow to the output; only used to visually group links for graph readabilit
✍ flowgraph_nodes_logic_chainFlowBranch 1 Flowgraph node 'Chainflow Branch' (logic category). Variant of Branch for 'chain flow' (pins declared with chainFlow=true): sends the flow t
✍ flowgraph_nodes_logic_compare 8 Flowgraph node 'Compare' (logic category). Compares inputs A and B (type any) with a comparison function chosen in the editor (list from get
✍ flowgraph_nodes_logic_edgeDetect 2 Flowgraph node 'Edge Detector' (logic category). Lets the flow through (for one frame) when the value of the 'signal' pin changes compared t
✍ flowgraph_nodes_logic_flowSwitch 7 Flowgraph node 'Flow Switch' (logic category). Switch with flow inputs 'on' and 'off'; the state can also be toggled by clicking the checkbo
✍ flowgraph_nodes_logic_frameDelay 7 Flowgraph node 'Frame Delay' (logic category). After the input flow appears, waits 'frames' calls of work before outputting flow. Requires a
✍ flowgraph_nodes_logic_once 3 Flowgraph node 'Once' (logic category, behaviour once). Lets the flow through only once (output impulse); the impulse pin 'reset' rearms it.
✍ flowgraph_nodes_logic_rateLimit 4 Flowgraph node 'Flow Interval' (logic category, file rateLimit). Lets a flow impulse through at regular intervals as long as the input flow
✍ flowgraph_nodes_logic_select 8 Flowgraph node 'Select' (logic category). Chooses a value among N inputs value_i according to the active select_i flow pins, and combines th
✍ flowgraph_nodes_logic_sequencer 9 Flowgraph node 'Sequencer' (logic category). Activates the flow outputs value_1..value_N in turn. Increment mode 'auto' (+1 per frame), 'man
✍ flowgraph_nodes_logic_switchcase 8 Flowgraph node 'Switch Case' (logic category). Compares the input value 'value' with N values value_i (strict equality) and sets the matchin
✍ flowgraph_nodes_logic_timedTrigger 7 Flowgraph node 'Timed Trigger' (logic category, behaviour once+duration). Flow must be held on 'charge' for data.duration seconds (3 by defa
✍ flowgraph_nodes_logic_wait 6 Flowgraph node 'Wait' (logic category, behaviour duration+once). When the flow arrives, waits 'duration' seconds (3 by default) before outpu
✍ flowgraph_nodes_logic_xor 1 Flowgraph node 'Xor' (logic category). The flow goes out if exactly one of the two inputs a and b has flow.
✍ flowgraph_nodes_macro_foreach 4 Flowgraph node 'Foreach' (macro, logic category). For each element of the input table, loads a new flowgraph (.flow.json file given by 'elem
✍ flowgraph_nodes_macro_getForeach 3 Flowgraph node 'Get Foreach' (provider category). In a flowgraph created by a Foreach node, exposes the key and value of the current element
✍ flowgraph_nodes_macro_integrated 15 Macro node 'Integrated' (hidden, canHaveGraph): represents a subgraph (target graph / macro) in the parent graph. Its pins are copied from t
✍ flowgraph_nodes_macro_io 6 Macro node 'I/O' (hidden, not deletable): acts as a gateway between a subgraph (macro) and its parent graph. ioType is 'in' (subgraph inputs
✍ flowgraph_nodes_math_accumulator 6 Flowgraph node 'Accumulator' (repeat_instant category). Adds the value of the 'value' pin (1 by default) to an internal sum every frame the
✍ flowgraph_nodes_math_ease 6 Flowgraph node 'Ease' (simple category). Applies an easing function to the input value (normally between 0 and 1): linear, in/out/inOut for
✍ flowgraph_nodes_math_increaser 4 Flowgraph node 'Increaser' (repeat_instant category). Keeps the maximum of the input value in memory: if 'value' exceeds the internal value,
✍ flowgraph_nodes_math_math 10 Flowgraph node 'Expression' (simple category, file math). Evaluates a Lua math expression (data.expression) on pins a, b, c... (number, vec3
✍ flowgraph_nodes_math_quaternion_direction 2 Flowgraph node 'Direction' (simple category). Converts an angle 'deg' in degrees into a rotation quaternion around the Z axis (setFromEuler(
✍ flowgraph_nodes_math_quaternion_lookAt 2 Flowgraph node 'Look At' (simple category). Computes the quaternion that orients a direction going from point 'from' to 'to', with the 'up'
✍ flowgraph_nodes_math_smoothers_linear 5 Flowgraph node 'Linear Smoother' (simple category). Linear smoothing of a signal with newTemporalSmoothing: 'value' toward the internal stat
✍ flowgraph_nodes_math_smoothers_nonLinear 4 Flowgraph node 'Nonlinear Smoother' (simple category). Nonlinear smoothing with newTemporalSmoothingNonLinear: upRate/downRate depending on
✍ flowgraph_nodes_math_smoothers_sigmoid 4 Flowgraph node 'Sigmoid Smoother' (simple category). Sigmoid smoothing with newTemporalSigmoidSmoothing: speed limits upRateLimit/downRateLi
✍ flowgraph_nodes_math_smoothers_spring 4 Flowgraph node 'Spring Smoother' (simple category). Should smooth a signal with a damped spring (upSpring/downSpring, upDamp/downDamp depend
✍ flowgraph_nodes_math_vector_merge 2 Flowgraph node 'Merge' (simple category). Groups up to 4 numbers x, y, z, w into a table {x, y, z, w} (type vec3, color or quat) on the 'val
✍ flowgraph_nodes_math_vector_split 2 Flowgraph node 'Split' (simple category). Decomposes a table (vec3, color or quat, 4 elements max) into numbers x, y, z, w.
✍ flowgraph_nodes_mission_ARunForLife 33 Flowgraph node 'ARunForLife' (repeat_instant category): complete logic of a small survival mini-game ("Plays my little scenario"). The camer
✍ flowgraph_nodes_mission_UpdateDisplayDragRace 6 Flowgraph node 'Update Display Drag Race' (repeat_instant category) for the drag race mission: displays the player's time and speed on the q
✍ flowgraph_nodes_mission_blacklistParkingSpots 10 Flowgraph node 'Blacklist Parking Spots' (once_instant category). Marks as 'banned' the parking spots (gameplay_parking) located within a ra
✍ flowgraph_nodes_mission_clearLightsDragRace 5 Flowgraph node 'Clear Lights Dragrace' (repeat_instant category). Hides the prestage/stage and countdown lights (scene objects Prestagelight
✍ flowgraph_nodes_mission_countdownLightsController 4 Flowgraph node 'Countdown Lights Controller' (repeat_instant category) for the drag race starting light. Turns on the ambers then the green
✍ flowgraph_nodes_mission_getCustomVehicleData 3 Flowgraph node 'Get Custom Vehicle Data' (once_instant category). Intended to read the dynamic fields of a vehicle (pin vehId) into custom o
✍ flowgraph_nodes_mission_getSetupData 1 Flowgraph node 'Get Mission Setup Data' (provider category). Exposes on its outputs the values of the mission setup modules (self.mgr.activi
✍ flowgraph_nodes_mission_goToStartLine 3 Flowgraph node 'Check Players Position' (repeat_instant category, file goToStartLine). Classifies the vehicle's position relative to the sta
✍ flowgraph_nodes_mission_knockAwayCheck 7 Flowgraph node 'KnockAway Check' (repeat_instant category). Detects whether the vehicles of a prefab (pin prefabId) have been knocked over (
✍ flowgraph_nodes_mission_lightsController 4 Flowgraph node 'Lights Controller' (repeat_instant category) for the drag race starting light (speed-based version). Same sequence as Countd
✍ flowgraph_nodes_mission_postClean 1 Flowgraph node 'Mission Post Clean' (once_p_duration category). Cleans up after a mission: if keepVeh, keeps the vehicle vehId (or the playe
✍ flowgraph_nodes_mission_preClean 1 Flowgraph node 'Mission Cleanup' (once_p_duration category). Cleans up the world state before a mission via the manager's mission module (pr
✍ flowgraph_nodes_mission_prepareVehicle 1 Flowgraph node 'Prepare Vehicle' (once_instant category). Prepares one or more vehicles for gameplay (electric and values) via self.mgr.modu
✍ flowgraph_nodes_mission_removeStashedPlayerVehicle 1 Flowgraph node 'Remove Stashed Player Vehicle' (once_p_duration category). Deletes the player vehicle stashed by the mission cleanup node (m
✍ flowgraph_nodes_mission_selectGarage2GarageVehicle 5 Flowgraph node 'Select Garage Vehicle' (once_instant category, author BeamNG) for the garage-to-garage mission. Randomly picks a model/confi
✍ flowgraph_nodes_mission_selectGarage2GarageZones 6 Flowgraph node 'Select Garage Sites' (once_instant category, author BeamNG). Picks a start spot in the mission's initial zones and an end sp
✍ flowgraph_nodes_mission_selectGarageSpots 6 Flowgraph node 'Select Garage Spots' (once_p_duration category, author BeamNG). Picks a start spot and an end spot among sitesData.parkingSp
✍ flowgraph_nodes_mission_selectHeistMissionSpots 4 Flowgraph node 'Select Heist Spots' (once_p_duration category, author BeamNG). Picks, among the spots of sitesData.parkingSpots whose first
✍ flowgraph_nodes_mission_stageLightsDragRace 5 Flowgraph node 'Set Stage Lights' (repeat_instant category). Turns on the Pre Stage or Stage light of the drag race Christmas tree (scene ob
✍ flowgraph_nodes_recording_playReplay 1 Flowgraph node 'Play Replay' (repeat_instant category). On the 'play' impulse, loads and starts a replay with core_replay.loadFile. The path
✍ flowgraph_nodes_recording_recordCamera 5 Flowgraph node 'Record Camera' (repeat_f_duration category). Records a camera path with keyframes: the first 'snap' impulse starts the recor
✍ flowgraph_nodes_recording_recordReplay 6 Flowgraph node 'Record Replay' (repeat_f_duration category). Meant to record a replay of the current vehicle: the impulse 'start' then 'stop
✍ flowgraph_nodes_recording_startAutoReplay 1 Flowgraph node 'Start Auto Replay'. On the 'startNewRec' impulse, stops the current recording and starts a new one via the manager's mission
✍ flowgraph_nodes_recording_stopAutoReplay 1 Flowgraph node 'Stop Auto Replay'. Stops the current recording if there is one (missionReplay module). If 'attemptNotCompleted' is true (mis
✍ flowgraph_nodes_recording_stopReplay 1 Flowgraph node 'Stop Replay' (repeat_instant category). Stops the current playback: if core_replay.state.state is 'playback', calls core_rep
✍ flowgraph_nodes_scene_camera_cameraAngle 2 Flowgraph node 'Camera Transform' (repeat_instant category, file cameraAngle). Gives the position (vec3), rotation (quat) and field of view
✍ flowgraph_nodes_scene_camera_cameraAutoRotate 1 Flowgraph node 'Camera Look at Position' (repeat_instant category, file cameraAutoRotate). Switches to the free camera and orients the camer
✍ flowgraph_nodes_scene_camera_cameraCircle 4 Flowgraph node 'Camera Auto Circle' (once_p_duration category). Rotates the free camera in a circle around a vehicle (vehId, default player
✍ flowgraph_nodes_scene_camera_cameraPath 8 Flowgraph node 'Simple Cam Path' (once_f_duration category, file cameraPath). Starts a camera path (.camPath.json file designated by 'pathNa
✍ flowgraph_nodes_scene_camera_getCamPath 5 Flowgraph node 'Get Cam Path' (once_f_duration category). Gives information on the state of a camera path (by 'id', otherwise the active one
✍ flowgraph_nodes_scene_camera_getCameraFOV 2 Flowgraph node 'Get Camera FOV' (repeat_instant category). Gives the camera's current field of view in degrees (core_camera.getFovDeg) on th
✍ flowgraph_nodes_scene_camera_getCameraMode 1 Flowgraph node 'Get Camera Mode' (repeat_instant category). Gives the name of the active camera mode (core_camera.getActiveCamName(0)) on th
✍ flowgraph_nodes_scene_camera_procedural_procCamPathPosRot 1 Flowgraph node 'Procedural Static CamPath' (once_p_duration category). Creates a camera path with two identical keys (position pos, rotation
✍ flowgraph_nodes_scene_camera_procedural_procDirectPath 1 Flowgraph node 'Procedural Direct Campath' (once_p_duration category). Generates a camera path that flies over the direct route from 'from'
✍ flowgraph_nodes_scene_camera_restartCamPath 2 Flowgraph node 'Restart Cam Path' (once_instant category, behaviour once). Restarts the active camera path (or the one with id 'id', hidden
✍ flowgraph_nodes_scene_camera_returnToVehicle 1 Flowgraph node 'Return camera to vehicle' (once_instant category). Brings the camera back to the active vehicle from another mode (free came
✍ flowgraph_nodes_scene_camera_setCameraFOV 4 Flowgraph node "Set Camera FOV" (repeat_instant category, camera color/icon). Input pin: value (number), the field of view in degrees. On ea
✍ flowgraph_nodes_scene_camera_setCameraMode 1 Flowgraph node "Set Camera Mode" (repeat_instant, depends on core_camera). Input pin: mode (string), name of the camera mode. On each execut
✍ flowgraph_nodes_scene_camera_setCameraPosition 7 Flowgraph node "Set Camera Position" (repeat_instant). Moves the free camera to a position, entered in the node ('custom' mode) or supplied
✍ flowgraph_nodes_scene_camera_setCameraRotation 7 Flowgraph node "Set Camera Rotation" (repeat_instant). Applies a rotation (quaternion) to the free camera, entered in the node ('custom' mod
✍ flowgraph_nodes_scene_camera_startCamPath 5 Flowgraph node "Start Cam Path" (once_instant). Makes the camera follow the path of a CameraPath object (.camPath.json file). Inputs: pathNa
✍ flowgraph_nodes_scene_camera_stopCamPath 2 Flowgraph node "Stop Cam Path" (once_instant). Stops a camera path: the active path is not considered completed but becomes inactive. Option
✍ flowgraph_nodes_scene_collectionMarker 6 Flowgraph node "Collection Marker" (repeat_instant, author BeamNG). Displays a colorable token in BeamNG colors (TSStatic art/shapes/collect
✍ flowgraph_nodes_scene_customLuaCommand 4 Flowgraph node "Custom Lua Command" (once_instant). Compiles with loadstring the Lua code received in the func pin then runs it with pcall.
✍ flowgraph_nodes_scene_getObjectField 1 Flowgraph node "Get Object Field" (repeat_instant). Reads a field of a scene object (scenetree.findObjectById). Inputs: objectId, fieldName,
✍ flowgraph_nodes_scene_getPlayerVehicle 2 Flowgraph node "Get Player Vehicle ID" (provider category). Outputs: vehId (number) id of the vehicle controlled by the player (be:getPlayer
✍ flowgraph_nodes_scene_getPointOnDecalroad 3 Flowgraph node "Get Point on Decalroad" (repeat_instant). Gives the position of a control point of a DecalRoad (roadId, idx) and an approxim
✍ flowgraph_nodes_scene_hide 2 Flowgraph node "Show/Hide Object" (repeat_instant). Hides or shows a scene object. Inputs: objID (number), hide (bool, true = hide). Sets ob
✍ flowgraph_nodes_scene_idByName 6 Flowgraph node "ID by Name" (simple category). Finds the id of the first scene object with a given name (scenetree.findObject). Input: name
✍ flowgraph_nodes_scene_keepPrefab 2 Flowgraph node "Keep Prefab" (once_instant). Marks a prefab to be kept after the flowgraph stops; by default a prefab created during executi
✍ flowgraph_nodes_scene_particleEmitter 11 Flowgraph node "Particle Emitter" (repeat_instant, author BeamNG). Creates a ParticleEmitterNode object (emitter BNGP_confetti, dataBlock li
✍ flowgraph_nodes_scene_pointOnDecalroad 3 Flowgraph node "Point on Decalroad" (repeat_instant). Tests whether a point (vec3) is on a DecalRoad (roadId) via roadObj:containsPoint, for
✍ flowgraph_nodes_scene_raceLineParking 15 Flowgraph node "Raceline Parking" (repeat_instant, author BeamNG). Checks that a vehicle is parked in a spot defined by position/rotation/sc
✍ flowgraph_nodes_scene_raycast 2 Flowgraph node "Raycast" (repeat_instant, tags util/draw). Casts a ray from pos in direction dir and hits the first static collision object
✍ flowgraph_nodes_scene_rectMarker 15 Flowgraph node "Parking Markers" (repeat_instant, author BeamNG). Creates a rectangular parking spot: a Box-type BeamNGTrigger and 4 corner
✍ flowgraph_nodes_scene_reloadCollision 1 Flowgraph node "Reload Collision" (once_instant). Reloads the level's collision data once via be:reloadCollision(). No pins.
✍ flowgraph_nodes_scene_reloadNavGraph 1 Flowgraph node "Reload Nav Graph" (once_instant). Reloads the navigation graph (the map) once via map.reset(). No pins.
✍ flowgraph_nodes_scene_removePrefab 2 Flowgraph node "Remove Prefab" (repeat_instant). Deletes a prefab by its id via self.mgr.modules.prefab:deletePrefab(id, true). Inputs: flow
✍ flowgraph_nodes_scene_resetPrefab 1 Flowgraph node "Reset Prefab" (once_instant, author BeamNG). Restores the transforms of the objects/vehicles of a prefab via self.mgr.module
✍ flowgraph_nodes_scene_setObjectField 1 Flowgraph node "Set Object Field" (repeat_instant). Modifies a field of a scene object by id. Inputs: objectId, fieldName, fieldArrayNum (hi
✍ flowgraph_nodes_scene_sevensegmentDisplay 10 Flowgraph node "Sevensegment Display" (repeat_instant, author BeamNG). Creates a seven-segment display made of TSStatic (art/shapes/quarter_
✍ flowgraph_nodes_scene_singleMarker 12 Flowgraph node "Single Marker" (author BeamNG). Displays a race marker (scenario/race_marker) at a position with a radius. Must be reset man
✍ flowgraph_nodes_scene_spawnLight 7 Flowgraph node "SpotLight" (repeat_instant, author BeamNG). Creates a SpotLight object (worldEditorCppApi.createObject) and updates it. Inpu
✍ flowgraph_nodes_scene_spawnPrefab 8 Flowgraph node "Spawn Prefab" (author BeamNG, behaviour once). Loads a prefab (.prefab.json or old .prefab) at a position via spawnPrefab, a
✍ flowgraph_nodes_scene_spawnTSStatic 8 Flowgraph node "Spawn TSStatic" (once_instant, author BeamNG). Creates a TSStatic object with shapeName, position, rotation and scale. Input
✍ flowgraph_nodes_scene_storeStatics 13 Flowgraph node "Store Statics" (author BeamNG). Remembers the position, rotation, scale and shape of the TSStatics selected in the editor (s
✍ flowgraph_nodes_scene_trackPrefab 2 Flowgraph node "Track Prefab" (once_instant). Lets the flowgraph track a prefab created outside the flowgraph, via modules.prefab:addPrefab(
✍ flowgraph_nodes_states_stateEntry 0 Stategraph state node "State Entry" (created by _flowgraph_createStateNode, not _flowgraph_createNode). Entry point of the state graph, hidd
✍ flowgraph_nodes_states_stateExit 5 State node "State Exit" (created by _flowgraph_createStateNode). Exit point of the state graph: an input pin 'flow' of type state (manual pi
✍ flowgraph_nodes_states_stateNode 14 State node "State Node" of the stategraph (created by _flowgraph_createStateNode). Represents a target graph (targetGraph) in the state grap
✍ flowgraph_nodes_states_transition 9 Stategraph node "Transition". Ends the current state and moves to a new state: on flow, collects the value of all its custom input pins (exc
✍ flowgraph_nodes_states_transitionStack 8 Stategraph node "Get Transition Variables". Reads the variables passed by the "Transition" node of the previous state (transitionStack of th
✍ flowgraph_nodes_string_format 8 Node "Format String" (repeat_instant). Applies string.format(data.pattern, values...) with up to 16 values (dynamic input pins value_1..valu
✍ flowgraph_nodes_string_match 3 Node "Match String" (simple). Should return the first capture of a Lua pattern applied to the input string; pins: value (in, string), value
✍ flowgraph_nodes_string_stringconcat 8 Node "Concat" (simple, OBSOLETE: "Use the Format String node instead"). Concatenates all its inputs (converted by tostring) into a string. A
✍ flowgraph_nodes_string_subString 3 Node "SubString" (simple). Extracts a substring with string.sub(value, data.from, data.to). Default values from = 0 and to = -1. Pins: value
✍ flowgraph_nodes_thread_loadProject 5 Node "Load Project" (once_p_duration). Loads a flowgraph (.flow.json) by path and starts it as a child project via self.mgr.modules.thread:s
✍ flowgraph_nodes_thread_receiveMessage 5 Node "Receive Message" (thread). Receives a message sent by another running flowgraph project (Send Message) and exposes its fields on custo
✍ flowgraph_nodes_thread_sendMessage 4 Node "Send Message" (thread). Sends a message (table of the non-fixed input pins) to the flowgraph project with the given id (-1 = parent) v
✍ flowgraph_nodes_timetrials_onRaceCheckpoint 5 Node "Race CP Reached" (repeat_instant). Lets an impulse through when the player crosses a race checkpoint. Outputs: checked (impulse), vehI
✍ flowgraph_nodes_timetrials_onRaceComplete 5 Node "Race Complete" (repeat_instant, tag input). Output pins: complete (flow when the race is finished) and ongoing (flow as long as it is
✍ flowgraph_nodes_timetrials_onRaceConfig 4 Node "Race Config" (provider, tag input). Gives the configuration chosen by the player for the race, read once from scenario_scenarios.getSc
✍ flowgraph_nodes_timetrials_onRaceRestarted 4 Node "Race Restarted" (logic, tag input). Should raise an output impulse 'restart' when the race is restarted (hook onScenarioRestarted).
✍ flowgraph_nodes_timetrials_onRaceStart 5 Node "Race Started" (logic, tag input). Output pins: started (flow when the race has started) and stopped (flow before the start). Switches
✍ flowgraph_nodes_types_bool 3 Node "Bool" (provider). Provides a boolean value (data.value, true by default) on the value pin.
✍ flowgraph_nodes_types_color 7 Node "Color" (provider). Provides a color (RGBA table {r,g,b,a}, with 4 extra PBR values at indices 5-8 in custom mode) on the color pin. Mo
✍ flowgraph_nodes_types_genericValue 7 Node "Generic Set/Get Variable" (repeat_instant). Reads or writes a flowgraph variable by name (varName, + optional numeric suffix concatena
✍ flowgraph_nodes_types_getVariable 10 Node "Get Variable" (provider, hidden from the menus: created from the variable editor). Exposes a graph or project variable ("Use Project a
✍ flowgraph_nodes_types_number 5 Node "Number" (provider). Provides a number (data.value, 0 by default) on the value pin.
✍ flowgraph_nodes_types_quat 5 Node "Quat" (repeat_instant). Builds a quaternion from the pins x, y, z, w (0 by default) and writes it as a {x,y,z,w} table on the value pi
✍ flowgraph_nodes_types_setVariable 10 Node "Set Variable" (repeat_instant, hidden from the menus). Writes a graph or project variable from an input pin bearing its name and type.
✍ flowgraph_nodes_types_string 7 Node "String" (provider). Provides a string ("Hello World" by default) on the value pin. Single-line or multi-line editing in the editor; li
✍ flowgraph_nodes_types_transform 16 Flowgraph node "Transform" (provider category, d_rotation icon): provides a 3D position, rotation and scale editable in the editor. Output p
✍ flowgraph_nodes_types_vec3 5 Flowgraph node "Vec3" (repeat_instant category, tags vec3/vector/direction): builds a 3D vector. Number inputs "x", "y", "z" (0 by default);
✍ flowgraph_nodes_ui_autoMedal 1 Flowgraph node "Medal" (repeat_instant category, UI): determines the medal from a score. Inputs: "points", thresholds "bronze" (50), "silver
✍ flowgraph_nodes_ui_buttons_createButton 2 Flowgraph node "Create Button" (once_instant category): creates a button in the flowgraph 'button' module (self.mgr.modules.button:addButton
✍ flowgraph_nodes_ui_buttons_getButton 1 Flowgraph node "Get Button" (once_instant category): reads the state of a button created with Create Button. Input "buttonId". Outputs: "cli
✍ flowgraph_nodes_ui_buttons_getMultipleButtons 7 Flowgraph node "Get Multiple Buttons" (category repeat_instant): watches several previously created buttons. For each i (number set in the p
✍ flowgraph_nodes_ui_buttons_setButtonProperty 2 Flowgraph node "Set Button Property" (category repeat_instant): modifies the properties of an existing button. Inputs: "buttonId", "label",
✍ flowgraph_nodes_ui_buttons_setMultipleButtonsProperty 7 Flowgraph node "Set Multiple Buttons Property" (category repeat_instant): same as Set Button Property for several buttons. For each i: input
✍ flowgraph_nodes_ui_buttons_simpleButton 5 Flowgraph node "Simple Button" (category once_instant): creates an all-in-one button whose values can no longer be changed. Inputs: "hideWhe
✍ flowgraph_nodes_ui_buttons_simpleMultipleButtons 10 Flowgraph node "Simple Multiple Buttons" (category once_instant): multi-button version of Simple Button. For each i: inputs "hideWhenDone_i"
✍ flowgraph_nodes_ui_clearMessage 1 Flowgraph node "Clear Messages" (category once_instant, author BeamNG): clears all messages displayed in the UI. No pins. Triggers the UI ho
✍ flowgraph_nodes_ui_contextTranslation 3 Flowgraph node "Context Translation" (category repeat_instant): creates a translation object with context. Input "translationString" (transl
✍ flowgraph_nodes_ui_convertUnit 1 Flowgraph node "ConvertUnit" (category repeat_instant): converts an SI value to the player's preferred unit (UI setting) using translateDist
✍ flowgraph_nodes_ui_cornerTimer 2 Flowgraph node "Set UI Timer" (category repeat_instant, author BeamNG, duration): displays a time in the stopwatch UI app. Inputs: "value" (
✍ flowgraph_nodes_ui_customButtonTEST 9 Flowgraph node "Custom Button TEST" (category once_instant, description "TEST"): test node that displays a "Click me!" button via the UI hoo
✍ flowgraph_nodes_ui_customUiLayout 8 Flowgraph node "Custom UI Layout" (category provider): stores a UI apps layout in the node for reuse. Output "layout" (table layoutData: {ap
✍ flowgraph_nodes_ui_endScreen 17 Flowgraph node "End Screen" (category once_instant, singleActive): displays the end screen of a scenario with customizable buttons (UI navig
✍ flowgraph_nodes_ui_endStats 8 Flowgraph node "End Stats" (category repeat_instant): gathers the statistics to display on the end screen. For each statistic i: inputs "lab
✍ flowgraph_nodes_ui_fadeFromBlack 6 Flowgraph node "Fade From Black" (category once_f_duration): fades the screen in from black. Input "duration" (0.75 s by default). Duration
✍ flowgraph_nodes_ui_fadeSequence 7 Flowgraph node "Fade Sequence" (category once_f_duration, obsolete): chains fade to black, pause and fade from black via ui_fadeScreen.fadeS
✍ flowgraph_nodes_ui_fadeToBlack 6 Flowgraph node "Fade To Black" (category once_f_duration): fades the screen to black. Input "duration" (0.75 s). Duration output via setDura
✍ flowgraph_nodes_ui_flashMessage 2 Flowgraph node "Flash Message" (category repeat_instant, duration): displays a message in the center of the screen via scenario/scenariohelp
✍ flowgraph_nodes_ui_genericMissionDataText 3 Flowgraph node "Generic Mission Text" (category repeat_instant, duration): displays info in the "Generic Mission Data" app. Inputs: "title"
✍ flowgraph_nodes_ui_getGamestate 2 Flowgraph node "Get Gamestate" (category repeat_instant): reads the current UI state (core_gamestate.state.state). Output "state" (string).
✍ flowgraph_nodes_ui_hideEditor 2 Flowgraph node "Show Editor" (category once_instant, author BeamNG): shows or hides the World Editor. Input "value" (bool, true = visible).
✍ flowgraph_nodes_ui_hideGameUI 1 Flowgraph node "Hide Game UI" (category repeat_instant, author BeamNG): shows or hides the normal game UI (apps, etc.) with extensions.ui_vi
✍ flowgraph_nodes_ui_imgui_elemental_imBegin 3 Flowgraph node "im Begin" (category repeat_instant, tag imgui): opens an imgui window (to be ended with "im End"). Inputs: "title" (no title
✍ flowgraph_nodes_ui_imgui_elemental_imButton 2 Flowgraph node "im Button" (category repeat_instant, tag imgui): full-width imgui button in the current window. Input "text". Outputs: "down
✍ flowgraph_nodes_ui_imgui_elemental_imCheckbox 3 Flowgraph node "im Checkbox" (category repeat_instant, tag imgui): imgui checkbox. Inputs: "text", "enabled" (true), pulses "setOn" / "setOf
✍ flowgraph_nodes_ui_imgui_elemental_imColor 2 Flowgraph node "im Color" (category repeat_instant, tag imgui): imgui color picker (ColorEdit4 without numeric inputs, with alpha bar). Inpu
✍ flowgraph_nodes_ui_imgui_elemental_imEnd 1 Flowgraph node "im End" (category repeat_instant, tag imgui): ends the imgui window opened by "im Begin" (im.End). No pins.
✍ flowgraph_nodes_ui_imgui_elemental_imNumbers 6 Flowgraph node "im Number" (category repeat_instant, tag imgui): imgui number field. Mode chosen in the properties: Int, Float, SliderInt, S
✍ flowgraph_nodes_ui_imgui_elemental_imSeparator 4 Flowgraph node "im Separator" (category repeat_instant, tag imgui): horizontal separator in an imgui window, with adjustable space above and
✍ flowgraph_nodes_ui_imgui_elemental_imText 2 Flowgraph node "im Text" (category repeat_instant, tag imgui): displays text with automatic word wrap in the current imgui window. Input "te
✍ flowgraph_nodes_ui_imgui_imDialogue 10 Flowgraph node "im Dialogue" (category repeat_instant, singleActive, tag imgui): imgui window with title, description and buttons. Inputs: "
✍ flowgraph_nodes_ui_imgui_imSimpleBox 2 Flowgraph node "im Simple Text Box" (category repeat_instant, tag imgui): minimal imgui window with a title and a text. Inputs: "title" (def
✍ flowgraph_nodes_ui_imgui_imVehicleSelect 7 Flowgraph node "im Vehicle Selector" (category once_instant, tags imgui/vehicle/config): imgui vehicle selection window based on editor/util
✍ flowgraph_nodes_ui_listDescription 7 Flowgraph node "List Description" (category repeat_instant): builds a list text from translation keys or contextual translation objects. Inp
✍ flowgraph_nodes_ui_message 5 Flowgraph node "Message" (category once_instant by default, duration): displays a message in the small messages app via the 'Message' hook.
✍ flowgraph_nodes_ui_missionControlHint 7 Flowgraph node "Mission Control Hints" (category repeat_instant, author BeamNG, duration): displays control hints (shift gear, clutch, horn,
✍ flowgraph_nodes_ui_missionEndScreen 17 Flowgraph node "Mission End Screen" (category once_instant, singleActive): mission end screen with default and custom buttons (UI navigation
✍ flowgraph_nodes_ui_missionPopup 12 Flowgraph node "Popup" (default category, once + singleActive): displays an information popup that only the button closes (ui_popup.openPopu
✍ flowgraph_nodes_ui_monologue 9 Flowgraph node "Monologue" (category once_f_duration, duration): displays a series of messages one after another with ui_message. Inputs: "c
✍ flowgraph_nodes_ui_multiDescription 8 Flowgraph node "Multi Description" (category repeat_instant): merges several texts into a multiple description for Start Screen / End Screen
✍ flowgraph_nodes_ui_onBigmapPoiSelected 4 Flowgraph node "On Bigmap Poi" (category repeat_instant): detects the selection of a point of interest on the big map. Outputs: "selected" a
✍ flowgraph_nodes_ui_onBigmapStateChange 5 Flowgraph node "On Bigmap State Change" (category repeat_instant): detects the opening and closing of the big map. Pulse outputs: "enteredSt
✍ flowgraph_nodes_ui_raceCheckpoints 1 Flowgraph node "Set UI Race Checkpoints" (category repeat_instant, author BeamNG, duration): updates the checkpoints UI app. Inputs: "cur" (
✍ flowgraph_nodes_ui_raceLaps 1 Flowgraph node "Set UI Race Laps" (category repeat_instant, author BeamNG, duration): updates the laps UI app. Inputs: "cur" (nil = clears),
✍ flowgraph_nodes_ui_raceRecoveriesUsed 1 Flowgraph node "Set UI Race Recovery" (category repeat_instant, author BeamNG, duration): updates the recovery counter UI app (vehicle reset
✍ flowgraph_nodes_ui_rtMessage 3 Flowgraph node "RT Message" (category repeat_instant, tags ui/text): displays a real-time message ('ScenarioRealtimeDisplay' hook). Inputs:
✍ flowgraph_nodes_ui_selectButtons 15 Flowgraph node "Select Buttons" (category once_instant, once + singleActive): choice dialogue with several buttons (ui_missionInfo.openDialo
✍ flowgraph_nodes_ui_setUILayout 7 Flowgraph node "Set UI Layout" (category once_instant): changes the layout of the UI apps via self.mgr.modules.ui:setGameState. Inputs: flow
✍ flowgraph_nodes_ui_showApps 3 Flowgraph node "Show Apps" (category once_instant, author BeamNG): shows or hides the UI apps ('ShowApps' hook). Input "value" (bool).
✍ flowgraph_nodes_ui_showMonitor 1 Flowgraph node "Show Monitor" (category once_instant, author BeamNG): enables the flowgraph monitor (small window) and hides the editor. Hid
✍ flowgraph_nodes_ui_startScreen 16 Flowgraph node "Start Screen" (default category, once + singleActive): displays the start screen of a scenario (UI navigation 'scenario.star
✍ flowgraph_nodes_ui_tasklistClear 1 Flowgraph node "Clear Goals" (category once_instant, author BeamNG): clears all objectives from the task list ('ClearTasklist' hook). No pin
✍ flowgraph_nodes_ui_tasklistMessage 1 Flowgraph node "Tasklist Message" (category once_instant, duration): displays a message-type objective in the Goal List app ('SetTasklistTas
✍ flowgraph_nodes_ui_tasklistTask 1 Flowgraph node "Tasklist Task" (category once_instant, duration): displays a task in the Tasklist app ('SetTasklistTask' hook, type 'goal').
✍ flowgraph_nodes_ui_threeElementSelect 13 Flowgraph node "Three Element Select" (default category, once + singleActive): lets the player choose between three elements (UI navigation
✍ flowgraph_nodes_ui_updatedUI_endScreenAiCompetitorsLeaderboard 1 Flowgraph node "EndScreen AI Competitors Leaderboard" (category once_instant, tags end/finish/rally): adds an AI competitors leaderboard tab
✍ flowgraph_nodes_ui_updatedUI_endScreenBegin 16 Node "EndScreen Begin" (default category, color ui). Starts building the end screen of a mission: on the first frame with flow active, it ca
✍ flowgraph_nodes_ui_updatedUI_endScreenDriftStats 1 Node "EndScreen Drift Stats" (category repeat_instant, color ui). Adds a drift statistics panel to the end screen. Chain: flow input, flow o
✍ flowgraph_nodes_ui_updatedUI_endScreenLapTimesPanel 1 Node "EndScreen Lap Times" (repeat_instant, color ui). Displays a vehicle's lap times on the end screen. Inputs: flow, race (race data table
✍ flowgraph_nodes_ui_updatedUI_endScreenResults 2 Node "EndScreen Results" (repeat_instant, color ui). Adds the mission results panel to the end screen: formatted text of the attempt (change
✍ flowgraph_nodes_ui_updatedUI_endScreenTimeSlip 2 Node "EndScreen Drag Time Slip" (repeat_instant, color ui). Displays the timing slip (time slip) of a drag race on the end screen. Input flo
✍ flowgraph_nodes_ui_updatedUI_endScreenWhole 17 Node "EndScreen Whole" (color ui, singleActive). All-in-one version of the end screen of a scenario/mission: builds the buttons (next missio
✍ flowgraph_nodes_ui_updatedUI_startScreenBegin 8 Node "StartScreen Begin" (color ui). Starts building the start screen of a mission: on the first frame with flow active, it calls modules.ui
✍ flowgraph_nodes_ui_updatedUI_startScreenCrashAnalysisStepDetails 1 Node "Start Screen Crash Analysis Step Details" (repeat_instant, color ui). Adds a crash analysis step details panel to the simple start scr
✍ flowgraph_nodes_ui_updatedUI_startScreenDial 3 Node "StartScreen Drag Dial" (repeat_instant, color ui). Adds the dial setup panel of a drag race to the start screen (the winner is the one
✍ flowgraph_nodes_ui_updatedUI_startScreenFinish 1 Node "Screen Finish" (repeat_instant, color ui). Ends the building of a screen (start or end) and sends it to the UI. Input flow (chainFlow)
✍ flowgraph_nodes_ui_updatedUI_startScreenIntro 1 Node "StartScreen Intro" (repeat_instant, color ui). Combined node for the start screen: intro panel, then objectives and ratings. Inputs: f
✍ flowgraph_nodes_ui_updatedUI_startScreenMainHeader 1 Node "Screen Main Header" (repeat_instant, color ui). Adds a large header to the screen (usually the mission name). Inputs: flow, header (st
✍ flowgraph_nodes_ui_updatedUI_startScreenRallySettings 15 Node "StartScreen Rally Settings" (repeat_instant, color ui). Adds a "coDriverSelector" panel to the start screen of a rally mission: co-dri
✍ flowgraph_nodes_ui_updatedUI_startScreenText 2 Node "StartScreen Text Panel" (repeat_instant, color ui). Adds a text panel with a header to the start screen. Inputs: flow, header and text
✍ flowgraph_nodes_ui_vehicleSelector 15 Node "Vehicle Selector" (color ui, singleActive, depends on core_input_bindings). Opens a start screen (via the ui module) with a vehicle se
✍ flowgraph_nodes_util_closestPath 7 Node "Route Distance" (repeat_instant). Computes the approximate remaining distance along the navgraph between a tracked position and the en
✍ flowgraph_nodes_util_closestRoad 4 Node "Closest Road" (repeat_instant). Finds the navgraph road closest to a position (map.findClosestRoad) and returns the two segment nodes
✍ flowgraph_nodes_util_customLua 11 Node "Custom Lua" (category repeat_instant, color debug). Lets you write Lua code directly in the flowgraph editor, with custom input/output
✍ flowgraph_nodes_util_distanceBetween 2 Node "Distance Between" (repeat_instant). Computes the distance between two positions, each of which can be a vehicle id (number) or a vec3.
✍ flowgraph_nodes_util_distanceRemaining 1 Node "Waypoints Distance" (repeat_instant). Computes the remaining distance along a list of waypoints for a vehicle and indicates whether it
✍ flowgraph_nodes_util_file_loadData 3 Node "Load Data" (category once_instant, color file). Loads simple data from a file, reusable between sessions. Input: file (name without ex
✍ flowgraph_nodes_util_file_saveData 2 Node "Save Data" (once_instant, color file). Saves simple data to a file reusable between sessions. Input: file (name without extension); th
✍ flowgraph_nodes_util_fileExists 1 Node "File Exists" (category once_p_duration). Checks that a file exists. Inputs: file (path or name), extension (hidden, appended to the na
✍ flowgraph_nodes_util_firstElement 4 Node "Get First Element of Table" (repeat_instant). Returns the first element (index 1) of a table. Input: table. Output: firstElement (any)
✍ flowgraph_nodes_util_getLevelData 1 Node "Get Level Data" (once_instant). Gives information about the current level based on getMissionFilename(): level folder name (devName),
✍ flowgraph_nodes_util_getMapObjectsDynField 4 Node "Get Map Objects IDs by DynField" (repeat_instant). Returns the list of ids of the map objects (map.objects, hence the tracked vehicles
✍ flowgraph_nodes_util_getTableValueByKey 1 Node "Get Table Value By Key" (repeat_instant). Reads a value from a table using a key (string or number). Inputs: value (table), key. Outpu
✍ flowgraph_nodes_util_ghost 5 Hidden node "GHOST" (category logic, hidden=true). Serves as a replacement when a flowgraph project references a node type that no longer ex
✍ flowgraph_nodes_util_hideLoadingScreen 3 Node "Hide Loading Screen" (once_instant). Hides the loading screen after a level has loaded (useful with "Load Level" in customLoadingScree
✍ flowgraph_nodes_util_hsvColor 3 Node "Color HSV" (simple category). Creates a color from hue, saturation, value (0 to 1) and alpha. Output: color = table {r, g, b, a}. Defa
✍ flowgraph_nodes_util_linePointFromXnorm 1 Node "Line Point From Xnorm" (repeat_instant). Returns the position located between two points of a line according to a ratio xnorm (0 = pos
✍ flowgraph_nodes_util_loadLevel 6 Node "Load Level" (blue color, public icon). Loads a level: levelPath is relative to levels/ (info.json is added automatically). Inputs: flo
✍ flowgraph_nodes_util_loadProject 4 Node "Load Project" (once_p_duration). Loads a flowgraph project by name (path relative to flowgraphEditor/, .flow.json extension optional)
✍ flowgraph_nodes_util_onMenu 3 Node "On Menu" (repeat_instant). Detects the opening of an interface menu (Escape menu), based on core_input_bindings.getMenuActionMapEnable
✍ flowgraph_nodes_util_perlinNoise 10 Node "Perlin Noise" (repeat_instant). Produces a coherent pseudo-random number (octave Perlin noise) as a function of an input value, for ex
✍ flowgraph_nodes_util_popActionMap 2 Node "Pop Action Map" (once_instant). Removes an action map from the input stack (popActionMap). Input: name. The todo field points to odd b
✍ flowgraph_nodes_util_project 2 Node "Get Project Info" (once_instant, event_note icon). Gives information about the current flowgraph project. Outputs: name, description,
✍ flowgraph_nodes_util_pushActionMap 4 Node "Push Action Map" (once_instant). Pushes an action map (pushActionMap) to enable its inputs; it is removed automatically when the proje
✍ flowgraph_nodes_util_randomColor 1 Node "Random Color" (repeat_instant, casino icon). Provides a random color {r, g, b, a} every frame. Inputs: cuteColor (only highly saturate
✍ flowgraph_nodes_util_randomNumber 1 Node "Random Number" (repeat_instant, casino icon). Generates a random number in [rangeStart, rangeEnd] every frame. Inputs: rangeStart (0),
✍ flowgraph_nodes_util_randomQuaternion 1 Node "Random Quaternion" (repeat_instant, casino icon). Provides a random quaternion every frame. Inputs (degrees, hidden/fixed): xMin/xMaxA
✍ flowgraph_nodes_util_randomVector 1 Node "Random Vector" (repeat_instant, casino icon). Provides a non-normalized random vector. Inputs: xMin/xMax, yMin/yMax, zMin/zMax (defaul
✍ flowgraph_nodes_util_roadSegment 3 Node "Road Properties" (repeat_instant). Gives the properties of a navgraph road segment defined by two nodes. Inputs: n1, n2 (node names),
✍ flowgraph_nodes_util_routePointToPoint 1 Node "Get Navgraph Route" (once_instant). Computes a route on the navgraph between a start position and an end position. Inputs: posA, posB
✍ flowgraph_nodes_util_routePosition 4 Node "Route Position" (once_instant). Gives the position along a route at a given distance ahead. Inputs: navgraphRoute (type navgraphPath),
✍ flowgraph_nodes_util_template 12 Node "Template Node": documented example of everything a programmer can use to create a flowgraph node. Shows the possible categories (repea
✍ flowgraph_nodes_util_time 3 Node "Time" (category provider, no flow). Provides the current time. Outputs: time (os.clockhp(), high-precision clock), dtReal (real time b
✍ flowgraph_nodes_util_timedSequence 11 Node "Timed Sequence" (once_f_duration, timer icon). Chains N timed parts (adjustable in the inspector, minimum 1). For each part i: input p
✍ flowgraph_nodes_util_tonumber 1 Node "To Number" (simple category). Converts the input to a number with tonumber. Input: value (any). Output: value (number). The todo field
✍ flowgraph_nodes_util_tostring 1 Node "To String" (simple category). Converts the input to a string with tostring. Input: value (any). Output: value (string).
✍ flowgraph_nodes_util_worldEditorOpen 3 Node "World Editor Open" (repeat_instant). Indicates whether the world editor is open (editor.active). Input: reset (pulse). Outputs: open,
✍ flowgraph_nodes_vehicle_ai_aiParams 2 Node "AI Parameters" (color ai, repeat_p_duration). Sets various AI parameters of a vehicle by sending ai.* commands via queueLuaCommand. In
✍ flowgraph_nodes_vehicle_ai_arrive 6 Node "AI Arrive" (color ai, once_f_duration, duration behavior). Sends a vehicle to a navgraph waypoint ("manual" AI mode + ai.setTarget) an
✍ flowgraph_nodes_vehicle_ai_chase 1 Node "AI Chase" (color ai, once_p_duration). Puts a vehicle in "chase" AI mode to pursue another vehicle, with intentional contact. Inputs:
✍ flowgraph_nodes_vehicle_ai_directlyTo 8 Node "AI Directly To" (color ai, duration + once behavior). Makes a vehicle drive in a straight line to a target position, via an interpolat
✍ flowgraph_nodes_vehicle_ai_disable 2 Node "AI Disable" (color ai, repeat_p_duration). Disables the AI mode of a vehicle. Input: aiVehId (no value = player vehicle). Data: useScr
✍ flowgraph_nodes_vehicle_ai_flee 1 Node "AI Flee" (color ai, once_p_duration). Puts a vehicle in "flee" AI mode to flee from another vehicle. Inputs: aiVehId (no value = playe
✍ flowgraph_nodes_vehicle_ai_follow 1 Node "AI Follow" (color ai, once_p_duration). Puts a vehicle in "follow" AI mode to follow another vehicle, without intentional contact. Inp
✍ flowgraph_nodes_vehicle_ai_followWaypoints 7 Node "AI Follow Waypoints" (color ai, once_f_duration). Makes a vehicle follow a list of navgraph waypoints with ai.driveUsingPath and detec
✍ flowgraph_nodes_vehicle_ai_getAIMode 5 Node "Get AI Mode" (color ai, repeat_p_duration). Reads the current AI mode of a vehicle. Input: vehId (no value = player). Output: aiMode (
✍ flowgraph_nodes_vehicle_ai_goToEndLine 5 Node "AI Go To The End Line" (color ai, duration behavior, no category). Sends a vehicle in "manual" AI mode to a finish line given by a pos
✍ flowgraph_nodes_vehicle_ai_random 1 Node "AI Random" (color ai, once_p_duration). Puts a vehicle in "random" AI mode (drives on random roads). Input: aiVehId (no value = player
✍ flowgraph_nodes_vehicle_ai_scriptAI_followPath 12 Node "AI Follow Path from Data" (color ai). Makes a vehicle follow a ScriptAI path provided by the "AI Path from File" or "Stored AI Path" n
✍ flowgraph_nodes_vehicle_ai_scriptAI_pathFromFile 7 Node "AI Path from File" (category provider, color ai). Provides a ScriptAI path loaded from a track file /replays/scriptai/tracks/*.track.j
✍ flowgraph_nodes_vehicle_ai_scriptAI_pathStored 8 Node "Stored AI Path" (provider, color ai). Stores in the project a ScriptAI path recorded with the ScriptAIManager editor and provides it.
✍ flowgraph_nodes_vehicle_ai_scriptAI_playRecording 8 Node "Play ScriptAI Recording" (color ai, repeat_p_duration). Makes a vehicle replay a ScriptAI recording read from a .track.json file. Inpu
✍ flowgraph_nodes_vehicle_ai_simpleFollowDecalroad 8 Node "Follow Decalroad" (color ai, duration behavior). Simply makes a vehicle follow a DecalRoad: builds a path from the road nodes (time =
✍ flowgraph_nodes_vehicle_ai_stop 6 Node "AI Stop" (color ai, once_p_duration). Asks the AI to stop the vehicle (ai.setState mode "stop") and activates the stopped output when
✍ flowgraph_nodes_vehicle_ai_traffic 1 Node "AI Traffic" (color ai, once_p_duration). Puts a vehicle in "traffic" AI mode: it drives according to traffic rules. Does not enable th
✍ flowgraph_nodes_vehicle_alignForCoupling 3 Node "Align for Coupling" (color vehicle, link icon, duration + once behavior). Places a trailer behind a tractor vehicle to ease coupling:
✍ flowgraph_nodes_vehicle_applyVelocity 1 Flowgraph node "Apply Velocity to Vehicle" (category repeat_p_duration, tags boost/thrust/move). Instantly gives a velocity to a vehicle b
✍ flowgraph_nodes_vehicle_beamstate_beamstate 6 Node "Beamstate" (category once_p_duration, tags destroy/damage/funstuff). Calls a parameterless function of beamstate on the vehicle si
✍ flowgraph_nodes_vehicle_beamstate_breakgroup 1 Node "Breakgroup" (category repeat_p_duration, tags destroy/damage). Breaks one or several breakgroups of the vehicle. Input pins: vehId
✍ flowgraph_nodes_vehicle_beamstate_couple 3 Node "Toggle Coupling" (category repeat_p_duration, tags attach/detach/trailer/couple). Controls a vehicle's couplers according to the `da
✍ flowgraph_nodes_vehicle_beamstate_reload 1 Node "Reload Vehicle" (category repeat_p_duration, tag reset). Reloads the vehicle (veh:reload()), i.e. a full reload of the vehicle obj
✍ flowgraph_nodes_vehicle_beamstate_reset 1 Node "Reset Vehicle" (category repeat_p_duration, tag reset). Resets the vehicle to its initial state: veh:requestReset(RESET_PHYSICS) t
✍ flowgraph_nodes_vehicle_boost 3 Node "Boost Vehicle" (category repeat_p_duration, tags boost/thrust). Loads the vehicle extension core_booster then calls `core_booster.
✍ flowgraph_nodes_vehicle_bus_busControls 3 Node "Bus Controls Detection" (category repeat_instant, bus icon). Reads the state of a bus: outputs isKneeling (bool, bus kneeling) and
✍ flowgraph_nodes_vehicle_bus_isBus 1 Node "Is Bus" (category repeat_instant). Tests whether a vehicle is a bus via mgr.modules.vehicle:isBus(vehId). Input pin: vehId. Outp
✍ flowgraph_nodes_vehicle_bus_registerBusData 1 Node "Register Bus Data" (category once_instant). Registers the callback for notification of bus value changes (kneeling, doors) via `mgr.
✍ flowgraph_nodes_vehicle_colors 2 Node "Set Vehicle Colors" (category repeat_instant, tags colors). Changes the three paints of the vehicle: color1 (main, obj.color), `
✍ flowgraph_nodes_vehicle_customPartsConfigProvider 8 Provider node "Custom Parts Config Provider" (category provider). Lets you build a custom parts configuration in the editor (`partConfig =
✍ flowgraph_nodes_vehicle_enterVehicle 3 Node "Enter Vehicle" (category dynamic_instant, depends on gameplay_walk). Makes the player enter a vehicle (`gameplay_walk.getInVehicle
✍ flowgraph_nodes_vehicle_fire_fire 7 Node "Fire" (category once_p_duration, tags destroy/damage/funstuff). Calls a fire action on a vehicle via `core_vehicleBridge.executeActi
✍ flowgraph_nodes_vehicle_flipUpright 3 Node "Flip Upright" (category repeat_instant, tags rotation/position/recover/move). Sets the vehicle upright without repairing it: `spawn.
✍ flowgraph_nodes_vehicle_freeze 2 Node "Freeze Vehicle" (category repeat_instant). Freezes or unfreezes a vehicle via `core_vehicleBridge.executeAction(veh,'setFreeze', fre
✍ flowgraph_nodes_vehicle_gForce 5 Node "Gravity Force" (category repeat_p_duration, tags gravity/force/gforce). Computes the g-forces experienced by the vehicle from the ve
✍ flowgraph_nodes_vehicle_generateLicensePlate 1 Node "Generate License Plate" (category once_instant, tags plate/license). Generates a random license plate for a vehicle: `core_vehicles.
✍ flowgraph_nodes_vehicle_getActive 1 Node "Get Vehicle Active" (category repeat_instant). Reads the active (visible) state of a vehicle with obj:getActive(). Input pin: `veh
✍ flowgraph_nodes_vehicle_getElectricsValue 8 Node "Get Electrics Value" (category once_f_duration). Reads an electrics value of the vehicle: subscribes with `core_vehicleBridge.regi
✍ flowgraph_nodes_vehicle_getGearboxMode 5 Node "Get Gearboxmode" (category once_f_duration). Asks the vehicle's mainController controller for its gearboxMode (via `core_vehicle
✍ flowgraph_nodes_vehicle_getPowertrainData 5 Node "Get Powertrain Data" (category once_f_duration). Requests a property of a powertrain device (`core_vehicleBridge.requestValue(veh, c
✍ flowgraph_nodes_vehicle_groundDistance 2 Node "Distance From Ground" (category repeat_instant, tags gameplay/utils). Measures the distance between the lowest point of the vehicle'
✍ flowgraph_nodes_vehicle_hasCouplerTag 2 Node "Has Coupler Tag" (category repeat_instant, tags event/attach/detach). Indicates whether a vehicle has couplers carrying certain tags
✍ flowgraph_nodes_vehicle_isCoupled 1 Node "Is Coupled" (category repeat_instant, tags event/attach/detach). Tests whether two vehicles are coupled (`mgr.modules.vehicle:isCoup
✍ flowgraph_nodes_vehicle_isPlayerUsable 2 Node "Is Player usable" (category repeat_instant). Reads playerUsable of a vehicle. Input pin: vehId; outputs: flow true and flow `f
✍ flowgraph_nodes_vehicle_keep 2 Node "Keep Vehicle" (category once_instant). Marks a vehicle to keep when the flowgraph stops (by default the vehicles created during exec
✍ flowgraph_nodes_vehicle_moveTo 3 Node "Move Vehicle To" (category repeat_instant, tags rotation/position/teleport/move). Moves a vehicle. Input pins: vehId, pos (vec3)
✍ flowgraph_nodes_vehicle_onCannonFired 3 Event node "on Cannon Fired" (category repeat_instant). Emits a pulse on the flow output cannonFired when the onCannonFired hook is re
✍ flowgraph_nodes_vehicle_onVehicleDestroyed 5 Event node "On Vehicle Destroyed" (category logic, tag event). Emits a pulse on flow and the vehId of the destroyed vehicle when the `
✍ flowgraph_nodes_vehicle_onVehicleReset 5 Event node "On Vehicle Reset" (category logic). Emits a pulse on flow when a vehicle is reset (hook onVehicleResetted). If the input p
✍ flowgraph_nodes_vehicle_onVehicleSpawned 5 Event node "On Vehicle Spawned" (category logic). Emits a pulse on flow and the id vehId when a vehicle is created (hook `onVehicleSpa
✍ flowgraph_nodes_vehicle_onVehicleSwitched 5 Event node "On Vehicle Switched" (category logic, tag event). Emits a pulse on flow when the player changes vehicle (hook `onVehicleSwit
✍ flowgraph_nodes_vehicle_playerUsable 2 Node "Player Usable" (category repeat_instant). Sets whether a vehicle can be controlled by the player: `source.obj.playerUsable = control
✍ flowgraph_nodes_vehicle_randomConfigProvider 7 Provider node "Random Config Provider" (category once_instant). Randomly chooses a model and a configuration among the cars (`Type == 'Car
✍ flowgraph_nodes_vehicle_recoverInPlace 2 Node "Recover In Place" (category once_instant). Recovers a vehicle in place: veh:resetBrokenFlexMesh() then spawn.safeTeleport at the
✍ flowgraph_nodes_vehicle_removeVehicle 1 Node "Remove Vehicle" (category repeat_instant, tags gameplay/utils). Deletes a vehicle: informs the editor (`editor.onRemoveSceneTreeObje
✍ flowgraph_nodes_vehicle_replay 7 Node "Timeline Replay" (duration behavior). Starts a replay file (core_replay.loadFile) at the start of its timeline segment and stops i
✍ flowgraph_nodes_vehicle_setActive 1 Node "Set Vehicle Active" (category once_instant). Makes a vehicle visible or invisible (obj:setActive(1 or 0)). Input pins: vehId (de
✍ flowgraph_nodes_vehicle_setGearbox 6 Node "Set Gearbox Mode" (category once_f_duration). Changes the gearbox mode (arcade or realistic) via `core_vehicleBridge.executeActi
✍ flowgraph_nodes_vehicle_setIgnition 3 Node "Set Ignition" (category repeat_instant). Sets the ignition level: core_vehicleBridge.executeAction(veh,'setIgnitionLevel', mode).
✍ flowgraph_nodes_vehicle_setLicensePlate 3 Node "Set License Plate" (once behavior). Changes a vehicle's plate text with core_vehicles.setPlateText(text, vehId). Input pins: `flow
✍ flowgraph_nodes_vehicle_setLightbar 3 Node "Set Lightbar" (category repeat_instant). Sets the lightbar mode: core_vehicleBridge.executeAction(veh,'setLightbarMode', mode). `m
✍ flowgraph_nodes_vehicle_setLights 3 Node "Set Lights" (category repeat_instant). Sets the state of the headlights: `core_vehicleBridge.executeAction(veh,'setLightMode', mode)
✍ flowgraph_nodes_vehicle_shiftToGearIndex 1 Node "Shift to Gear Index" (category repeat_instant). Shifts to a specific gear on a manual gearbox: `core_vehicleBridge.executeAction(veh
✍ flowgraph_nodes_vehicle_spawnVehicle 9 Node "Spawn Vehicle": creates a vehicle (core_vehicles.spawnNewVehicle or replaceVehicle if replacePlayer), waits until it is ready th
✍ flowgraph_nodes_vehicle_special_customVehicleGetter 6 Node "Get Custom Vehicle Value" (duration, once behavior). Evaluates on the vehicle side a Lua expression (data.fun, for example `elec
✍ flowgraph_nodes_vehicle_special_customVlua 3 Node "Custom Vehicle Lua" (category repeat_p_duration, tags lua/vlua/command/code). Runs Lua code in the vehicle VM with `veh:queueLuaComm
✍ flowgraph_nodes_vehicle_special_customVlua_string 3 Node "Custom vlua - deprecated" (category repeat_p_duration). Old version of "Custom Vehicle Lua": sends the string of the customLUA pin
✍ flowgraph_nodes_vehicle_special_vehicleAction 7 Node "Vehicle Action" (duration behavior, category repeat_p_duration). Calls a vehicle action defined in its input_actions.json (or th
✍ flowgraph_nodes_vehicle_special_wheelDistance 4 Node "Wheel Distance" (category repeat_p_duration). Gives the distance, projected onto the vehicle's direction, between a position point
✍ flowgraph_nodes_vehicle_states 1 Node "Vehicle States" (category repeat_instant). Reads from map.objects[vehId].states the state of the horn (horn) and the lightbar (`
✍ flowgraph_nodes_vehicle_teleportToLastRoad 2 Node "Teleport To Last Road" (category repeat_instant). Teleports the vehicle to the last valid road (spawn.teleportToLastRoad) and trig
✍ flowgraph_nodes_vehicle_toShowroom 2 Node "Move To Showroom" (category repeat_instant, depends on util_showroom). Resets and moves a vehicle into the showroom (`util_showroo
✍ flowgraph_nodes_vehicle_toggleVehicleControls 3 Node "Toggle Vehicle Controls" (category repeat_instant). Enables or disables the action map VehicleCommonActionMap (`setEnabled(control
✍ flowgraph_nodes_vehicle_touching 2 "Vehicle Touch" node (category repeat_instant, tags collision/collide/hit). Uses map.objects[vehIdA].objectCollisions to detect whether
✍ flowgraph_nodes_vehicle_touchingProps 2 "Props Touch" node (category repeat_instant, tags collision/collide/hit). Tells whether a vehicle touches an object (prop) from a list of
✍ flowgraph_nodes_vehicle_touchingStatic 6 "Static Object Touch" node (category repeat_instant, tags collision/static). Detects an intersection of the vehicle with static objects or
✍ flowgraph_nodes_vehicle_trackVehicle 3 "Track Vehicle" node (category repeat_instant). Lets the flowgraph track a vehicle created outside of it (`mgr.modules.vehicle:addVehicle(
✍ flowgraph_nodes_vehicle_trailerRespawn 2 "Trailer Respawn Control" node (category once_instant, depends on core_trailerRespawn). Enables or disables automatic respawn of trailer
✍ flowgraph_nodes_vehicle_vehicleConfigProvider 6 "Vehicle Config Provider" provider node (simple behavior, category provider). Lets the user pick a vehicle model and config in the edito
✍ flowgraph_nodes_vehicle_vehicleData 2 "Get Vehicle Data" node (category repeat_instant), obsolete: "replaced by Get Vehicle Data, Vehicle OOBB and Vehicle Wheels". Reads `map.o
✍ flowgraph_nodes_vehicle_vehicleMapData 2 "Get Vehicle Data" node (category repeat_instant). Provides position, directions, rotation, speed, activity and damage from `map.objects[v
✍ flowgraph_nodes_vehicle_vehicleOOBB 2 "Get Vehicle Bounds" node (category repeat_instant, tags telemetry/bounds/corner). Gives the corners of the vehicle's oriented bounding bo
✍ flowgraph_nodes_vehicle_vehiclePing 5 "Vehicle Ping" node (category once_f_duration). Sends a ping to the vehicle (core_vehicleBridge.requestValue(veh, cb, 'ping')) to make
✍ flowgraph_nodes_vehicle_vehicleWheels 2 "Get Vehicle Wheel Center" node (category repeat_instant, tags telemetry/wheel). Computes the average of the wheel positions (first axis n
✍ flowgraph_pin 18 Flowgraph pin class: represents an input or output pin of a node (name, type, direction, value, links). The module returns a constructor:
✍ flowgraph_states 26 State management ("state machine") for a flowgraph project based on state graphs (states/stateNode, states/stateEntry, `states/stateExit
✍ flowgraph_utils 4 Flowgraph utilities: detection of a value's type, compatibility test with a pin type, default value per type, ImGui label, and merge functio
✍ flowgraph_variableStorage 27 Variable storage of a flowgraph project (project global variables read/written by the getVariable/setVariable nodes). The module returns a c
✍ freeroam_bigMapMarkers 9 Manages the big map markers: groups the raw gameplay POIs (points of interest) from gameplay_rawPois that have a bigmapMarker into clusters
✍ freeroam_bigMapMode 43 The game's "big map" mode: opens and closes the top-down level map with a camera transition, switches to the 'bigMap' camera, pauses the gam
✍ freeroam_bigMapPoiProvider 20 Data provider for the big map: turns the raw POIs (missions, garages, gas stations, dealerships, spawn points, drift, drag, crawl, player ve
✍ freeroam_configuratorOptions_freeroamOptions 3 Adds to the freeroam configurator (the level selection screen in freeroam) the freeroam-specific options: traffic mode (disabled, parked car
✍ freeroam_crashCamMode 18 Crash camera (automatic slow motion) of freeroam mode. Every frame, it predicts (0.2 s ahead) whether the player's vehicle will hit a traffi
✍ freeroam_crashCamModeLoader 2 Small loader that loads or unloads the freeroam_crashCamMode extension (slow-motion camera after a crash) according to the enableCrashCam se
✍ freeroam_dragRace 22 Quarter-mile dragster race against an AI ("drag_opponent") on the dragstrips of the gridmap_v2 and west_coast_usa levels. Handles the starti
✍ freeroam_facilities 19 Registry of a level's "facilities": garages, gas stations, dealerships, computers, private sellers, delivery providers and dragstrips. Reads
✍ freeroam_facilities_fuelPrice 6 Generates the fuel prices of the level's gas stations and displays them on the scene's 7-segment display signs. When the level starts, for e
✍ freeroam_freeroam 16 "Freeroam" game mode (free roam): starts a level in freeroam, applies the spawn options (traffic, parked vehicles, time of day, date, time f
✍ freeroam_freeroamConfigurator 39 Freeroam game configurator (the UI "Wizard" assistant): stores the level, spawn point, vehicle (model, config, paints) and game options (tim
✍ freeroam_gasStations 5 Simple refueling management at gas stations (fuel or electric charging). Provides the stations' points of interest (POIs) for the big map an
✍ freeroam_levelStats 4 Usage statistics of levels and spawn points for the UI: counts how many times each level/spawn point was launched and when. The data is pers
✍ freeroam_organizations 5 Registry of organizations (career mode factions with reputation), loaded from the gameplay/organizations/*.organizations.json files and en
✍ freeroam_specialTriggers 16 Data-driven special triggers: links BeamNGTriggers (or zones) to showing/hiding scene objects (TSStatic, PointLight/SpotLight lights, SimGro
✍ freeroam_vehicleSwitchNotification 2 Displays an on-screen notification when the player changes vehicle or seat: vehicle name (brand, name, configuration), icon by type, occupie
✍ freeroam_vueBigMap 21 Lua backend of the big map in the Vue UI: prepares for the UI the list of points of interest (POIs: missions, garages, stations, dealerships
✍ gameplay_achievement 6 GE extension that links the game statistics (gameplay_statistic) to the achievements and statistics of the online provider (OnlineServicePro
✍ gameplay_backgroundActivities_g2g 12 "g2g" background activity: on activation, fade to black, spawn of a random vehicle (car or truck with Top Speed > 10), then fade from black,
✍ gameplay_city 9 Extension that loads the current level's city.sites.json file (via gameplay_sites_sitesManager) and offers queries on its zones and parking
✍ gameplay_crashTest_crashTestBoundaries 5 Manages the zone bounds of the collision test scenario (crash test). Loads a .sites.json file of the mission (bounds.sites.json, or boundsSt
✍ gameplay_crashTest_crashTestCountdown 2 Countdown displayed during the crash test scenario. Each whole second crossed, it sends a message to the UI (ScenarioFlashMessage event) wit
✍ gameplay_crashTest_crashTestScoring 6 Score computation for the crash test scenario. For each successful step, computes sub-scores (time before impact, impact speed, damage, impa
✍ gameplay_crashTest_crashTestTaskList 6 Feeds the UI's task list (SetTasklistHeader and SetTasklistTask events) for the crash test scenario. Each step becomes a 'goal'-type task id
✍ gameplay_crashTest_scenarioManager 18 Orchestrator of the "crashTest" mission (collision analysis). processData turns the mission definition into steps (player vehicle and target
✍ gameplay_crawl_boundary 13 Zone boundary management for "crawl" mode (slow traversal). It spawns flags (TSStatic flagMarker.dae) along a zone's outline, animates them
✍ gameplay_crawl_crawlFlowgraphBridge 22 Bridge between "crawl" mode (slow traversal of waypoint courses) and the flowgraph nodes / missions. It loads a trail from gameplay_crawl_sa
✍ gameplay_crawl_debug 9 ImGui debug window "Crawl Debug Window" of crawl mode, reserved for developers (disabled by default). Once enabled, it displays for the firs
✍ gameplay_crawl_debugDraw 3 Read-only debug visualization of crawl mode trails, via debugDrawer: waypoints (spheres, direction arrows, labels) and segments, boundary zo
✍ gameplay_crawl_display 22 On-screen message display for crawl mode. Each showXxxMessage function sends a translated notification (ui.crawl.* keys) via ui_message, or
✍ gameplay_crawl_flowgraphBridge 23 Bridge between crawl mode (slow traversal of courses) and the missions' flowgraph nodes. It loads a trail from gameplay_crawl_saveSystem, pr
✍ gameplay_crawl_freeroamMultiplayer 4 Crawl integration in multiplayer freeroam. Loaded by gameplay_crawl_general when a multiplayer session starts (onMPSessionChanged), unloaded
✍ gameplay_crawl_general 17 Core of the crawl mode (slow trail traversal) on the freeroam/career side: keeps the active trail (activeTrail: trail, zone, copied path, st
✍ gameplay_crawl_saveSystem 31 File system of the crawl mode. It reads and writes the four types of JSON files of a level, in /levels//crawls/: *.trail.json (trail)
✍ gameplay_crawl_utils 42 Execution engine of the crawl mode (slow traversal of a trail with waypoints). It keeps the state of each crawler (crawlStates, keyed by veh
✍ gameplay_delivery_delivery 12 Class of a timed delivery (old delivery system). An instance randomly picks locations from a sites object carrying a tag, computes the round
✍ gameplay_discover 20 Manages the "discovers" (experiences of the Discover/Play screen). It loads all *.lua files in /gameplay/discover/: each one can export page
✍ gameplay_drag_core 68 Core of the drag race system (solo and multiplayer). It owns the dragData table (track, lanes, drivers, timers, phases), creates the "racers
✍ gameplay_drag_dialPopup 2 ImGui window "Drag - Set Dial" for bracket racing: the local player enters their dial (announced time, in seconds) in a decimal field, from
✍ gameplay_drag_display 22 Drag track display: starting tree (pre-stage lights, stage, three ambers, green, red, global blue, winner light, flashing driver light), tim
✍ gameplay_drag_dragBridge 57 Facade of the drag system for flowgraph nodes (missions) and the Vue interface. It contains almost no logic: it forwards to gameplay_drag_co
✍ gameplay_drag_dragTypes_bracketRace 5 "Bracket race" race type: each driver announces a dial (target time) and wins by getting close to it without beating it. Loaded by gameplay_
✍ gameplay_drag_dragTypes_headsUpRace 5 "Heads-up" race type: simultaneous start with no handicap, the best time of the important timer wins. Loaded by gameplay_drag_core when drag
✍ gameplay_drag_mpDragHandlers 1 Network message dispatch table of the multiplayer drag mode. The MP gamemode (multiplayer/gamemodes/drag) calls handle(msgName, ...) on ever
✍ gameplay_drag_phaseHandlers 26 Phase logic of a drag race: stage (placement on the stage line), countdown (starting tree), race (race up to the last distance timer), stop
✍ gameplay_drag_poi 5 Points of interest (POI) of the drag tracks. For each lane of each track of the level, creates an invisible trigger of 6 m radius placed on
✍ gameplay_drag_rulesMenu 9 Context of the drag rules screen (Vue interface "mission.dragRules"). It finds the track associated with a facility (facility.id, with the "
✍ gameplay_drag_saveSystem 23 Loading and saving of drag data. Reads the tracks (*.strip.json and *.dragSettings.json files, or old format converted), rebuilds lanes, way
✍ gameplay_drag_times 11 Drag timing. Every frame, onUpdate advances the main timer of each racer whose timers are started (dtSim in solo, synchronized start clock i
✍ gameplay_drag_timeslip 3 Generates the timing slip (timeslip) of a drag race: track info, weather (temperature, gravity), and for each racer its name, formatted time
✍ gameplay_drift_bounds 5 Zone boundaries of drift mode. Loads a sites file (zones) with setBounds, then, every frame, checks for each vehicle tracked by gameplay_dri
✍ gameplay_drift_destination 13 Route tracking of drift mode ("A to B"). setRacePath loads a race path (gameplay/race/path) from a JSON file, optionally reversed, and extra
✍ gameplay_drift_display 27 Display (UI) layer of drift. Every frame, publishes on the "drift" UI stream the state of each tracked vehicle (permanent score, potential s
✍ gameplay_drift_drift 45 Drift detection engine. For each tracked vehicle (one state per vehId, player 0's vehicle is tracked automatically), computes every frame th
✍ gameplay_drift_freeroam_cruising 1 Detects in free roaming the switch to drift "cruising" mode: when the player chains enough drifts (or does a very long drift), the drift con
✍ gameplay_drift_freeroam_driftSpots 15 Manages the drift spots of free roaming (and of career): start/finish zones as lines (lineOne/lineTwo), to be crossed while drifting. It det
✍ gameplay_drift_general 23 Conductor of the drift gameplay. Keeps the current context (inFreeroam, inChallenge, inFreeroamChallenge, inAnotherMissionType, inFreeroamCr
✍ gameplay_drift_multiplayer 7 Bridge between the drift gameplay and the multiplayer scoreboard (multiplayer_multiplayerScoreboard). When a drift spot starts, creates a sc
✍ gameplay_drift_quickMessages 10 Detects the drift "quick messages" (small bonuses shown during the drift: big angle, reverse drift, long drift, close call, long chain, prec
✍ gameplay_drift_saveLoad 9 Loads and saves the drift spots of free roaming. Scans /levels//driftSpots/ looking for spot.driftSpot.json, builds a spots table key
✍ gameplay_drift_scoreboard 11 Accumulates the statistics of a drift challenge for the end screen: score and number of drifts per tier, quick messages obtained, and perfor
✍ gameplay_drift_scoring 34 Computes the drift score of each tracked vehicle (one score state per vehId). During a drift, adds continuous points to a cached score (dist
✍ gameplay_drift_sounds 9 Manages drift UI sounds (FMOD events UI>Career>Drift_*): a continuous sound during a drift whose pitch follows the performance factor, a sou
✍ gameplay_drift_stallingSystem 6 Anti-repetition system of the "Gymkhana" challenge mode: it keeps the history of figures (normal drifts and stunt zones) and computes a mult
✍ gameplay_drift_statistics 4 Records drift statistics in gameplay_statistic (drift/... keys) and unlocks drift achievements. Listens to the drift end, score, spinout and
✍ gameplay_drift_stuntZones 20 Manager of the stunt zones of drift/Gymkhana mode. setStuntZones(zones) creates one object per zone by loading the submodule of the requeste
✍ gameplay_drift_stuntZones_donut 8 "donut" stunt zone type: the player must complete a full turn (360° accumulated velocity direction angle) while drifting inside a circle of
✍ gameplay_drift_stuntZones_driftThrough 8 "driftThrough" stunt zone type (tight pass): the player must drift through an oriented box (OBB, center pos, half-axes derived from rot and
✍ gameplay_drift_stuntZones_hitPole 11 "hitPole" stunt zone type: a pole (delineator vehicle, config vehicles/delineator/pole.pc) is spawned at pos, with a race marker above it; t
✍ gameplay_drift_stuntZones_nearPole 11 "nearPole" stunt zone type: a striped pole (delineator, config vehicles/delineator/stripes.pc) is spawned at pos; the player scores points b
✍ gameplay_forceField 12 "Force field" mode of the Fun Stuff radial menu: creates a gravity "planet" (obj:setPlanets) around player 0's vehicle, sent to all other ve
✍ gameplay_freeformDelivery_debug 5 "Freeform Delivery Debug" imgui debug window of the freeform delivery mode. When enabled (setEnableDebugWindow(true)), it collects the curre
✍ gameplay_freeformDelivery_endScreen 1 Small module of the freeform delivery mode (freeformDelivery) that gathers the statistics displayed at the end of a delivery: elapsed time,
✍ gameplay_freeformDelivery_freeformDelivery 21 Main module of the freeform delivery mode. It orchestrates the lifecycle of a delivery described by a delivery.delivery.json file: load (loa
✍ gameplay_freeformDelivery_goals 16 Evaluates the goals of the freeform delivery mode. From delivery.goals, creates one goal per entry (types placement, playerInVehicle, engine
✍ gameplay_freeformDelivery_hints 3 Manages the hints of the freeform delivery mode: each delivery hint (id, targetAreaIds, message, subtext) is displayed as a message in the t
✍ gameplay_freeformDelivery_loader 1 Loads a freeform delivery definition file (JSON): reads the data, loads the sites file (sitesFile), spawns the prefabs (prefabFile or prefab
✍ gameplay_freeformDelivery_markers 5 Submodule of the freeform delivery mode (freeformDelivery) that displays the visual markers of target areas: ground decals for parking spots
✍ gameplay_freeformDelivery_odometer 7 Freeform delivery submodule that tracks the odometer of vehicles marked trackOdometer in the delivery definition. It reads the value via cor
✍ gameplay_freeformDelivery_routes 20 Management of freeform delivery routes. Builds guidance routes (core_groundMarkers.setPath) to a target area or to a vehicle, with waypoints
✍ gameplay_freeformDelivery_setup 11 Setup and teardown of a freeform delivery. Associates the vehicles already spawned by the loader (delivery._vehicleIndex, by internalName) w
✍ gameplay_freeformDelivery_tasklist 4 Feeds the "tasks" app (task list at the top left) during a freeform delivery. It displays a header (delivery name), one task per active goal
✍ gameplay_freeformDelivery_utils 17 Utility functions shared by the freeform delivery submodules: vehicle position cache, site object lookup (locations, zones, parking spots),
✍ gameplay_freeformDelivery_vehicleSleep 4 Freeform delivery submodule that puts to sleep (setActive(0)) the delivery vehicles far from the camera and the player's vehicle, and wakes
✍ gameplay_garageMode 28 Garage mode: loads the garage_v2 level (or uses the current location in career), freezes the vehicle at its spawn point, switches the camera
✍ gameplay_lowPerformance 9 Low frame rate detector in freeroam and split screen (only freeroam and multiseatGamemode modes; missions, scenarios, career and tutorials a
✍ gameplay_lowPerformance.test 6 Automated tests of the gameplay/lowPerformance detector, to be run with require('testFramework/TestManager'):runTestFiles('gameplay/lowPerfo
✍ gameplay_markerInteraction 21 Manages every frame (onPreRender) the display and interaction of mission/activity markers in freeroam and career: selects the clusters of ne
✍ gameplay_markers_bigmapMarker 11 Marker type used by the big map (bigmap): for each POI cluster, displays an icon and a column (icon renderer icons) that fade in when the bi
✍ gameplay_markers_crawlMarker 13 Crawling zone marker (rock crawling) in play mode: a floating icon above a spherical zone. The player's vehicle entering the sphere (center
✍ gameplay_markers_driftLineMarker 11 Start line marker for freeroam drift challenges. It displays nothing itself: it makes the named scene objects (markerObjects) visible at set
✍ gameplay_markers_gasStationMarker 13 Gas station marker (fuel or electric charging) in play mode. For each pump (pair of scene object names: zone, icon), it creates an icon (poi
✍ gameplay_markers_inspectVehicleMarker 10 "Inspect a vehicle" marker in play mode (for example a vehicle to examine at a dealer): a floating icon (poi_parking_rect by default) linked
✍ gameplay_markers_invisibleMarker 10 "Null" marker: implements the entire play mode marker interface (init, setup, update, show, hide, clearObjects, interactInPlayMode...) with
✍ gameplay_markers_invisibleTrigger 13 Invisible spherical trigger: from an invisibleTrigger POI (pos, radius, onEnter, onInside, onExit), calls the Lua callbacks when a player's
✍ gameplay_markers_missionMarker 15 Mission marker in play mode: an icon (exclamation mark by default) floating above a point, linked to the ground by a line, plus two ground d
✍ gameplay_markers_parkingMarker 15 Parking spot marker in play mode (for example to deliver or drop off a vehicle): a striped decal on the ground, a 3D outline (park_outline_m
✍ gameplay_markers_vehicleTrigger 13 "Doors" marker for vehicles (for example the entrance of a garage or workshop) in play mode. Each door is a pair of scene objects (zone, ico
✍ gameplay_markers_walkingMarker 13 "Doors" marker for the player on foot (building entrances, for example). Same principle as vehicleTrigger: each door is a pair of scene obje
✍ gameplay_markers_zoneMarker 12 Zone marker without visual: makes a POI interactive when the player's vehicle (the four ground corners of its bounding box) is entirely insi
✍ gameplay_missions_locationsDetector 1 Detects the missions whose marker cluster contains the player's given position. getNearbyLocations iterates over the gameplay_missions_clust
✍ gameplay_missions_missionManager 19 Orchestrator of mission start and stop. Each start or stop is a sequence of steps (taskData.steps) executed frame by frame in onUpdate: scre
✍ gameplay_missions_missionScreen 34 Bridge between the mission system and the UI (Vue): prepares the mission screen data (missions at the current marker, ongoing mission, list
✍ gameplay_missions_missionTypes_baseMission 5 Base class of mission types (non-flowgraph). The module returns a factory function(derivedClass, ...): it creates an object from the optio
✍ gameplay_missions_missionTypes_editorHelper 33 Base class for writing the editor of a mission type in the game's editor (imgui interface). A mission type declares its missionTypeData fiel
✍ gameplay_missions_missionTypes_flowMission 21 Base class for missions driven by a flowgraph ("flowgraph" type and derivatives). The module returns a factory function(derivedClass, ...)
✍ gameplay_missions_missions 37 Central registry of BeamNG missions. It discovers file missions (folders /gameplay/missions///.../info.json) and procedural mis
✍ gameplay_missions_poiTest 3 Test extension for the point-of-interest (POI) system. It adds a dummy "poiTest" POI on each parking spot defined in the file gameplay/parki
✍ gameplay_missions_proceduralMissionGenerators_busModeMissions 1 Procedural mission generator for "busMode" (bus driving in freeroam). For each level that has /levels//buslines/*.buslines.json files
✍ gameplay_missions_proceduralMissionGenerators_timeTrialMissions 1 Procedural mission generator for "generatedTimeTrial" based on each level's quick races (quickraces). It loads scenario_quickRaceLoader, ite
✍ gameplay_missions_progress 27 Manages mission progress (saving): attempts, aggregates (best result, number of tries, leaderboards), unlocked stars, quick travel and setti
✍ gameplay_missions_startTrigger 5 Transforms a mission's startTrigger field into a list of "locations" (start zones) and groups nearby zones into clusters for the map. Only
✍ gameplay_missions_unlocks 19 GE extension that evaluates the unlock and visibility conditions of missions (startCondition and visibleCondition fields). On load, it loads
✍ gameplay_missions_unlocks_conditions_careerConditions 0 Career-related mission unlock condition types: branch level (branchLevel) and unlocked league (league). Loaded by gameplay_missions_unlocks,
✍ gameplay_missions_unlocks_conditions_genericConditions 0 Generic condition types for mission unlocks: never, missing, always and the combinators multiAnd / multiOr. Loaded by gameplay_missions_unlo
✍ gameplay_missions_unlocks_conditions_missionConditions 2 Mission unlock condition types based on the progress of other missions: missionPassed (passed) and missionCompleted (completed). They read m
✍ gameplay_missions_unlocks_conditions_vehicleConditions 0 Vehicle-related mission unlock condition type: vehicleDriven. Loaded by gameplay_missions_unlocks.
✍ gameplay_missions_vehicleFilterResolver 2 Transforms a mission vehicle filter configuration (filterData: whitelist/blacklist, probability settings, manual additions and removals, max
✍ gameplay_multiseat_gamemodeManager 30 Manager of multiseat game modes (split screen). It loads the gameplay/discover/multiseat/*Rules.lua providers, collects their info via the o
✍ gameplay_parking 39 Parked vehicles and parking tracking system. On one hand it spawns parked cars on the spots of the level's sites file (city.sites.json via g
✍ gameplay_playmodeMarkers 12 Manages game markers in freeroam/career (missions, parkings, zones, gas stations, etc.). It groups the raw POIs of gameplay_rawPois into clu
✍ gameplay_police 35 Traffic police logic: tracks vehicles with the 'police' role, handles pursuits (levels -1 to 3 depending on the offense score), arrest, evas
✍ gameplay_pursuit_proceduralMode 3 Empty skeleton intended for procedurally generated pursuit scenarios and random events. The code comment says the traffic's random suspect l
✍ gameplay_pursuit_pursuit 21 Pursuit mode manager: a gameplay event where several "chase" vehicles (police) pursue several "flee" vehicles (fugitives), players or AI. On
✍ gameplay_race_pacenote 9 Class of a co-driver call (pacenote) of a race path: a positioned sphere (manually or on a navgraph node) with a normal, a note text and the
✍ gameplay_race_path 18 Race path class: container of pathnodes, segments, start positions (startPositions) and pacenotes, with metadata (name, authors, difficulty,
✍ gameplay_race_pathnode 19 Class of a race path checkpoint (pathnode): a sphere with radius and optional normal, positioned manually or on a navgraph node. Handles the
✍ gameplay_race_race 38 Race engine class: runs one or more vehicles on a race path (gameplay/race/path). Every frame it tracks each vehicle's wheel corners, detect
✍ gameplay_race_segment 20 Class of a race path segment: stretch between two pathnodes (from and to). Three representations are planned: "waypoint" (straight line betw
✍ gameplay_race_startPosition 13 Class of a race start position: position and rotation of a start line, with a group ('start', 'rollingStart', 'recovery' or 'other'). It can
✍ gameplay_rally 37 Entry point of rally mode (gameplay_rally extension). It owns the rally manager (RallyManager) loaded for a mission, relays updates to the r
✍ gameplay_rally_aiCompetitors 5 Simulates AI competitors for the leaderboard of a rally special stage or loop. The competitors' parameters (skill, consistency, risk, name)
✍ gameplay_rally_audioManager 31 Manager of the rally co-driver's audio queue. It queues 'audioObj's (note clips, system notes, pauses) and plays them one by one via Engine.
✍ gameplay_rally_audioTiming 4 Bounds and clamp functions for the rally co-driver audio spacing settings, in milliseconds: gap between corners, between phrases, between li
✍ gameplay_rally_cameraPathPlayer 3 Reads a camera path that follows the rally route. From the points of a 'snaproad' (pointsForCameraPath), it builds a camera path (an adapted
✍ gameplay_rally_client 2 Very lightweight HTTP client for a local speech transcription service (http://localhost:27872) used to recognize spoken notes during a rally
✍ gameplay_rally_codriverTiming 5 Computes the rally co-driver delay: the gap (in seconds) between the end of a note announcement and the car's arrival at the corner. The min
✍ gameplay_rally_compositors_helpers_calibrationOverrides 9 Manages the per-mission calibration of the thresholds of a rally note compositor style (corner intensity diameters, arc lengths per intensit
✍ gameplay_rally_compositors_helpers_colors 0 Color palette shared by the visual rally note styles. Values are either CSS references (var(--bng-...)) consumed by the visual notes UI app,
✍ gameplay_rally_compositors_helpers_compositorUtil 34 Toolbox of the rally note compositor. Walks the elements of a structured note in the fixed order of the slots, calls the active style's comp
✍ gameplay_rally_compositors_helpers_styleValidator 1 Checks the internal consistency of a rally note compositor style (file under compositors/styles/). It checks the distance table (callsEnable
✍ gameplay_rally_compositors_helpers_textCompositor 34 Rally note text compositor: loads a style (file compositors/styles/.lua), copies it, applies the mission's calibrations, validates it,
✍ gameplay_rally_compositors_helpers_visualCompositor 3 Visual rally note compositor: turns a structured note into a list (4 maximum) of 'visuals' for the visual notes UI app (turn icons turn1..tu
✍ gameplay_rally_compositors_styles_english_casual 0 Rally note style 'English casual': a simplified English co-driver that calls corners as 'easy / medium / hard' (easy_medium_hard numbering)
✍ gameplay_rally_compositors_styles_english_caution 0 'caution' component shared by the English styles: texts of the three warning levels ('care', 'caution', 'double caution') and colors of the
✍ gameplay_rally_compositors_styles_english_distance 0 Distance call configuration of the English styles: link words depending on the gap between two notes, spoken units, rounding rules and maxim
✍ gameplay_rally_compositors_styles_english_enthusiast 0 Rally note style 'English enthusiast': full English co-driver, with 1 to 6 numbering (one_to_six), distance calls enabled (english/distance)
✍ gameplay_rally_compositors_styles_english_modifiers 0 Catalog of the English atomic modifiers for rally notes (braking, line guidance, cuts, 'keep', chicanes, jumps, crests, dips, bumps, surface
✍ gameplay_rally_compositors_styles_english_numbering_easy_medium_hard 0 Shared English corner numbering in three levels: hard, medium, easy. Each level gives the spoken text, the measured physical diameter range
✍ gameplay_rally_compositors_styles_english_numbering_one_to_six 0 Shared English corner numbering from 1 (very tight) to 6 (nearly flat), with for each level the spoken text, the physical diameter range (m)
✍ gameplay_rally_compositors_styles_english_systemPacenotes 0 System notes in English (co-driver announcements that do not come from corners): start countdown (five to go), time warnings (60, 30, 15, 10
✍ gameplay_rally_compositors_styles_english_visual 0 General colors of the visual rally notes for the English styles: 'into' link color and distance text color. Returns the table directly (no M
✍ gameplay_rally_compositors_styles_spanish_enthusiast 0 Spanish rally note style ('Spanish enthusiast'): 1 to 6 numbering (uno to seis), 'izquierda'/'derecha' directions, shapes (se abre, se cierr
✍ gameplay_rally_compositors_styles_spanish_numbering_one_to_six 0 Shared Spanish corner numbering from 1 to 6: spoken texts (uno, dos, tres, cuatro, cinco, seis), physical diameter ranges (m), visuals with
✍ gameplay_rally_cutCapture 5 Records 'cuts' during a rally recce: on each capture, the vehicle's position, orientation and steering angle are appended as a JSON line to
✍ gameplay_rally_driveline_drivelineMeasurement 1 Empty class (skeleton) intended for measurements on a rally driveline. The constructor require(...)(driveline) calls C:init, which does noth
✍ gameplay_rally_driveline_drivelineRoute 48 Second version of the rally driveline, based on gameplay/route/raceRoute. From a RacePath (race.json), a notebook (NotebookPath) and a list
✍ gameplay_rally_driveline_drivelineV3 26 Third version of the rally driveline: turns the recce recording into an editable spline, then into a list of final points. Pipeline: loads t
✍ gameplay_rally_driveline_pointList 12 List of points along a path (rally driveline). Each point is a table {pos (vec3), quat, ts, normal, prev, next, id, partition, pacenoteDista
✍ gameplay_rally_driveline_rallyRouteTracker 15 Tracking of a vehicle's position along a static rally route. On each update, the position is projected onto the route's segments (local wind
✍ gameplay_rally_driveline_util 0 Editing constants of the rally driveline (editable spline built from the recce recording). Used by drivelineV3: default node width, RDP simp
✍ gameplay_rally_enums 0 Shared enumerations of the rally system (co-driver notes): pacenote audio mode, trigger type, release type for slow corners, with their read
✍ gameplay_rally_extHelper 2 Empty extension: only used to force loading of the gameplay_rally_* namespace via extensions.load('gameplay_rally_extHelper'). The load and
✍ gameplay_rally_fuelUtils 3 Tools to save and restore a rally vehicle's fuel (for example after a reset or a repair). createFuelSnapshot analyzes the energyStorage data
✍ gameplay_rally_geometry 1 Prototype for automatic generation of rally notes from the road geometry. When a ground marker is active, it computes an optimized path betw
✍ gameplay_rally_loop_penalties 4 Computation of time control penalties for a rally loop: early arrival, late arrival, false start. Time is compared to the minute (arrival wi
✍ gameplay_rally_loop_rallyAttempts 2 Creates and records a mission attempt for a rally loop through the mission progress system (gameplay_missions_progress). A normal-finish att
✍ gameplay_rally_loop_rallyEventLog 15 Event log of a rally loop. Each entry (item) carries a timestamp, an eventId, an eventGroup, a type ('penalty', etc.) and a data table. On e
✍ gameplay_rally_loop_rallyLoopManager 134 Manager of a rally loop: a mission that chains the start service, up to 4 road section/stage pairs (stageN_rallyRoadSection / stageN_rallySt
✍ gameplay_rally_loop_rallyLoopStars 5 Manages the stars (bronze, silver, gold) of a rally loop. The loop's thresholds are the sum of the thresholds of the linked stages (up to 4:
✍ gameplay_rally_loop_rallyLoopTime 6 Manages the time of day of a rally loop. Builds the player setting "Loop Time" (Default, Now, then each HH:MM time listed in loopTimes), tra
✍ gameplay_rally_loop_roadSectionPenaltyKeeper 5 Monitors the road sections of a rally loop: if the player triggers too many route recalculations within a time window (leaves the road secti
✍ gameplay_rally_loop_scheduleUtils 4 Small utility functions for schedule computation for rally loops: rounding up to the next minute, conversion of slot sizes from minutes to s
✍ gameplay_rally_loop_speedingDetector 7 Detects player speeding on the road sections of a rally loop. Every second, the player vehicle's speed is sampled into a circular buffer of
✍ gameplay_rally_loop_stagedCountdownTest 4 Test simulation for the stage start countdown (staged countdown). Reproduces a wall clock from the environment's time of day and schedules t
✍ gameplay_rally_loop_stagedCountdownUtils 12 Functions common to the stage start countdown (flowgraph node and test simulation): reading the environment's wall clock, countdown settings
✍ gameplay_rally_loop_standaloneFallbackStream 6 Fallback data stream for the rally stage UI apps when no rally loop feeds them (stage launched on its own, "standalone"). It keeps the lates
✍ gameplay_rally_loop_uiColors 4 UI color palette for the rally: one theme color for the loop and one for the stage, with an NGRC mode variant. The functions write the color
✍ gameplay_rally_notebook_focusedNearDraw 3 Debug drawing of the rally note (pacenotes) editor: when the camera is close to the notes, only draws the portion of the road (snaproad) and
✍ gameplay_rally_notebook_noSelectionPreview 3 Preview of the rally note (pacenotes) editor when no note is selected. Far from the road (beyond overviewDistance), draws the whole road in
✍ gameplay_rally_notebook_pacenote 129 A rally pacenote (one co-driver note): class instantiated by the notebook (notebook, path.lua). It carries two waypoints (cornerStart and co
✍ gameplay_rally_notebook_pacenoteGenerator 1 Simple pacenote generator: from a list of driveline points, it detects left/right corners by computing, for each point, the circle through t
✍ gameplay_rally_notebook_pacenoteWaypoint 20 Waypoint of a rally pacenote: a position, a radius, a normal (direction of a crossing plane) and a type (cornerStart or cornerEnd, see waypo
✍ gameplay_rally_notebook_path 105 The rally notebook: container of a sorted list of pacenotes (pacenote.lua) saved in a *.notebook.json file under /rally/notebooks/.
✍ gameplay_rally_notebook_structured 18 "Structured" storage of a rally pacenote in six fixed slots (string keys "1" to "6", which are also the reading order): 1 = caution, 2 and 3
✍ gameplay_rally_notebook_systemPacenotes 2 Holds the canonical list of rally "system" pacenote names (countdown, start warnings, radio/belt checks, false start…) and validates the `sy
✍ gameplay_rally_notebook_test_testNotebook 1 Manual tests of the rally notebook, to run from the game's Lua console. testAll() chains ten tests with a homemade assertion (assertEqual: l
✍ gameplay_rally_notebook_waypointTypes 1 Constants for the waypoint types of a rally pacenote: corner start ("cornerStart") and corner end ("cornerEnd"). Also provides a function th
✍ gameplay_rally_rallyManager 88 Manager of a loaded rally mission (special stage or road section). A RallyManager object groups the notebook (pacenotes), the race path (rac
✍ gameplay_rally_recce 10 High-level manager of a rally's recce recordings. It loads the driveline (timestamped points of the driven route, via recce/drivelineRecordi
✍ gameplay_rally_recce_cutsRecording 1 Loader of a rally's recce "cuts". A cut is a position marker where the co-driver made a voice recording during the recce. The module reads t
✍ gameplay_rally_recce_drivelineRecording 1 Loader of the "driveline" file recorded during a rally recce. A driveline is a sequence of timestamped points (position, orientation) of the
✍ gameplay_rally_recceApp 25 The rally "Recce" app in freeroam: lets you load a rally mission (rallyStage, rallyStageLoop or rallyRoadSection of the current level), disp
✍ gameplay_rally_recceSettings 16 Persistent preferences of the rally recce, saved in rallySettingsRoot/recce.json: last mission id and last load state per level, and the nam
✍ gameplay_rally_recoveryClockAdvance 2 Table of the timer penalties applied at each vehicle recovery (reset) in rally. A recovery costs a fixed number of seconds, independent of t
✍ gameplay_rally_snaproad 70 Rally snaproad: a "magnetic road" built on the points of a driveline (PointList). It lets you project a position onto the road (closestSnapR
✍ gameplay_rally_snaproad_geoPacenotes 6 Geometric measurement of the pacenotes' corners from the road (snaproad). From the points of a partition, it fits one or more circles (2D th
✍ gameplay_rally_snaproad_normals 2 Small normal computation utility for the points of a rally snaproad. From a point with prev/next links, it computes the "forward" normal vec
✍ gameplay_rally_stage_stageObserver 10 Rally special stage observer: at each update, it compares the vehicle's footprint (8 corners of the oriented bounding box, OOBB) between two
✍ gameplay_rally_stage_stageTimingState 16 State machine of a rally special stage's timer: elapsed time, activation, finish, frame time step and split times. Used by rallyManager (get
✍ gameplay_rally_starThresholds 1 Computes the star time thresholds (gold, silver, bronze) of a rally special stage from a hand-made reference time (baseline) and the stage l
✍ gameplay_rally_startClocks_rallyStartTree 3 LED display of BeamNG's start clock panel ("rally start tree"). It finds in the scene the TSStatics using the s_rally_start_tree.dae shape,
✍ gameplay_rally_test_testRouteFix 4 Development test extension for the gameplay/route/route module: on load, it creates a Route with a small hard-coded 3-point path, then every
✍ gameplay_rally_tools_devTools 26 imgui development tools panel for rally, intended for the rally editor. It groups four sections: "Voicepack Tools" (generation of a voicepac
✍ gameplay_rally_tools_loopToolbox 12 imgui debug window "Rally Loop Debug" (Loop Toolbox) for the rally loop, opened by gameplay_rallyLoop.toggleDebug(). It lets you pick a `ral
✍ gameplay_rally_tools_rallyToolbox 22 RallyManager (gameplay_rally) debug imgui window: displays the current mission and the driveline distance, offers Warm Reload (resyncs the r
✍ gameplay_rally_trafficExclusion 5 Computes spherical exclusion zones for AI traffic along the rally special stages, then applies them to the navgraph (`map.setTrafficExclusio
✍ gameplay_rally_transcripts_entry 16 An individual rally recce transcription: the recognized text of the co-driver's voice, its source, its timestamp and the vehicle data at the
✍ gameplay_rally_transcripts_path 8 Container of a rally's transcriptions (recognized text of the co-driver's voice during the recce). It loads and saves a JSON file, and manag
✍ gameplay_rally_transcripts_vehicleSnapshot 3 Skeleton class representing a vehicle snapshot (position, orientation, steering, timestamp) attached to a rally transcriptions path. It beha
✍ gameplay_rally_util 48 Common toolbox of rally mode (GE): constants (folder names, active states, flowgraph colors, co-driver default values), file paths of a miss
✍ gameplay_rally_util_colors 0 Color palette and display constants (alphas, radii, widths) shared by the rally tools: snaproads, pacenotes, waypoints and the editor cursor
✍ gameplay_rally_util_jsonlUtils 5 Utilities for reading JSONL files (one JSON object per line), used to load the rally recce recordings (driveline, cuts, transcriptions). Emp
✍ gameplay_rally_util_normalizer 1 Small text normalization utility for rally notes: successively applies a list of replacements (pattern, replacement) to a string.
✍ gameplay_rally_vehicleCapture 5 Recorder of the vehicle's trajectory during a rally recce. Every 2 m traveled, it captures position, orientation and steering, buffers the c
✍ gameplay_rally_vehicleTracker 13 Tracking of the player vehicle (slot 0) for rally: position, speed and damage detection. At each onUpdate, it rereads map.objects[vehicleId]
✍ gameplay_rally_voicepack 47 Stateless module that manages the rally co-driver "voicepacks": voice packages (.ogg audio + metadata.json + voicepack.json) located either
✍ gameplay_rally_voicepackMissionSettings 4 Thin layer around gameplay/rally/voicepack for the user settings of a rally mission: builds the "voice pack" setting of a stage or a loop, a
✍ gameplay_rallyLoop 35 Facade extension of the "rally loop" mode (chaining service, liaison, special stages). It owns the RallyLoopManager instance (loop/rallyLoop
✍ gameplay_rallyStartClock 8 Manages the special stage start clocks (physical signs present in the levels) for rally. It loads the clock types from `lua/ge/extensions/ga
✍ gameplay_rawPois 3 Cache of "raw" points of interest (POI) per level. It collects POIs by emitting the hook `onGetRawPoiListForLevel(levelIdentifier, elements)
✍ gameplay_route_raceRoute 19 Synchronous variant of route.lua for races and rally: path on the navgraph with per-point metadata (metadata), merge and recalculation callb
✍ gameplay_route_route 18 Route class on the navgraph (map module): computes a path through a list of positions, stores the remaining distances (distToTarget), trac
✍ gameplay_seatOccupants 42 Vehicle seat and occupant system. It records which player (or dummy occupant) occupies which seat of each vehicle (occupancy[vehId][seatId])
✍ gameplay_sites_location 6 "Location" class of a sites set (*.sites.json file): a named map point with a position, a radius and a color. Used to mark places (start, fi
✍ gameplay_sites_parkingSpot 15 "ParkingSpot" class of a sites set: an oriented rectangle (position, rotation, dimensions scl = width X, length Y, height Z) representing a
✍ gameplay_sites_sites 12 "Sites" class: container of a *.sites.json file. Groups three sorted lists (locations, zones, parkingSpots), tag indexes and spatial trees (
✍ gameplay_sites_sitesManager 11 Extension that lists the *.sites.json files of each level, loads them into "sites" objects (locations, zones, parking spots) and caches them
✍ gameplay_sites_zone 21 "Zone" class of a sites set: a 2D polygon (list of vertices in world coordinates) delimiting a map region, optionally with two planes (top a
✍ gameplay_skidpadTest 3 Skidpad test extension: teleports a vehicle to the "skidpadSpawn" start point then makes the AI follow the circuit defined by the waypoints
✍ gameplay_speedTrapLeaderboards 9 Extension that keeps the speed camera leaderboards (top 10), per level and per camera (triggerName), in freeroam mode only. Leaderboards are
✍ gameplay_speedTraps 2 Extension that manages the speed cameras and red light cameras placed in levels as BeamNGTrigger triggers carrying a speedTrapType field ("s
✍ gameplay_statistic 39 Game statistics extension. It keeps named metrics (counters, values, timers) recorded in settings/cloud/gameplay_stat.json, and a separate c
✍ gameplay_statisticModules_watchJturn 4 Statistics module that detects "J-turns" (reverse-then-forward U-turn) of the player vehicle and increments the metric "vehicle/jturn" via g
✍ gameplay_statisticModules_watchRollover 4 Statistics module that detects rollovers (vehicle flipped onto its roof then back on its wheels) and increments the metric "vehicle/rollover
✍ gameplay_taxi 35 Taxi system in freeroam and career: the player on foot can hail a traffic taxi (or call one from the quick menu), get in, choose a destinati
✍ gameplay_traffic 60 Main AI traffic system in freeroam. It spawns a group of vehicles (via core_multiSpawn), inserts them into the traffic table (gameplay/traff
✍ gameplay_traffic_baseRole 26 Base class of traffic "roles" (civilian, police, suspect, etc.). A role is attached to a traffic vehicle (gameplay_traffic object) and gives
✍ gameplay_traffic_roadTracking 9 Class that tracks a vehicle's placement and behavior on the road: current road segment (n1, n2), lateral position, alignment with the road,
✍ gameplay_traffic_roles_empty 1 Minimal traffic role ("empty"). It inherits from baseRole but empties the actions table: no extra action or specific AI is applied to the ve
✍ gameplay_traffic_roles_police 5 "Police" traffic role ('emergency' class). It defines the pursuit actions (pursuitStart, pursuitEnd, chaseTarget, avoidTarget, roadblock) an
✍ gameplay_traffic_roles_standard 9 "Standard" traffic role: the default civilian driver. It reacts to collisions, accidents and witnessed events (near miss, collision by a thi
✍ gameplay_traffic_roles_suspect 5 "Suspect" traffic role: a vehicle wanted by the police. It defines the actions watchPolice (become wanted), fleePolice (flee), arrest (immob
✍ gameplay_traffic_source 10 Manages the traffic manager's "sources" (focuses), useful when several players (split screen) must each have traffic around them. A source i
✍ gameplay_traffic_trafficUtils 18 Traffic system toolbox: creating groups of traffic or police vehicles (via core_multiSpawn), loading *.vehGroup.json files, finding spawn po
✍ gameplay_traffic_vehicle 35 Class of a vehicle managed by the traffic system (gameplay_traffic). It tracks the vehicle's state (reset, active, fadeIn, fadeOut, queued,
✍ gameplay_tutorial_bounds 15 Manages the bounds of the career tutorial zone. It checks that the player stays within the active zones of the tutorial sites; otherwise it
✍ gameplay_tutorial_damageTracker 19 Tracks the vehicle's damage during the career tutorial (and the time trial). It relies on gameplay_util_crashDetection to detect the end of
✍ gameplay_tutorial_markers 13 Manages the career tutorial's visual markers: attention markers above a vehicle or at a position, direction markers on a parking spot, and g
✍ gameplay_tutorial_runtime 15 Generic tutorial engine: it chains "steps" that are each a separate Lua extension (prefix + step identifier). It loads/unloads the current s
✍ gameplay_tutorial_setup 21 Tutorial scene setup: prefabs, sites (parking zones), tutorial vehicle (sunburst2, config apmTutorial_sunburst), placing the player on foot,
✍ gameplay_util_crashDetection 10 Collision ("crash") detector for tracked vehicles. On each frame it compares the vehicle's damage (map.objects[id].damage and sum of section
✍ gameplay_util_customFields 12 Small container of typed "custom fields" (string, number, boolean, vec3, quat) and sorted tags, with serialization. The module returns a con
✍ gameplay_util_damageAssessment 9 Assesses a vehicle's damage: overall level (none, light, moderate, severe) based on map.objects[id].damage, and per-zone breakdown. For the
✍ gameplay_util_groundContact 1 Minimal utility to know whether a vehicle is resting on its wheels. It casts a static ray downward from the bottom of the vehicle's bounding
✍ gameplay_util_routeGenerator 2 Procedurally generates a race route on the map's road graph (map.getMap().nodes). A guided random walk (preferred angle depending on the req
✍ gameplay_util_sortedList 10 List of objects ordered by sortOrder, with an index by id (objects) and by name (byName). It builds objects through a provided constructor
✍ gameplay_util_vehicleSighting 3 Determines whether an observer (the player camera or a vehicle) can "see" a target vehicle. The range depends on the angle: maximum range (8
✍ gameplay_vehiclePerformance 9 Computes a vehicle's performance index (PI) and class (X, S, A, B, C, D) from its automatic test results (0-60 time, 1/8 and 1/4 mile, trap
✍ gameplay_vehiclePresencePolicy 4 Pure (stateless) rules describing a player's "presence" relative to a vehicle: driver, passenger or unrestricted. Tells whether an input act
✍ gameplay_vehiclePresencePolicy.test 3 Unit tests for gameplay/vehiclePresencePolicy. Each testXxx function receives a test context ctx (with assert and assertEqual) provided by
✍ gameplay_walk 36 Player "walking" mode: leaving the vehicle spawns a special "unicycle" vehicle (the character) that the player controls on foot; getting bac
✍ license 5 Queries the state of the BeamNG.tech (research) and commercial licenses through the C++ objects ResearchVerifier and CommercialVerifier, wit
✍ lightrunner_lightrunnerConfigurator 0 Configurator of the "Light Runner" wizard: quick race on the glow_city level. It builds a descriptor from quickRaceConfiguratorDescriptor (g
✍ mcp_server 7 MCP (Model Context Protocol) server built into the game. It opens a small local HTTP server (via the C++ server BNGWebWSServer) at http://12
✍ mcp_shared 4 State and small helpers shared by the MCP tool modules (mcp/tools/*.lua). Loaded by require('mcp/shared'), therefore a singleton via the r
✍ mcp_tools 3 Loader of the MCP tool modules. On load it scans /lua/ge/extensions/mcp/tools/*.lua (level 1), requires them one by one and merges into
✍ mcp_tools_ai 4 MCP tools for vehicle AI: read/modify its settings (mode, speed, aggression, target), send it to a point, and inspect the navgraph (AI and t
✍ mcp_tools_camera 5 MCP tools for the player camera: change mode, orbit around a vehicle (with continuous rotation), read the camera state and place the free ca
✍ mcp_tools_debug 3 MCP tools for debug drawing in the world: persistent spheres, lines and texts, redrawn every frame with debugDrawer until cleared or expired
✍ mcp_tools_editor 16 MCP tools for the World Editor: enable/disable, state, selection, undo/redo, edit modes, open/save a level, list classes, create objects and
✍ mcp_tools_env 2 MCP tools for the environment: read and set the time of day and astronomical parameters (latitude, longitude, date, UTC offset, celestial pr
✍ mcp_tools_fs 8 MCP file system tools: read/write text files, list, search, delete, copy, rename, create folders. Read/write go through io.open (relative to
✍ mcp_tools_input 4 MCP vehicle input tools: inject a control event (steering, throttle, brake…), test a "hydro" control round trip with error detection in the
✍ mcp_tools_perf 5 MCP performance tools: metrics of the last frame, FPS limiter reason, VRAM usage, and Optick profiler captures (BNG_PROFILER=OPTICK builds o
✍ mcp_tools_scene 7 MCP tools for the scenetree: find objects (by class or name), inspect them like the editor inspector, modify their fields, delete them, seri
✍ mcp_tools_sim 5 MCP simulation control tools: read the state, change the time scale, pause the physics, resume it, or advance it step by step. Relies on the
✍ mcp_tools_spawn 4 MCP spawn tools: list a model's configurations, spawn or replace a vehicle, and automatically test all of a model's configurations (spawn ea
✍ mcp_tools_system 13 MCP system tools: run Lua in the GE VM, read logs, reload the UI or Lua, render info, screenshots, file info, loading Lua files and extensio
✍ mcp_tools_telemetry 3 MCP vehicle telemetry tools: electrics values (RPM, speed, gear, fuel…), damage summary, and a global GE-side state snapshot.
✍ mcp_tools_ui 11 MCP tools for the interface (CEF/Vue): read the route and Pinia state, navigate, show/hide the UI, display a message, and drive the DOM (arb
✍ mcp_tools_vehicle 11 MCP vehicle tools: list, detail, JBeam files and part tree, physics instability log, reset/reload of the player vehicle, reading and writing
✍ mcp_tools_world 6 MCP "world" tools: list and load levels, trigger a bound input action (like a key press), recover or delete a vehicle, and query the ground
✍ oneshotRace_oneshotRaceCore 1 Common core of the "one shot" race wizards: from a descriptor, createConfigurator() returns an object that holds the selection (level, track
✍ oneshotRace_quickRaceConfiguratorDescriptor 1 Builds the descriptor common to the quick race configurators (quickrace, Light Runner). The descriptor is consumed by oneshotRaceCore.create
✍ quickrace_quickraceConfigurator 0 Configurator of the quick race (quickrace) wizard: level, track, vehicle and settings (reverse, rolling start, lap count, time of day, seed)
✍ remoteControl_remoteControl 5 Example/prototype of an HTTP remote control: on load, starts a small HTTP server (utils/simpleHttpServer) on 0.0.0.0:8081 that serves the fi
✍ render_hdr 3 Creates, on the first frame, the HDR post-processing effect chain (auto/local exposure): PostEffectBrightPass (AfterPostFX rendering at 0.5
✍ render_openxr 11 Lua interface for OpenXR virtual reality (VR headset). Drives the C++ engine (global object OpenXR): enabling/disabling with a welcome dialo
✍ render_playerCompassMarkers 3 Direction indicators of the other players for split screen (multiseat in freeroam). For each view, draws at the top of the view one colored
✍ render_playerTags 13 Floating name labels above players' vehicles (multiseat and split screen). Uses the Skia billboard system (WorldBillboardRenderer object reg
✍ render_renderViews 1 Takes screenshots from an independent virtual camera (RenderView): you give position, rotation, resolution, FOV and object masks, the module
✍ render_skiaIcons 22 3D icons (Skia billboards facing the camera) to mark world positions: missions, stations, race markers. Each icon is drawn with the bngIcons
✍ render_splitScreen 17 Split screen (multiseat): creates a render view per player (RenderViewManagerInstance, views named 'splitscreen0', 'splitscreen1'...), compu
✍ render_splitScreenLayouts 5 Catalog of split screen layouts, used by render_splitScreen. It provides predefined layouts for 2, 3 and 4 players, an automatic grid layout
✍ render_viewDemo 1 Small example of using render views (RenderViewManagerInstance): creates a view named 'Demo view 1' rendered into a named texture, moves its
✍ scenario_busdriver 14 Bus driving scenario (line route with stops). From the scenario.busdriver configuration (routeID, variance, strictStop, simulatePassengers,
✍ scenario_damageGoal 3 "damage" scenario goal (goals.vehicles with id = 'damage'). It monitors the vehicle's damage (map.objects[...].damage) at each race tick and
✍ scenario_demolitionDerby 2 Demolition-type scenario extension: it declares as winner the last vehicle still moving. Every second, it compares each scenario vehicle's p
✍ scenario_distanceGoal 3 "distance" scenario goal (goals.vehicles with id = 'distance'): the distance between the goal's vehicle and a target scenetree object must n
✍ scenario_driftGoal 3 "drift" scenario goal (goals.vehicles with id = 'drift'). It computes a drift score from the difference between the vehicle's direction (dir
✍ scenario_finishRaceGoal 3 "finishRace" scenario goal (goals.vehicles with id = 'finishRace'): the vehicle must finish the race. It listens for the last waypoint reach
✍ scenario_nomoveGoal 3 "nomove" scenario goal (goals.vehicles with id = 'nomove'): the vehicle must not move more than 0.1 m from its starting position. Called by
✍ scenario_positionGoal 3 "position" scenario goal (goals.vehicles with id = 'position'): at the end of the race, the vehicle must be in the zone of a scenetree objec
✍ scenario_quickRace 14 Quick race (quickrace) logic: loads the track's prefabs and flowgraph, creates the player's vehicle at the start position, converts the race
✍ scenario_quickRaceLoader 12 Quick race (quickrace) loader. It walks the levels (levels//quickrace/*.json, including .race.json files) and the Track Editor tracks
✍ scenario_raceDebug 2 Visual debugging aid for scenario races: computes the path between the lapConfig waypoints (map.getPath) and draws it with debugDrawer (red
✍ scenario_raceGoals 8 Dispatcher of a scenario's goals. At initialization it reads the goals declared in scenario.vehicles[name].goal of the JSON, creates scenari
✍ scenario_raceMarkers_attention 10 "Attention arrow" checkpoint marker: a blue arrow (model s_mm_arrow_ribbon_down.dae) floating above the point, turned toward the camera, wit
✍ scenario_raceMarkers_crawlMarker 14 Checkpoint marker for crawl courses: a floating arrow that looks at the camera, two orange flags planted on either side of the passage (plac
✍ scenario_raceMarkers_cylinderMarker 10 "Cylinder" checkpoint marker: a flat base on the ground (checkpoint_marker_base.dae) and a 50-unit-tall cylinder (checkpoint_marker.dae) col
✍ scenario_raceMarkers_directionMarker 10 "Direction arrow" checkpoint marker: a floating arrow (s_mm_arrow_floating.dae) oriented according to the checkpoint's rotation, with a slig
✍ scenario_raceMarkers_dragStagePlane 12 Staging zone marker for dragster races: draws translucent planes on the ground with debugDrawer (start line and player line joined by side w
✍ scenario_raceMarkers_noneMarker 9 "Empty" checkpoint marker: it implements the common race marker interface (init, update, setToCheckpoint, setMode, setVisibility, hide, show
✍ scenario_raceMarkers_overhead 10 "Overhead arrow" checkpoint marker: an arrow (s_mm_arrow_ribbon_down.dae) turned toward the camera, oscillating vertically above the point,
✍ scenario_raceMarkers_parkingAttention 9 Attention marker for a parking spot: draws in debug (debugDrawer:drawTriSolid) the four translucent blue walls (alpha 25%) of a box around t
✍ scenario_raceMarkers_parkingraceSpotMarker 9 Parking spot marker for parking races: three stacked outlines (park_outline_marker.dae, height 1.2 m) and a striped ground decal (parkDecalS
✍ scenario_raceMarkers_ringMarker 10 "Ring" checkpoint marker: a 3D ring (checkpoint_ring.dae, or checkpoint_ring_finish.dae for the lap and final modes) oriented along the chec
✍ scenario_raceMarkers_sideColumnMarker 13 Default checkpoint marker of scenario_race_marker: two columns (model single_faded_column.dae) on either side of the passage, plus a ground
✍ scenario_raceMarkers_sideHologramMarker 11 "Hologram gantry" checkpoint marker: two pillars (left and right portal), each with a cone on the ground, a tall column, a thin cylinder lin
✍ scenario_raceMarkers_sideMarker 10 "Side curves" checkpoint marker: a ground base (checkpoint_curve_base.dae), active side curves (checkpoint_curve_active.dae, or _finish for
✍ scenario_raceMarkers_singleHologramMarker 11 "Hologram column" checkpoint marker: a single central column (s_single_faded_column_rect.dae) placed on the ground by raycast, colored accor
✍ scenario_raceMarkers_zoneAttention 12 Attention marker for a zone (polygon): instead of a 3D object, it asks the zone object to draw itself (zone:drawDebug('faded', color, fence
✍ scenario_raceUI 5 Bridge between the scenario race and the interface: sends the UI the waypoint progress (WayPointChange), lap progress (RaceLapChange) and ti
✍ scenario_race_marker 10 Manager of the 3D checkpoint markers of a scenario race. It creates one marker per waypoint with the chosen type (module scenario/raceMarker
✍ scenario_scenariohelper 17 Scenario toolbox (GE extension scenario_scenariohelper). It wraps sending Lua commands to a vehicle by its name in the scenetree, AI control
✍ scenario_scenarios 45 Core of the "scenario" mode: a state machine that loads a scenario's level, spawns its prefabs and vehicles, handles the intro phase, the co
✍ scenario_scenariosLoader 9 Loads and normalizes scenario files (.json in levels//scenarios/), lists them for the UI and starts them. processScenarioData complet
✍ scenario_speedGoal 3 "speed" scenario goal: monitors a vehicle's speed and wins or fails when it stays outside the range [minSpeed, maxSpeed] for more than maxTi
✍ scenario_timeLimit 3 "timeLimit" scenario goal: the scenario must be completed in less than maxTime seconds. Loaded by scenario_raceGoals (init, processState, up
✍ scenario_waypointAction 3 "wayPointAction" scenario goal: displays an on-screen message when a vehicle reaches certain waypoints of the race. Loaded by scenario_raceG
✍ scenario_waypoints 14 Waypoint system of a race scenario: from scenario.lapConfig (ordered list of waypoints/triggers) and the branches (lapConfigBranches), build
✍ statistics_statistics 23 GE extension that tracks a scenario's statistics (distance traveled, altitude, max speed, damage, time, goals) for each vehicle, computes th
✍ telemetry_clientFacts 4 Module (loaded by require, not an extension) that gathers the telemetry's "client facts": game version, platform, build type, OS, CPU, prefe
✍ telemetry_clientFacts.test 6 Unit tests of telemetry/clientFacts, run with extensions.testFramework_TestManager:runTestFiles("clientFacts"). Each testXxx(ctx) function r
✍ telemetry_configManager 11 GE extension (depends on telemetry_userIdentity) that manages the telemetry configuration: reading the /telemetry/config.json cache, validat
✍ telemetry_configManager.test 1 Unit test of telemetry/configManager (extensions.testFramework_TestManager:runTestFiles("configManager")).
✍ telemetry_core 16 BeamNG's telemetry core (GE extension telemetry_core, depends on telemetry_configManager). It decides whether telemetry is active (consent i
✍ telemetry_core.test 1 Unit test of telemetry/core (extensions.testFramework_TestManager:runTestFiles("core")).
✍ telemetry_hardwareAudio 1 Hardware telemetry utility module (loaded by require): turns the raw information of the audio output device into an anonymized summary. The
✍ telemetry_hardwareAudio.test 4 Unit tests of telemetry/hardwareAudio (runTestFiles("hardwareAudio")).
✍ telemetry_hardwareChanges 3 Hardware telemetry utility module (loaded by require): compares two controller snapshots to produce connection/disconnection events, and say
✍ telemetry_hardwareChanges.test 4 Unit tests of telemetry/hardwareChanges (runTestFiles("hardwareChanges")).
✍ telemetry_hardwareInput 3 Hardware telemetry utility module (loaded by require): turns the game controllers' information into telemetry data. For all devices: type, p
✍ telemetry_hardwareInput.test 6 Unit tests of telemetry/hardwareInput (runTestFiles("hardwareInput")).
✍ telemetry_performanceMetrics 4 Small utility module (loaded by require) of performance telemetry: safe reading of VariableRegistry variables, the program's focus state and
✍ telemetry_performanceSpatialConfig 1 Utility module (loaded by require) that reads and validates the server configuration of the performanceSpatial tracker. Numbers are clamped
✍ telemetry_performanceSpatialConfig.test 7 Unit tests of telemetry/performanceSpatialConfig (runTestFiles("performanceSpatialConfig")).
✍ telemetry_performanceSpatialDetector 5 Performance dip detector for the performanceSpatial tracker. It follows an exponential moving average of the frame time (baseline, alpha 0.0
✍ telemetry_performanceSpatialDetector.test 10 Unit tests of telemetry/performanceSpatialDetector (runTestFiles("performanceSpatialDetector")).
✍ telemetry_performanceSpatialGameplayExit 2 Telemetry helper: determines which gameplay activity is in progress (mission, scenario, delivery, test drive, certification, drag/drift/craw
✍ telemetry_performanceSpatialGameplayExit.test 10 Unit tests of telemetry/performanceSpatialGameplayExit. Each test receives a ctx context (assert, assertEqual) from the game's test runner
✍ telemetry_performanceSpatialSnapshot 1 Utility module (loaded by require) that builds the performance snapshot sent by the performanceSpatial tracker: FPS (instantaneous, average,
✍ telemetry_performanceSpatialSnapshot.test 3 Unit tests of telemetry/performanceSpatialSnapshot (runTestFiles("performanceSpatialSnapshot")).
✍ telemetry_reporters_jsonFileReporter 1 Telemetry sender: on load, a jobsystem task waits 5 s then sends to the server (core_online call s11/v2/telemetryReports) the /telemetry/ses
✍ telemetry_trackers_career 5 Career mode telemetry tracker: measures how long a career is played (activity "careerActive" with the save state at opening: money, beamXP,
✍ telemetry_trackers_controls 4 Controls telemetry tracker: reports the steering method used (one-off event "controlsUsed") and, when the game closes, the number of uses of
✍ telemetry_trackers_editor 6 World editor telemetry tracker: measures how long the editor is open (activity "editorActive") and records the tool windows opened (event "e
✍ telemetry_trackers_gameplay_firstDrive 8 "First Drive" tutorial telemetry tracker: the session (activity "firstDriveActive"), its lessons (started, stopped, completed, with duration
✍ telemetry_trackers_gameplay_missions 11 Mission telemetry tracker: follows the funnel (which missions start, how they are configured, how they end). The "missionRunning" activity c
✍ telemetry_trackers_gameplay_other 7 Telemetry tracker for small gameplay features that do not have their own tracker: the track builder (activity "trackBuilder") and the taxi (
✍ telemetry_trackers_hardware 4 Hardware telemetry tracker: collects system, graphics, display, audio, storage and input device information for minimum-spec and optimizatio
✍ telemetry_trackers_level 11 Levels and scenarios telemetry tracker: which levels are played and for how long (activity "levelLoaded"), plus the scenario lifecycle (acti
✍ telemetry_trackers_mcp 2 Telemetry tracker for MCP tool calls (the game's Model Context Protocol server): for each tool call, records the tool name and whether the c
✍ telemetry_trackers_memory 2 Memory telemetry tracker: reports the machine's memory, the memory held by the game, and whether the OS has started paging to disk. It queri
✍ telemetry_trackers_mods 2 Mods telemetry tracker: reports which mods are installed and active, to distinguish crashes and performance between modded and clean install
✍ telemetry_trackers_performance 2 Performance telemetry tracker: reports players' framerate from what the engine already measures for the overlay cycled by Ctrl+F ($fps::avg,
✍ telemetry_trackers_performanceSpatial 7 "Spatial" performance telemetry tracker: links framerate to where the player is. It polls the instantaneous FPS every 0.13 s (in a tracked l
✍ telemetry_trackers_performanceWarnings 2 Telemetry tracker for the hardware performance warnings shown to the player: each warning (category + message) is reported only once per ses
✍ telemetry_trackers_physics 2 Physics telemetry tracker: reports physics instabilities with enough context to reproduce them ("physicsInstability" event: model, config, o
✍ telemetry_trackers_session 4 Session telemetry tracker: marks the start and end of the session. It loads first and unloads last, so it brackets all other events. A game
✍ telemetry_trackers_settings 1 Settings telemetry tracker: records the game's declared settings (settings.impl.defaults) with their current value and default value, to rea
✍ telemetry_trackers_splitscreen 10 Split-screen telemetry tracker: split-screen sessions, usage duration of each configuration and multi-seat game modes played. splitScreenSta
✍ telemetry_trackers_traffic 7 Traffic telemetry tracker. It answers the question "how much traffic is actually used": it opens the trafficActive activity when traffic s
✍ telemetry_trackers_ui 5 UI telemetry tracker. It tracks the screens (UI routes) the player opens and leaves: each screen is a uiScreen activity whose duration is
✍ telemetry_trackers_vehicle 7 Vehicle telemetry tracker. It records which vehicles are spawned (vehicleSpawned event), driven and for how long (vehicleUsed activity),
✍ telemetry_userIdentity 2 Manages the user's anonymous ID used by telemetry. A random "salt" is created once and stored in /telemetry/salt.txt; the ID is the SHA-25
✍ telemetry_vehicleInfo 2 Utilities shared by the telemetry trackers to describe a vehicle: model and configuration (getData) and originating mod (getMod). It is
✍ trackbuilder_trackBuilder 25 ImGui interface of the track editor (Track Builder). It drives the spline engine util_trackBuilder_splineTrack (loaded via `extensions['ut
✍ ui_ambientSound 4 Small manager of ambient sound "streams" played in the 'AudioGui' audio channel. Each stream is described by a JSON file (key data) containi
✍ ui_appContainers 17 Generic registry of UI app "containers" (topLeft, topCenter, topRight) and of the visibility of each app. The topLeft/topCenter/topRight ext
✍ ui_appContainers_topCenter 28 "topCenter" app container (top-center of the interface: arrowGPS, rally, drift, drag, pointsBar, speedTargetBar, flashMessage, countdown, mo
✍ ui_appContainers_topLeft 1 Declares the "topLeft" app container (top-left corner of the interface) with ui_appContainers. The UI trigger is setTopLeftAppVisibility. De
✍ ui_appContainers_topRight 1 Declares the "topRight" app container (top-right corner of the interface) with ui_appContainers, with the UI trigger setTopRightAppVisibilit
✍ ui_appLayouts 23 Manages the interface app layouts: reading, creating, copying, renaming, deleting and resetting *.uilayout.json files, as well as adding,
✍ ui_appSelector_general 31 Backend (backendName = "appSelector") of the interface's app selector, plugged into the generic GridSelector component. It lists the apps
✍ ui_apps 4 Catalog of installed interface apps (Vue/JS). getUIAppsData walks /ui/modules/apps/ looking for app.json, app.vue and the app..vu
✍ ui_apps_genericMissionData 4 Stores mission information lines (title, text, timer) sorted by category and sends them to the "genericMissionData" interface app via guihoo
✍ ui_apps_minimap_additionalInfo 6 Computes the extra information shown by the minimap: remaining distance to the destination (routePlanner of core_groundMarkers), place name
✍ ui_apps_minimap_layers 0 Numeric constants for the minimap's drawing layers. Layers are rendered from the lowest (0) to the highest: background, grid, roads, route,
✍ ui_apps_minimap_minimap 15 Minimap displayed in ImGui (API marked experimental by BeamNG). It draws into a texture the roads, the player, the other vehicles, the compa
✍ ui_apps_minimap_roads 2 Draws the roads of the navigation graph (map.getMap()) on the minimap. On the first call, it builds an array of segments (positions, color a
✍ ui_apps_minimap_route 2 Draws the navigation route (core_groundMarkers.routePlanner.path) and the destination pointer on the minimap. The route is a blue stroke on
✍ ui_apps_minimap_topomap 9 Topographic map of the minimap. Computes the level bounds from the navgraph nodes (map.getMap()), samples the terrain height on a grid (on
✍ ui_apps_minimap_utils 19 Shared utilities of the minimap: world / map coordinate conversion (affine transform recomputed at each setMinimapState), clamping within th
✍ ui_apps_minimap_vehicles 3 Draws the minimap's vehicle markers: the player (vehicle, pedestrian on foot or free camera) and the other active vehicles (traffic, parked
✍ ui_apps_missionControls 5 Manages the list of control hints shown by the missionControls interface app during a mission. Each hint is identified by a category, which
✍ ui_apps_pointsBar 5 Feeds the pointsBar interface app (points bar with thresholds). It keeps the point count and the thresholds (100, 200, 300 by default) and p
✍ ui_arrowGPS 7 Displays a 3D GPS arrow (TSStatic art/shapes/interface/s_mm_arrow_floating.dae) floating in front of the camera, at the location of the arro
✍ ui_arrowGPS.test 8 Unit tests of the ui_arrowGPS extension (floating on-screen GPS arrow). The file loads arrowGPS.lua in a simulated environment (fake TSStati
✍ ui_audio 5 Plays the interface sounds (audio channel "AudioGui") from the file ui/soundClasses.json. Each sound class contains events; a simple event p
✍ ui_bindingsLegend 22 Feeds the interface's "controls legend" app (bindings legend). It groups sets of actions (named by a label and ranked by priority) and sends
✍ ui_busRouteSelector_general 0 Grid selector backend of the "BusRoute" Vue wizard. Describes via a descriptor the levels that have bus routes (scenario_scenariosLoader.get
✍ ui_cameraDistanceApp 1 "Camera distance" debug UI app. Every frame, measures the distance between the player vehicle and the camera, pushes it to the UI via guihoo
✍ ui_console 12 "consoleNG" development console in ImGui ("beamng.consoleNG" window). It displays the game log (read every frame via Engine.getFrameLog) wit
✍ ui_credits 5 Plays the credits music (FMOD event "event:>Music>credits" on the AudioGui channel) with volume fades. Loading the extension starts the musi
✍ ui_extApp 4 Web/WebSocket server to display the game's interface on an external device (phone). On load, it starts via utils/wsUtils a server on port 80
✍ ui_fadeScreen 9 Screen fade to black driven from Lua. Sends the UI event "LoadingScreen" (active + fadeIn/pause/fadeOut/data parameters), sets the global FM
✍ ui_firstDrive_moveOff 10 "Start and drive off" tutorial of the First Drive experience. Once enabled, it follows player 0's vehicle (throttle, brake, clutch, gear, en
✍ ui_freeroamSelector_general 49 "freeroamSelector" backend of the grid selector (gridSelector): the screen where you choose a level and a spawn point for freeroam mode. It
✍ ui_frustumOffset 2 Shifts the camera frustum center (scenetree.OnlyGui:setFrustumCameraCenterOffset) so that the 3D view is recentered when UI panels cover par
✍ ui_gameBlur 4 Manages fullscreen blur rectangles drawn behind the interface (scenetree.ScreenBlurFX effect). The rectangles are stored in groups in M.blur
✍ ui_gamemodes_gamemodesTabProvider 10 Facade used by the UI's "game modes" tab. Depending on whether a multiplayer session exists (multiplayer_sessionManager.getCurrentSession()
✍ ui_gameplayScoreboard 11 Scoreboard data layer, independent of the source (local split screen or multiplayer network). Keeps the players' state (name, color, scores,
✍ ui_gameplaySelector_general 51 "gameplaySelector" backend of the grid selector: the screen that lists missions, scenarios, campaigns, quick-start experiences and rally sel
✍ ui_gameplaySelector_tileClustering 7 Groups the gameplay selector's items into "clusters" (by level, by type or automatically depending on the system) and builds the tile repres
✍ ui_gameplaySelector_tileGenerators_campaignTiles 2 Tile generator of the gameplay selector for campaigns (legacy system). It adds one tile per campaign returned by campaign_campaignsLoader.ge
✍ ui_gameplaySelector_tileGenerators_discoverTiles 3 Tile generator of the gameplay selector for "quick-start experiences" (quickStartExperiences system). It reads the pages and cards from game
✍ ui_gameplaySelector_tileGenerators_levelTiles 6 Tile generator of the freeroam selector: one tile per spawn point of each level in core_levels.getList(). It also builds a level's details p
✍ ui_gameplaySelector_tileGenerators_missionTiles 2 Gameplay selector tile generator for missions ("challenges" system). It adds one tile per mission from gameplay_missions_missions.getFilesDa
✍ ui_gameplaySelector_tileGenerators_scenarioTiles 2 Gameplay selector tile generator for scenarios (legacy system). It adds one tile per scenario returned by scenario_scenariosLoader.getList a
✍ ui_gameplaySelector_tileSorting 10 Centralized sorting of gameplay selector tiles. Provides four modes (Name, System, GameplayAutomatic, Date), the conversion of UI values ('n
✍ ui_gameplaySelector_tiles 2 Core of the "gameplaySelector" backend: it chooses which tiles to display according to the navigation path (all activities, detail of a syst
✍ ui_garage_routeLifecycleCallbacks 3 Lifecycle callbacks for the garage photo mode UI routes. For the "garage.photomode" routes (and "garage.photomode.*"), opens a photomode ses
✍ ui_gridSelector 31 Single facade between the UI (Vue) and the grid selectors (vehicles, gameplay, apps, freeroam, quick race, light runner, bus routes). Each c
✍ ui_gridSelectorRouteLifecycleCallbacks 3 Lifecycle callbacks of the UI routes for grid selector screens. On route entry or mount, it computes a snapshot (ui_gridSelector.getSelector
✍ ui_gridSelectorUtils_buttonModule 7 Small grid selector utility: manages a registry of action buttons. Each button gets an incremental numeric identifier and a callback; the UI
✍ ui_gridSelectorUtils_displayDataModule 13 Grid selector utility: manages display options (sorting, display filters, toggles...), the favorites list and the recent items list, with JS
✍ ui_gridSelectorUtils_filterModule 22 Grid selector utility: manages filter state ("set" value-set filters and "range" filters), the search text, filter locking and the computati
✍ ui_gridSelectorUtils_tilesModule 3 Grid selector utility: generic tile production engine. From a config (item -> tile converter, handlers per path type, grouping, sorting, dat
✍ ui_gridSelectorUtils_translateHelper 1 Lua-side translation helper for the grid selectors. Translates a key with _tr, resolves nested Angular-style expressions (`{{ 'key' | tran
✍ ui_legal 2 Checks whether the user has answered the online consent wizard (settings onlineFeatures and telemetry, value "ask" = not answered yet).
✍ ui_lightRunnerSelector_general 0 Grid selector backend for the LightRunner Vue wizard. It reuses the same levels/tracks as the quick race (scenario_quickRaceLoader): only th
✍ ui_liveries 4 UI livery editor (paint/decals) orchestrator. It relies on the editor API editor_api_dynamicDecals: on opening it stores the player vehicl
✍ ui_liveries_camera 15 Drives the livery editor camera: preset views around the vehicle (top, left, right, back, front), framing the camera on a decal's angle, and
✍ ui_liveries_decal 49 Lua-side logic of the livery editor's decals screen. It wraps editor_api_dynamicDecals: layer stack (list, selection, highlight, visibility,
✍ ui_liveries_fill 5 Manages the base fill layer ("fill layer") of a livery in the livery editor. It relies on editor_api_dynamicDecals to create or find the bot
✍ ui_liveries_paint 4 Reads and modifies the paint (RGBA color, metallic, roughness) of a livery editor layer, found by its uid in editor_api_dynamicDecals. It al
✍ ui_liveries_routeLifecycleCallbacks 20 Links the livery editor's UI routes (liveries, liveries.edit, liveries.edit.decals...) to Lua code. The UI router calls these Enter, Mount a
✍ ui_liveries_saves 11 Manages livery saves (dynamic decals editor) in settings/dynamicDecals/*.dynDecals.json. Allows listing, creating, renaming, deleting, savin
✍ ui_liveries_textures 7 Provides the livery UI with the catalog of dynamic decal textures, classified by tags (digit, gradient, letter, logo, noise, pattern, shape,
✍ ui_menuManager 10 Decides which UI route (ui_router) to display when the player opens, closes or toggles the menu: main menu, pause menu v2, garage, mission o
✍ ui_menuRouteLifecycleCallbacks 1 Small extension that links game events to UI navigation. Currently it contains only one hook: on entering photo mode, it opens the "pause.ph
✍ ui_messagesDebugger 4 ImGui debug window for on-screen messages ("Message" UI events). It lets you compose a message (text, category, icon, duration in seconds),
✍ ui_missionInfo 8 Manages the mission info window and the activity prompt ("activity accept") displayed in game. It stores the active buttons, sends the conte
✍ ui_multiseat_assignmentCache 3 In-memory cache of multi-seat (multiseat) assignments. It keeps a deep copy of the value passed to set and returns a copy to get, logging th
✍ ui_multiseat_freeroam 14 Manages the multi-seat session (split screen) in freeroam: choice of suggested vehicles, spawn plan (level positions, otherwise a group of n
✍ ui_multiseat_generalSettings 5 "general" settings provider of the multiseat settings window. It declares the fields: same vehicle for everyone, gather vehicles, reseat all
✍ ui_multiseat_multiseatConfiguration 24 Transactional model of the multi-seat configuration: which input devices (or platform-managed device groups) belong to which player/persona.
✍ ui_multiseat_multiseatSettings 32 Logic of the multi-seat settings screen (routes "pause.multiseatSettings" and "pause.multiseatSettings.vehicleSelector"). It collects the se
✍ ui_multiseat_multiseatVehicles 63 Manages the vehicles and profiles (personas) of players in multi-seat: choice of suggested vehicles, automatic colors close to the player's
✍ ui_oneshotRaceSelector_core 2 Common base of the ui_gridSelector back-ends for the three "oneshot race" selectors (quickraceSelector, lightRunnerSelector, busRouteSelecto
✍ ui_oneshotRaceSelector_quickRaceTrackDescriptor 1 gridSelector back-end descriptor shared by quickrace and lightRunner. Both draw their lists of levels and tracks from scenario_quickRaceLoad
✍ ui_options 2 Small GE-side utility for the layout of the Vue options menu. It reads which layout.json / layout.dev.json files exist in the user folder an
✍ ui_pause_actions 12 Pause menu action registry. It registers buttons (via ui/gridSelectorUtils/buttonModule) executable by id, handles the "save the career then
✍ ui_pause_camera 6 Automatic orbit camera of the pause menu: intended to switch the player's camera to orbit mode and make it rotate slowly around the vehicle
✍ ui_pause_features_homeRail 1 Builds the right-hand button rail of the pause menu home. Depending on the context (freeroam, career, mission, multiplayer, garage, freeroam
✍ ui_pause_photomode 6 Facade of the photo mode integrated into the pause menu. It contains no logic: it loads the eight ui_photomode_* modules (session, camera, s
✍ ui_pause_providers_missionObjectives 1 Pause menu data provider for the current mission's objectives. It simply returns the result of gameplay_missions_missionScreen.getPauseMissi
✍ ui_pause_providers_nearbyActivities 2 Pause menu provider for the "nearby activities" section. It reads the big map points of interest (freeroam_vueBigMap.getPoiData) and the lev
✍ ui_pause_providers_routeData_career 4 Pause menu data provider for the career screens: progression (digest and suggested APM missions), history (financial, gameplay, milestones,
✍ ui_pause_providers_routeData_common 6 Tools shared by the pause menu routeData providers: navigation by state sequence, button registration via ui_pause_actions, exit confirmatio
✍ ui_pause_providers_routeData_environment 5 Pause menu data provider for the Environment page: summary (weather, traffic, others), weather/time page, simulation page (gravity, speed) a
✍ ui_pause_providers_routeData_gamemodes 3 Pause menu data provider for multiplayer game modes: list of modes (GamemodesTab component), configuration of a mode (GamemodeSetupView) and
✍ ui_pause_providers_routeData_home 4 Provides the data of the pause menu home screen (route "pause"). Depending on the game mode (career, mission, multiplayer, freeroam, freeroa
✍ ui_pause_providers_routeData_multiplayer 4 Pause menu data provider for multiplayer: multiplayer home page (Session Settings / Game Modes / Manage Players buttons), session settings (
✍ ui_pause_providers_routeData_photomode 1 Pause menu data provider for the photo mode page. It returns the payload provided by ui_pause_photomode.getRoutePayload(), or failing that a
✍ ui_pause_providers_routeData_system 1 Pause menu data provider for the System page. It builds the button rail in three groups: topSystemButtons (Options, Mods, HUD, Statistics),
✍ ui_pause_providers_routeData_vehicle 10 Provides the data for the pause menu "vehicle" routes (pause.vehicle and sub-routes: combined configuration, packs, tuning, paint, save, con
✍ ui_pause_providers_trafficControls 2 Data provider for the pause menu "traffic controls" panel. It counts traffic vehicles (driving, parked, police, active/inactive) via gamepla
✍ ui_pause_providers_vehicleTabInteractions 18 Data and action provider for the "Vehicle" tab (and vehicle management) of the pause menu. It lists the spawned vehicles (excluding the on-f
✍ ui_pause_routeLifecycleCallbacks 9 Lifecycle callbacks of the "pause.*" routes of the new pause menu (Vue UI router). The router calls these hooks when the user enters, mounts
✍ ui_pause_vehicleConfigurationGuard 7 Exit guard for the pause menu's vehicle configuration screen. When the UI reports unapplied changes (setHasPendingChanges), any navigation a
✍ ui_pause_vehicleConfigurationOccupants 16 GE extension that feeds the "Occupants" tab of the vehicle configuration screen (pause menu). It lists the seats of the configured vehicle (
✍ ui_photomode_advancedRender 16 Advanced photo mode render settings: detail fineness (detailAdjust), terrain LOD scale, grass density, shadow quality, vehicle shadows, "las
✍ ui_photomode_camera 24 Photo mode camera: FOV, free camera speed, roll, exposure (auto or manual EV), smoothed movement, visibility of the NodeGrabber's fixed node
✍ ui_photomode_capture 26 Photo mode image capture: settings (supersampling, downscale level, HDR, capture with motion blur, extra scene/vehicle passes and normals/de
✍ ui_photomode_effects 11 Photo mode post-processing effects: depth of field (DOF, with autofocus), SSAO, specular occlusion, screen-space shadows, SSR reflections, m
✍ ui_photomode_flash 10 Photo mode flash settings. Keeps the flash state in memory (enabled, fire on capture, intensity, angle, hue, saturation) and passes it to th
✍ ui_photomode_overlays 13 Management of photo mode "overlays": image overlays (frames, watermarks, UI apps) described by a folder containing overlay.json, an optional
✍ ui_photomode_postFxPersistence 2 Disk save and reload of the photo mode post-processing effects state (depth of field, motion blur, specular occlusion, SSAO/SSR/reflections/
✍ ui_photomode_presets 12 Management of photo mode presets, of three types: camera, scene and effects. Each type is stored in a JSON file under settings/photomode/pre
✍ ui_photomode_preview 4 "Preview / playback" part of photo mode. It adds the full photo mode state (camera, scene, effects, advanced render, capture) and the preset
✍ ui_photomode_scene 13 Photo mode "scene" tab: reads and modifies the level's environment (time of day, date, clouds, fog, wind, north offset, celestial displays a
✍ ui_photomode_session 22 Photo mode session orchestrator. It opens and closes the session: simulation pause (pause request "ui_pause_photomode"), solo split-screen v
✍ ui_photomode_shared 20 Tool library and shared state of all photo mode modules (ui_photomode_*). It contains the session state table S, the debug log, normalizatio
✍ ui_photomode_speedCameraOverlay 1 Provides the data displayed by the photo mode "radar / speed camera" overlay: current map, place name, level time, player vehicle license pl
✍ ui_policeInfo 8 GE extension that feeds the police pursuit UI: it reads gameplay_police.getPursuitData every GUI frame and publishes the 'policePursuit' str
✍ ui_popup 13 GE extension that opens the UI tutorial popups (UI hook OpenTutorialPopup). A popup is described by a content folder (by default /gameplay/t
✍ ui_quickraceSelector_general 0 Backend of the grid selector of the "Quickrace" Vue wizard: exposes the list of levels and, for each level, its list of tracks. The module c
✍ ui_router 25 UI navigation router on the Lua side (ui_router). It orchestrates a "handshake" with the UI frameworks (Vue, Angular/legacy): route resoluti
✍ ui_router_config 0 Configuration constants of the UI router (ui_router): default main route, transition timeouts (flat for Angular/legacy, per phase for the Vu
✍ ui_router_constants 0 Shared constant tables of the UI router: transition states, navigation action types, guard results, framework actions, UI types filter, defa
✍ ui_router_debug 5 ImGui "Router Debugger" window to inspect the UI router: current route, pending route, breadcrumb, input field to navigate to a route or go
✍ ui_router_guards_default 3 Three "default" navigation guards of the router: navigation logging, blocking if the transition timeout is reached, blocking if a transition
✍ ui_router_guards_legal 0 Entry guard "onlineConsentSet": allows navigation to a route only if online consent has been given, i.e. if the onlineFeatures and telemetry
✍ ui_router_guards_multiseat 0 Exit guard "confirmMultiseatSettingsExit": when leaving the multi-seat settings screen, delegates the confirmation to ui_multiseat_multiseat
✍ ui_router_guards_photomode 0 Exit guard "confirmPhotomodeExit": prevents leaving photo mode without confirmation. It allows navigation if the target route is still withi
✍ ui_router_guards_vehicleConfiguration 0 Exit guard "confirmVehicleConfigurationCombinedExit": delegates to ui_pause_vehicleConfigurationGuard.confirmExit(route, params, context) th
✍ ui_router_lifecycleExecutor 3 Runs the lifecycle hooks of a route (onEnter, onMount, onLeave...) for the router. It resolves the function reference declared on the route
✍ ui_router_managers_breadcrumbManager 3 Builds a route's breadcrumb for the router. For a non-global route, it optionally adds a module decorator at the head, then one crumb per no
✍ ui_router_managers_frameworkManager 3 Outgoing bridge from the Lua router to the UI frameworks (Vue, Angular) via guihooks. It emits the route change events (start, end, cancella
✍ ui_router_managers_guardManager 5 Registry of the router's navigation guards. reloadGuards scans the lua/ge/extensions/ui/router/guards/ folder, loads each file and registers
✍ ui_router_managers_scopeManager 3 Manages the focus scopes of a UI route. A route declares a scope tree (scopeTree); this module determines the target scope of a navigation,
✍ ui_router_managers_transitionManager 22 Manages the lifecycle of the UI router's route transitions: a single transition at a time, transition session (progress milestones, phase, e
✍ ui_router_models_PendingTransition 6 "PendingTransition" data model: represents a navigation transition in progress {transitionId, action, toRoute, fromRoute, options}. Provides
✍ ui_router_models_ResolvedRoute 10 Builds the canonical navigation entry (NavigationEntry) used everywhere in the router: {request, resolved, origin, toRoute, fromRoute, route
✍ ui_router_navigationObserver 5 Non-shipping diagnostic of the router: attributes each navigate() call to the calling Lua module (walking up the stack ignoring "ui/router/"
✍ ui_router_navigationObserver.test 11 Unit tests of the non-shipping NavigationObserver module (duplicate_navigation / conflicting_navigation classification, caller attribution,
✍ ui_router_navigationProtection.test 15 Tests of the protected navigation lock (options.cancellable == false) of router.lua: acquisition, blocking at admission, retention between c
✍ ui_router_navigationState 25 State memory of the UI router: previous entry, current entry and pending entry, breadcrumb decorator state, and last active scope per route.
✍ ui_router_routeFailure.test 5 Tests of the transition failure contract of router.lua: routeMounted rejected before commit, routeChangeFailed rollback for an uncommitted n
✍ ui_router_routeHandlers 1 Registry of the routes' named back/exit handlers. A route whose back is in "handler" mode designates a name (for example garageExitHandler);
✍ ui_router_routeHandlers_careerExitHandlers 3 Back/exit handlers of the career screens, referenced by routeHandlers.lua: exit from profile selection, back in branch pages and exit from a
✍ ui_router_routeHandlers_mainMenuExitHandlers 1 Main menu exit handler.
✍ ui_router_routeHandlers_missionExitHandlers 3 Exit/back handlers of the mission and pause screens. When a mission start/end screen is active, they send back to the "mission.control" rout
✍ ui_router_routeHandlers_radialExitHandlers 1 Back handler of the radial menu (quick access).
✍ ui_router_routeHandlers_rootExitHandlers 1 Exit handler of the root routes (garage / menu).
✍ ui_router_routeManager 10 UI router route manager. It builds the route tree from the root registry (routes.lua), the modules in the routes/ folder (via include), th
✍ ui_router_routeManager.test 19 Unit tests of routeManager (resolution of relative route names, relative back targets, default value of uiNav). Game test file, of no dire
✍ ui_router_routeReference 4 Pure functions to decompose a decorated navigation reference of the form route[?key=value&...][:scope]. The route part may stay relative (
✍ ui_router_routeReference.test 20 Unit tests of routeReference (parsing "route?key=value:scope", URL decoding, merging of explicit and inline parameters) and of the propagati
✍ ui_router_routes 0 Root registry of the UI router routes: the single explicit entry point for registering top-level route families. Each { include = "name" }
✍ ui_router_routes_bigmap 0 Big map routes (Vue): "bigmap" screen (title Map) with a bigmapMenu sub-route. Gamepad navigation scope tree: bigmap-layout contains bigmap-
✍ ui_router_routes_busRouteWizard 0 Vue wizard for configuring a bus route (port of the old Angular busRoute module, kept next to "menu.busRoutes" behind a feature flag). Same
✍ ui_router_routes_campaign 0 Abstract "campaign" routes module (Vue, bars hidden). Its children (components, ui-apps-test, comic) actually have the screenIds "debug.comp
✍ ui_router_routes_career 0 Career mode routes (Vue): career computer (career.computer and its screens: vehicle inventory, part shopping, repair, tuning, painting, part
✍ ui_router_routes_debug 0 UI debug routes (Vue, bars hidden, abstract module): demo components, UI apps test, bulk async loader, tutorial highlight (see ui_tutorialHi
✍ ui_router_routes_decals 0 Route subtree of the livery decal editor (included by liveries.edit.decals). Add flow: decals -> camera (view choice) -> selector (decal gri
✍ ui_router_routes_default 0 Default, abstract routes module that defines the ui configuration of base screens: mapview (Angular), options (Vue, default infoBar), play
✍ ui_router_routes_firstDrive 0 Routes of the guided first drive (Vue): introduction, onboarding, arrival, completion, recovery, learning areas. Back is locked (`firstDrive
✍ ui_router_routes_freeroamLevels 0 Vue wizard to choose level/vehicle/options for freeroam mode, "level grid" root version. The hooks call freeroam_freeroamConfigurator.onWiza
✍ ui_router_routes_freeroamWizard 0 "Wizard" variant of the freeroam wizard: same flow as freeroamLevels (levels > level, vehicles > vehicle, options, multiplayer) but under th
✍ ui_router_routes_garage 0 Garage routes (Vue): overview, vehicle (selector, tuning and mirrors, paint, parts, configuration save), vehicle list, "mycars", photo mode
✍ ui_router_routes_global 0 Single-segment global routes (outside a module): onboarding, buttonLayout, play, /mainmenu. For a single-segment name, routeManager looks he
✍ ui_router_routes_legal 0 Legal routes (Vue, abstract): online consent wizard in three steps onlineFeatures -> telemetry -> confirmation, each step having the exit gu
✍ ui_router_routes_lightrunnerWizard 0 Vue wizard for configuring LightRunner mode (port of the old Angular lightrunner module). Same structure as quickraceWizard, oneshotRaceCore
✍ ui_router_routes_liveries 0 Livery editor routes (Vue): list (liveries), edit (liveries.edit), paint (liveries.edit.paint) and decals (includes the decals module). Hook
✍ ui_router_routes_menu 0 Main menu routes (Vue): game selectors (freeroam, quickrace, lightrunner, bus, scenarios, experiences, rally), levels, vehicles and configur
✍ ui_router_routes_mission 0 Mission routes (Vue, abstract): details (back via missionDetailsExitHandler), mission control (back pause; grid vehicle selector with gridSe
✍ ui_router_routes_mods 0 Mod manager routes (legacy Angular interface): local, downloaded, scheduled, repository, automation, automationDetails, details, all with a
✍ ui_router_routes_multiplayer 0 Multiplayer routes: host-options, settings and playerList (pause screens with ui_pause_routeLifecycleCallbacks hooks) and spectator (Vue, ho
✍ ui_router_routes_multiseat 0 Root route of multiseat mode (several players on one screen, Vue): "multiseat" screen (title ui.multiseat.title), exit via rootExit, UI navi
✍ ui_router_routes_options 0 Options routes (Vue): "options" root (fallback to menu via fallbackTarget) with infoBar without system info, and child category (screenId pa
✍ ui_router_routes_pause 0 Pause menu routes (Vue), the largest module: root pause screen (back via pauseExitHandler) with left/right/bottom rails, then system, hudApp
✍ ui_router_routes_quickraceWizard 0 Vue wizard for quick race (port of the old Angular quickrace module, separate from "menu.quickrace" so both can coexist behind a flag). The
✍ ui_router_routes_radial 0 Radial menu routes (Vue). The "radial" root calls core_quickAccess.endRouteHandoff on entry (ends the current route handoff, shows the menu
✍ ui_router_routes_scenario 0 Scenario end and start routes (Vue, abstract module): start, end, quickrace.end and chapter.end. Each screen has an action scopeTree with ba
✍ ui_router_routes_taxi 0 Taxi mode route (Vue): "taxi" screen, onEnter hook gameplay_taxi.onTaxiViewEnter, bars and uiApps hidden. No children.
✍ ui_router_routes_trackBuilder 0 Track builder route (Vue): "trackBuilder" screen (title ui.playmodes.trackBuilder), exit via rootExit, UI navigation disabled, hooks trackbu
✍ ui_router_runtimeRouteRegistry 3 Pure registry of runtime routes and parser of raw Vue routes, with no game-side effects. It turns a Vue route array into router configuratio
✍ ui_router_runtimeRouteRegistry.test 24 Unit tests of the runtime route registry (parsing of raw Vue routes, transactional validation, source precedence, added/removed/changed diff
✍ ui_router_services_navigationContext 2 Builds the UI router navigation context: a snapshot of the game state (career, garage, mission, scenario, multiplayer, multiseat, first driv
✍ ui_router_services_routeResolver 2 DEPRECATED UI router service: the main flow now builds NavigationEntries directly with ResolvedRoute.createEntry(). This module remains for
✍ ui_router_transitionRecovery.test 10 Targeted tests of the Vue startup recovery contract for the router: transition resent every second without limit (startup phase), acknowledg
✍ ui_router_utils 4 Small UI router utilities: detection and resolution of relative route names (Angular "^." and Vue "./", "../" styles), deep table merging an
✍ ui_tutorialHighlight 6 Manages the list of interface elements to highlight during a tutorial. Each element is identified by an id (string); the state (ids in order
✍ ui_uiMods 9 Provides the interface (Vue) with the list of UI mods, UI apps and image lists, and watches file changes to notify the UI live (hot reload).
✍ ui_uiNavi 17 Lua back-end of the interface navigation map (minimap, GPS). It sends the UI the positions of tracked vehicles, points of interest, missions
✍ ui_uiStateManager 7 Tracks the availability state of the interface frameworks ('vue' and 'angular') and chooses the initial screen. When both have announced uiR
✍ ui_vehiclePaint 4 Small "Metallic paint" imgui debug window to adjust the metallic paint parameters of the player's vehicle live (3 paints: metallic, roughnes
✍ ui_vehicleRadarApp 5 Lua part of the "vehicle radar" interface app (vehicle proximity radar). Every GUI frame, it selects the visible vehicles near the player ve
✍ ui_vehicleSelector_detailsInteraction 10 Facade of the vehicle selector's details panel. It assembles the specifications (ui_vehicleSelector_vehicleSpecifications) and the action bu
✍ ui_vehicleSelector_general 80 Central module of the vehicle selector ("vehicleSelector" backend of ui_gridSelector). It builds the UI data (models, configs, filters), man
✍ ui_vehicleSelector_tileClustering 6 Groups vehicle configurations into "clusters" (one tile per model or per brand + sub-model) for the vehicle selector grid, and builds each c
✍ ui_vehicleSelector_tileGrouping 5 Determines in which groups (grid sections) a vehicle config appears according to the selector's "Group by" mode: Type, Brand, Country, Confi
✍ ui_vehicleSelector_tileSorting 7 Tile sorting functions of the vehicle selector according to the "Sort by" mode: Name, Value, Years, Weight, Top Speed, Power, Weight/Power,
✍ ui_vehicleSelector_tiles 6 Builds the tiles displayed by the vehicle selector grid. It configures a tilesModule (ui/gridSelectorUtils/tilesModule) with three "paths":
✍ ui_vehicleSelector_vehicleMetadataEditor 1 Sketch of a vehicle metadata editor for the selector. The module is almost empty: its only function returns fixed values. Its reference in t
✍ ui_vehicleSelector_vehicleOperations 14 Vehicle selector actions: creates the "Spawn" and "Replace vehicle" buttons of a config, and the management buttons (save the config, clone,
✍ ui_vehicleSelector_vehicleSpecifications 5 Prepares the details panel of a selector vehicle: specification lists (performance, others), general specifications, icons (transmission, dr
✍ ui_visibility 8 Shows or hides the game interface: the web UI (CEF) and the imgui windows. Useful for screenshots, videos or tools. It stores the state in M
✍ util_asyncBulkLoader 19 Asynchronous loader for large datasets (vehicles, missions, gameplay selector, levels, career save profiles). Each loadXxx starts a job (cor
✍ util_autoAnnotation 6 Level editor tool: recursively walks the scene tree (MissionGroup) and the forest item dataset (ForestItemDataSet) to automatically set an a
✍ util_bakeTest 2 Internal development tool: after a mission starts, it runs the GPU material "baker" (bakeShapeMaterialsPBR) then the glTF export (exportShap
✍ util_booster 1 Tiny demo extension for a "booster" trigger: trigger(data) prints the received data, then should propel a vehicle upward via core_booster on
✍ util_calibrateESC 7 Internal tool for automated measurement of vehicles' stability control (ESC). It loads the level /levels/smallgrid/info.json, then for each
✍ util_compileImposters 5 Offline build tool: for a list of levels, starts each level in freeroam, waits for it to load then triggers imposter compilation (Engine.Ren
✍ util_compileMeshes 2 Offline build tool: compiles .dae (Collada) meshes into .cdae (faster loading) for the art/, assets/, vehicles/, levels/, content/ and /core
✍ util_configListGenerator 3 Generates random lists of vehicles (configs) from filters, used by gameplay systems that need vehicles for sale or traffic (career dealers,
✍ util_datastore 17 Generic persistent key/value store, with secondary indexes built on demand. Each "store" is registered under a name with a (unique) primary
✍ util_decalRoadsEditor 3 Debug visualization, dynamically loaded by the engine or the world editor: every frame, it draws the scene's AIPath objects (traffic paths)
✍ util_dependencyTree 1 Development tool that parses the content files of the 'levels/gridmap' level (*.level.json, *.material.json, *.datablock.json and *.meshes.j
✍ util_docCreator 2 Internal BeamNG tool to generate the JSON data and resources (images copied with a name based on the SHA1 hash) that feed the online documen
✍ util_export 7 Exports the player's vehicle in glTF 2.0 format (.gltf with JSON or binary .glb), or a keyframe sequence. It fetches the vehicle's GPU mesh
✍ util_followTheWhiteRabbit 2 Small easter egg (Matrix reference): once loaded, the extension creates a "neo" console context, activates it and displays a mini text adven
✍ util_forestGenerator 11 Utility to create, modify, list and delete objects of the forest (Forest system) of the loaded level: trees, bushes, rocks, etc. On load, it
✍ util_groundModelDebug 5 ImGui window for debugging and tuning ground models (friction, surface fluid, collision type). It can display in 3D, around the mouse pointe
✍ util_inputSystemUtils 2 Maintenance tools for inputmaps files (controller profiles in /settings/inputmaps/, JSON format). printStats counts the bindings and prints
✍ util_instancedLineRenderDemo 2 Technical demo of "instanced" line drawing in the debugDrawer (drawLineInstance, drawDot), which allows thick lines with an outline and roun
✍ util_jbeamStats 1 Computes statistics over all .jbeam files accessible to the game (including mounted mods): number of files, parts, lines, root parts (slotTy
✍ util_lawnMower 9 Lawn mower driven by JBeam props (GE side only). It searches each vehicle's parsed JBeam for props with the mowerRadius option and, while th
✍ util_logStreams 6 Small I/O utility to save and reread logged "streams" (vehicle data streams) in three formats in the user folder: loggedStreams.json, logged
✍ util_materialDebugViz 6 Material (PBR) debug visualizations for the editor and rendering tools. It defines 22 modes (none, quad overdraw, wireframe, mipmap level, b
✍ util_materialHotReload 2 Hot reload of *.materials.json and *.material.json files: when one of them is modified on disk, the extension rereads it (loadJsonMaterialsF
✍ util_nodeBeamExport 2 Minimal export of the player's vehicle: writes to a JSON file (.nbexport.json) the list of nodes (position and optional name) and beams (nod
✍ util_nodeStream 3 Local WebSocket server (127.0.0.1:8088, name "nodestream") that broadcasts the player vehicle's structure live to an external client (3D vie
✍ util_optickRollingCapture 1 "Rolling" capture for the Optick profiler. A first call to toggle() starts a recording that keeps only the last 20 seconds; a second call st
✍ util_photomode 1 Small photo mode module: lists the PNG overlay images available in ui/modules/photomode/ui-overlays (frames, watermarks) that the UI offers
✍ util_photomodeAttach 3 Attaches the free camera to the player's vehicle during photo mode: the camera keeps its offset relative to the vehicle and follows it every
✍ util_photomodeFlash 6 Photo mode flash: creates a spotlight (SpotLight, with shadows, not saved in the level) attached to the camera during photo mode, aimed at t
✍ util_procTrack 27 Procedural generator of gymkhana-style courses, used by track generation scenarios. From starting rectangles (params.startingRects), it spli
✍ util_rectangleGen 2 Graph generator by rectangle splitting, used for procedural circuit generation (see procTrack). From starting rectangles, it successively cu
✍ util_renderComponentsAPI 1 Small helper module for the render components UI: lists the color correction (LUT) PNG files present in art/postfx, usable for post-processi
✍ util_resaveMaterials 2 Migration tool for developers: loads old TorqueScript material files (materials.cs), then resaves them in the new (JSON) format via a Persis
✍ util_resolution 2 Helper to read and change the game window resolution via GFXDevice. getVideoModeSnapshot returns the current width, height and display mode;
✍ util_richPresence 39 Manages the game's "rich presence": the status shown in Steam (rich presence and Steam timeline), the UDS activity (startActivityByID) and t
✍ util_saveDynamicData 7 Internal automated tool: loads the "autotest" test level, then spawns each vehicle configuration (filterable by model or by .pc file) and ru
✍ util_screenshotCreator 9 Entry point of the internal vehicle thumbnail generation tool. This file is a facade: it declares all the util_screenshotCreator_* submodule
✍ util_screenshotCreator_capture 2 Capture submodule of the screenshotCreator tool: takes an off-screen capture of a vehicle from a given camera, via a dedicated render view (
✍ util_screenshotCreator_currentConfigThumbnail 3 Submodule of screenshotCreator that generates the thumbnail of a vehicle's current configuration. start() prepares an asynchronous capture:
✍ util_screenshotCreator_framing_configured 4 "Configured camera" framing mode of screenshotCreator: uses a custom camera saved in the vehicle's thumbnail configuration (per config, othe
✍ util_screenshotCreator_framing_isometric 3 "Fixed isometric" framing mode of screenshotCreator: places the camera at a fixed distance (15 m) from the vehicle's center, in the local di
✍ util_screenshotCreator_framing_legacy 4 "Legacy (pre-r186184)" framing mode of the screenshot creator: computes the camera position and orientation so that a vehicle fits in the im
✍ util_screenshotCreator_framing_procedural 5 "Procedural" framing mode (default mode) of the screenshot creator. From the vehicle's nodes, it computes the camera that makes the vehicle
✍ util_screenshotCreator_framingManager 14 Registry of the screenshot creator's framing modes. It collects the modes by broadcasting the onScreenshotCreatorCollectFramingModes hook (e
✍ util_screenshotCreator_job 17 Orchestrator of the vehicle thumbnail creator. It runs, in a coroutine driven by onPreRender, the complete loop: replace/place the vehicle,
✍ util_screenshotCreator_lightingSetup 7 Sets up the studio lighting for vehicle thumbnails and restores it afterwards. It finds in the scene (scenetree) the objects marked by the d
✍ util_screenshotCreator_modelSelection 5 "Models selection" tab of the thumbnail creation tool (ImGui): lists all vehicle models (core_vehicles.getModelList), grouped by type, with
✍ util_screenshotCreator_nodeOutpaint 31 Framing node "painting" tool for vehicle thumbnails. It lets you disable (or re-enable) vehicle nodes with a circular brush in the editor's
✍ util_screenshotCreator_settings 51 Settings and settings window of the screenshot/thumbnail creator. It keeps all the settings in ImGui pointers (getControls): output destinat
✍ util_screenshotCreator_shippedConfigs 3 Determines whether a vehicle model or configuration (.pc) is "shipped" with the game, i.e. not excluded by the deployment filter file /DevTo
✍ util_screenshotCreator_thumbnailCapturePipeline 3 Vehicle thumbnail capture chain used by the thumbnail composer (thumbnailComposerRun): replaces the vehicle with the desired configuration,
✍ util_screenshotCreator_thumbnailComposerRun 11 Execution engine of the "Thumbnail Composer" (v2): orchestrates a series of vehicle thumbnail captures for a calling UI (identified by owner
✍ util_screenshotCreator_thumbnailConfig 9 Reading and writing of a vehicle's thumbnail configuration (thumbnailConfig key): it is stored in /vehicles//info_.json for a
✍ util_screenshotCreator_thumbnailPaths 4 Computation of the vehicle thumbnail output paths for the thumbnail composer. All files go in vehicles// in .jpg format; a config'
✍ util_screenshotCreator_thumbnailTargets 8 Helper to build the list of thumbnail targets (model/config pairs) for the thumbnail composer. It validates the targets received from the UI
✍ util_screenshotCreator_ui 5 "Vehicle Screenshot Creator (WIP)" ImGui window of the vehicle thumbnail creator. It serves as a facade for the other util_screenshotCreator
✍ util_screenshotCreator_vehicleSetup 8 Physical setup of the vehicle before a thumbnail: replaces it at the starting point (first SpawnSphere of the level, otherwise a fallback po
✍ util_showroom 4 Small "showroom" utility: spawns on demand a garage prefab (art/prefabs/garage_simple.prefab) at the fixed position (0, 0, 1000) in the curr
✍ util_sortLines 2 Development tool that sorts, by "name" field, the sound JSON files of a level. These files contain one JSON object per line ("JSON lines" fo
✍ util_stepHandler 18 Executor of asynchronous step sequences ("steps") for scenarios and test scripts. You build a list of steps with the makeStepXxx functions (
✍ util_surfaceMaskWheels 22 Makes the player vehicle's wheels leave a trace in the "surface mask" (SurfaceMaskClipmap, a C++ object that keeps a dynamic mask of the ter
✍ util_terrainGenerator 19 Utility (still a work in progress according to the file comment) that generates a terrain block (TerrainBlock) from a height map: a Lua arra
✍ util_testExtensionProxies 3 Test extension of the ExtensionProxy system. On load, it creates 11 ExtensionProxyTester objects (id 0 to 10) and submits them as "event sin
✍ util_testJSONFilesSyntax 1 Diagnostic tool: on load, it walks the game's whole virtual file system (root '/') looking for *.jbeam, *.pc and *.json files, then decodes
✍ util_tileBake 3 Development-only tool: produces tile proxies for the distant city. It distributes each static mesh (TSStatic) and each large forest object o
✍ util_trackBuilder_basicBorders 1 Generator of the left and right borders of a Track Builder track segment. It contains a library of border profiles (regular, bevel, smoothed
✍ util_trackBuilder_basicCenters 2 Generator of the central surface (the roadway) of a Track Builder track segment. Three section profiles are defined: regular (curved surface
✍ util_trackBuilder_borderWallMesh 1 Generator for the side walls (left and right) of a Track Builder track segment. It defines a box-shaped wall profile (24 faces) and, dependi
✍ util_trackBuilder_cameraTransition 2 Small Track Builder utility that smoothly moves the free camera to a target position and rotation. It interpolates position (linear) and rot
✍ util_trackBuilder_ceilingMesh 1 Generator for the ceiling of a Track Builder track segment (useful for tunnels). It defines an inverted-U section profile (width 2, height 1
✍ util_trackBuilder_markers 19 Manages the Track Builder edit markers (bank, height, width, checkpoint, left and right walls, ceiling) and the interpolation of the values
✍ util_trackBuilder_materialUtil 4 Manages the eight material sets (letters A to H) of the Track Builder. Each letter corresponds to two scene materials, 'track_editor_<letter
✍ util_trackBuilder_meshes 0 Table of predefined cross-section profiles for the Track Builder: side walls, tilted walls and tubes. Each profile is a table {crossPoints,
✍ util_trackBuilder_multiTrackMerger 3 Builds the junction (intersection) mesh between several Track Builder track segments that meet at the same point. It takes the end of each s
✍ util_trackBuilder_obstaclePlacer 3 Places the obstacles of a Track Builder track. The predefined-shape obstacles (sharp1, sharp2, obstacle1, obstacle2: .dae files from the Gri
✍ util_trackBuilder_pieces 15 Geometric catalog of the Track Builder "pieces" (hex, square, free). Each function receives a piece's parameters and returns, from the previ
✍ util_trackBuilder_proceduralPrimitives 6 Simple shape generators for Track Builder obstacles: torus (ring), cylinder, cone, cube, bump and ramp. Each function returns a procedural m
✍ util_trackBuilder_quickraceSetup 2 Link extension between quick race mode (scenario) and the Track Builder: when a scenario is loaded, it unloads the tracks in place, loads th
✍ util_trackBuilder_segmentToProceduralMesh 6 Turns a Track Builder track segment into a ProceduralMesh object in the scene. It computes the local frame (nx, ny, nz) of each control poin
✍ util_trackBuilder_splineTrack 71 Core of the Track Builder (procedural track editor). The module keeps two levels of data per sub-track: subPieces (abstract description: lis
✍ util_vehicleRopeDebug 1 ImGui debug tool "Rope Visual Sandbox" for the player vehicle's visual ropes (rope visuals). It lists the ropes of `be:getPlayerVehicle(0).r
✍ util_windDebug 3 Visualizes the shared wind field: samples be:getWindAt() on a 21 x 21 grid of points spaced 5 m apart centered on the camera, and draws on
✍ util_worker 10 Offline task runner: reads a JSON file /work.json containing a list of work items ({type=..., ...}) and runs them one by one (compiling .d
✍ util_wsTest 3 Development tool: starts a web/WebSocket server (port 8083, "bng-test" protocol, page ./ui/entrypoints/util_wsTest/) listening on all addres
✍ vehicles_saveConfigUtils 3 Utilities for the vehicle configuration metadata editor (info_.json) when saving. Defines the list of editable fields (Description,

Common (GE + vehicle)

Modules (177)

Name Functions Summary
✍ cdefDebugDraw 0 FFI declarations (ffi.cdef) of the C++ debug drawing functions (BNG_DBG_DRAW_*): sphere, cylinder, line, text, square prism, filled triangle
✍ cdefGpuMesh 0 FFI declaration of the type gpuPrimitive_t (startIndex, indexCount, materialId: three uint32_t) describing a GPU mesh primitive. The other s
✍ cdefImgui 0 FFI declaration of the C callback function ImGuiInputTextCallbackLua(const void* data), used engine-side for ImGui text input callbacks call
✍ cdefMath 0 FFI declaration of the C structures __luaVec3_t {double x, y, z} and __luaQuat_t {double x, y, z, w}, which serve as the memory representati
✍ cdefs 0 Entry point grouping all common FFI declarations: it requires common/cdefDebugDraw, common/cdefImgui, common/cdefGpuMesh and common/cdefMath
✍ controlSystems 16 Provides two PID controllers: parallel form (newPIDParallel, gains kP/kI/kD) and standard form (newPIDStandard, kP with integral time tI and
✍ csvFile 7 Library for writing and reading CSV/TSV files. newCSV/newTSV create a writer (csvWriter) to which rows are added with add, then the file is
✍ delayLine 6 Generic delay line: each data packet pushed into the line comes out after the same delay. Originally created to simulate the time unburnt fu
✍ dequeue 17 Double-ended queue (deque): items can be added and removed at the front as well as the back. Library by Pierre Chapuis (MIT license in the h
✍ devUtils 0 Rarely needed development utilities, defined as global functions: running Lua code with print capture, analysis of a module's upvalues, JSON
✍ event 0 Small event class (delegates) exposed as the global Event. Create an object with Event.new(), subscribe functions with add, and trigger them
✍ extensions 33 Extension manager (global extensions, present in the GE VM and in the vehicle VM). It loads/unloads Lua modules as extensions, resolves th
✍ filters 67 Collection of stateful numeric filters (smoothing, low-pass/high-pass, spring, frequency detector, linear regression) used throughout the ve
✍ graphpath 44 Weighted road graph and pathfinding algorithms used by the AI and the navigator. newGraphpath() creates a graph (named nodes, bidirectional
✍ guihooks 11 Lua gateway to the HTML/JS interface (CEF). Allows triggering JS hooks on the UI side (guihooks.trigger) and sending high-frequency data str
✍ inputFilters 0 Defines global constants identifying the input filter type (keyboard, gamepad, direct, drift keyboard, AI) and the FILTER_NAME table that gi
✍ interpolateScatteredMap 7 2D interpolation over unstructured points using Delaunay triangulation (Bowyer-Watson). loadData builds the triangulation once; get(x, y) fi
✍ interpolatedMap 4 1D (linear) or 2D (bilinear) interpolation table on a regular or irregular grid. new() creates the object, loadData(inputData, opts) loads t
✍ introspection 1 Debug tool that walks _G and the standard modules (table, math, string, coroutine, os, io, debug, package) to list the functions of the clas
✍ jbeam_expressionParser 5 Evaluates JBeam expressions of the form "$=..." (computed values in jbeam files). The expression is transformed into Lua code (the '$=' pref
✍ jbeam_groups 1 Jbeam loading post-processing step for the "group" column/field of rows (nodes, beams, etc.). Converts each list group = {"a","b"} into a ta
✍ jbeam_interaction 1 Jbeam post-processing step that loads the *.interaction.json files (folder /vehicles/common/ then the vehicle folder) and merges their inter
✍ jbeam_io 11 Reading and caching of vehicles' .jbeam files. For each requested folder, parses each *.jbeam (JSON), normalizes the slots/slots2 sections t
✍ jbeam_links 3 Resolution of references between jbeam rows. In a jbeam file, a column whose name contains ':' (e.g. "id1:", "torqueArm:", or "links:") desi
✍ jbeam_loader 8 Main jbeam vehicle loader: orchestrates all the steps that transform the .jbeam files and the chosen configuration into a vehicle data "bund
✍ jbeam_materials 1 GE-side loading step that prepares a vehicle's dynamic material changes: (1) the jbeam glowMap section (materials that light up, with simple
✍ jbeam_optimization 2 Finalization steps of the jbeam data before sending to the physics. assignCIDs numbers each row of the "valid" sections with a continuous ci
✍ jbeam_partpacks 5 Management of "part packs": predefined sets of parts described in *.partpacks.json files in the vehicle folders (array of objects {path, fil
✍ jbeam_scaling 1 Jbeam post-processing step that applies the "scaleXxx" keys: for any numeric key named scale followed by a name (e.g. scaleNodeWeight), mult
✍ jbeam_sectionMerger 1 Merges jbeam sections together for backward compatibility: the triggers2 section is poured into triggers and rails2 into rails. The merged r
✍ jbeam_sections_assorted 1 Post-processing of two miscellaneous jbeam sections. (1) Engine section: builds engine.waterDamage.nodes by concatenating the node lists com
✍ jbeam_sections_camera 1 Processes the vehicle's jbeam camera sections (cameras, and the old camerasInternal/cameraExternal/camerasRelative/cameraChase). Migrates th
✍ jbeam_sections_colors 1 Applies the legacy body color from the vehicle configuration (vehicleConfig.colors, old format) to the vehicle object: colors[1] -> vehicleO
✍ jbeam_sections_events 1 Processes the jbeam interaction sections: events (input events, simply cleaned), triggers (3D box/sphere trigger zones created in the engine
✍ jbeam_sections_licenseplatesSkins 1 Processes two families of active parts: license plates and skins. A part with a slotType containing '_licenseplate' (or having licenseplateF
✍ jbeam_sections_meshs 1 Processes the jbeam sections that concern the vehicle's 3D meshes: triangles (physical collision triangles), props (rigid meshes attached to
✍ jbeam_sections_mirror 1 Processes the jbeam "mirrors" section. For each entry with a mesh field, registers the mirror in the engine (addMirror with mesh, idRef, id1
✍ jbeam_sections_nodeBeam 1 Processes the jbeam sections of the physical structure: nodes (computes the final position pos as a vec3 after the component's rotation/tran
✍ jbeam_sections_occupantFaces 5 Handles occupant faces (character heads). Loads, once, the parts of the 'skin_character_face' slot of the /vehicles/unicycle/ vehicle to bui
✍ jbeam_sections_occupantSlots 1 Processes the jbeam "occupantSlots" section (occupant seats). Normalizes each entry: id (id, name or table key), defaultPermissionMode (driv
✍ jbeam_sections_paints 1 Applies the vehicle paints: vehicleConfig.paints (or, failing that, vehicleConfig.colors converted by convertVehicleColorsToPaints) provides
✍ jbeam_sections_vropes 1 Processes the jbeam "vropes" section (simulated visual ropes, without physical beams). For each entry that has anchorAProp and anchorBProp (
✍ jbeam_sections_wheelTypes_hubWheels 1 Handler for the 'hubWheels' wheel type: a wheel with a hub separate from the tire, with air pressure simulated by pressurized beams between
✍ jbeam_sections_wheelTypes_hubWheelsTSI 1 Handler for the 'hubWheelsTSI' wheel type: a variant of hubWheels without hubcap. Ring of tire nodes + ring of hub nodes, tread, periphery,
✍ jbeam_sections_wheelTypes_hubWheelsTSV 1 Handler for the 'hubWheelsTSV' wheel type: a wheel with a separate hub WITHOUT simulated air pressure: the tire is linked to the hub by anis
✍ jbeam_sections_wheelTypes_monoHubWheels 1 Handler for the 'monoHubWheels' wheel type: a single-hub wheel. A tire ring (2 x numRays nodes) linked to the two axle nodes by sides and su
✍ jbeam_sections_wheelTypes_pressureWheels 1 Handler for the 'pressureWheels' wheel type: the most recent and most complete wheel model, with air pressure simulated by pressurized TRIAN
✍ wheels 1 Handler for the 'wheels' wheel type (jbeam wheels section): the simple wheel. From two axle nodes (node1, node2), it creates a ring of 2 x n
✍ wheels 2 Dispatcher for wheel construction when loading a jbeam vehicle. It goes through the vehicle's wheel sections (wheels, monoHubWheels, hubWhee
✍ jbeam_slotSystem 3 jbeam slot system: from the vehicle configuration (chosen parts), it recursively walks the slots (slots / slots2 sections) of the main part,
✍ jbeam_tableSchema 2 Interprets the jbeam tabular format: a section is a list whose first row is the column header and whose following rows are the data (e.g. ["
✍ jbeam_utils 11 Shared utility functions of the jbeam loader: adding nodes and beams to the vehicle under construction (maxIDs counters, options copy), addi
✍ jbeam_variables 5 Manages jbeam variables (range-type vehicle settings: geometry, alignment, etc.) and the substitution of '$...' in parts. It collects the va
✍ jbeamWriter 1 Variant of the 'pretty' JSON encoder that only indents (multi-line formatting) down to a certain depth, to write readable jbeam files. It is
✍ jit_p 2 LuaJIT's jit.p module (author Mike Pall, MIT license, copyright 2005-2026): simple interface to the low-overhead profiler built into LuaJIT
✍ jit_v 3 LuaJIT's jit.v module (Mike Pall, MIT license, 2005-2026): verbose mode of the JIT compiler. It prints one line per generated trace ([TRACE
✍ jit_vmdef 0 Generated file ("DO NOT EDIT") of LuaJIT: tables of internal names used by the jit.dump, jit.bc, jit.v modules and the profiler to display b
✍ zone 2 LuaJIT's jit.zone module (Mike Pall, MIT license, 2005-2026): hierarchical stack of named "zones" used by the profiler (jit.p with the z opt
✍ json_ast 6 JSON/SJSON parser that builds a lossless syntax tree (AST): every space, tab, line break, comment (// and /* */), delimiter, string and numb
✍ json 1 Thin wrapper around LuaJIT's string.buffer to read and write JSON/SJSON (https://github.com/Autodesk/sjson). json.decode reads text or a b
✍ json_test 17 Unit tests of BeamNG's json module (require('json')). Each testXxx(ctx) function receives a test context with assertEqual(a, b, message) and
✍ jsonDebug 1 Variant of ljson (pure-Lua SJSON parser) that, in addition to decoding, returns a list of warnings, notably duplicate keys with line number.
✍ jsonPrettyEncoderCustom 1 Customizable 'pretty' JSON encoder: sorts keys by weight (tableWeights), and lets a callback decide which tables are folded onto a single li
✍ kdtreebox2d 10 K-d tree for 2D boxes (xmin, ymin, xmax, ymax), hence 4 dimensions, allowing quick retrieval of all the elements whose box intersects a quer
✍ kdtreebox3d 9 K-d tree for 3D boxes (xmin, ymin, zmin, xmax, ymax, zmax), i.e. 6 dimensions. Allows quick retrieval of all the elements whose box intersec
✍ kdtreepoint3d 10 K-d tree for 3D points. Offers two kinds of queries: the points in a box (query / queryNotNested, iterators) and the nearest point to a give
✍ libs_LuLPeg_lulpeg 0 LuLPeg: third-party library (Pierre-Yves Gérardy, "Romantic WTF" license), a pure-Lua port of LPeg (Parsing Expression Grammars by Roberto I
✍ libs_LuaIRC_asyncoperations 7 Part of the third-party LuaIRC library (IRC client in Lua). Adds to the connection metatable irc._META the sending commands: raw message,
✍ libs_LuaIRC_handlers 0 Part of the third-party LuaIRC library (IRC client in Lua). Defines the global table irc.handlers (module "irc"): one handler per received
✍ libs_LuaIRC_init 11 Entry point of the third-party LuaIRC library (IRC client in Lua, adapted for BeamNG). Defines the global module irc (module "irc" form,
✍ libs_LuaIRC_set 4 Part of the third-party LuaIRC library. Module "irc.set": a set of IRC connections monitored together with socket.select. Allows managing se
✍ libs_LuaIRC_util 0 Part of the third-party LuaIRC library (IRC client). Module "irc": parsing of IRC protocol lines (parse), nicknames and prefixes (parseNick,
✍ libs_LuaJIT_vmdef 0 Generated LuaJIT file (jit.vmdef, "DO NOT EDIT"): tables of names used by the jit.* tools (dump, bc, v, profiler) to display bytecodes, IR i
✍ zone 2 LuaJIT's jit.zone module (Mike Pall, MIT license): hierarchical stack of named "zones", used by the LuaJIT profiler to label portions of cod
✍ libs_StackTracePlus_StackTracePlus 9 StackTracePlus: third-party library (Ignacio Burgueño, MIT license) that produces detailed Lua stack traces: guessed function names when the
✍ libs_binaryheap_binaryheap 15 binaryheap: third-party library (Lua binary heap, used notably by copas for its timers) implementing a binary heap (priority queue). Two fam
✍ libs_copas_copas 26 Copas 2.0.2: third-party library (Kepler Project) — "Coroutine Oriented Portable Asynchronous Services", a coroutine-based dispatcher for TC
✍ libs_copas_copas_ftp 2 FTP submodule of the third-party Copas library: identical to LuaSocket's socket.ftp, but uses asynchronous Copas sockets (copas.wrap). Defin
✍ libs_copas_copas_http 2 HTTP submodule of the third-party Copas library: full copy of LuaSocket's HTTP/1.1 client (Diego Nehab) modified to handle https, http/https
✍ libs_copas_copas_limit 5 Submodule of the third-party Copas library: limits the number of tasks run simultaneously. Each added task is scheduled right away if there
✍ libs_copas_copas_lock 3 Submodule of the third-party Copas library: lock (mutex) between Copas coroutines. A coroutine that requests an already-held lock yields unt
✍ libs_copas_copas_semaphore 5 Submodule of the third-party Copas library: counting semaphore for Copas coroutines. take requests resources (and waits if they are lacking)
✍ libs_copas_copas_smtp 1 SMTP submodule of the third-party Copas library: identical to LuaSocket's socket.smtp but with asynchronous Copas sockets. Defines copas.smt
✍ libs_copas_copas_timer 2 Submodule of the third-party Copas library: timers (one-shot or recurring) run in the Copas dispatcher. timer.new immediately arms a timer t
✍ libs_ezSVG_EzSVG 26 EzSVG: third-party library (Patrick Borgeat, 2012, taken over by BeamNG) to generate SVG files from Lua. You create elements (Circle, Rect,
✍ libs_inspect_inspect 9 inspect.lua 3.1.0: third-party library (Enrique García Cota, MIT license) that turns any Lua value into a readable string: sorted tables, in
✍ libs_lua_MessagePack_MessagePack 9 lua-MessagePack (François Perrad, MIT license, base version 0.5.1, adapted by BeamNG in 2022): MessagePack binary serialization. This versio
✍ epnf 9 lua-luaepnf: third-party library (Gerhard Lipp) that makes it easy to define LPeg grammars in an EBNF-like syntax, with an automatic syntax
✍ libs_lua_websockets_websocket 0 Entry point of the third-party lua-websockets library (Gerhard Lipp, MIT license), a pure-Lua WebSocket (RFC 6455) implementation. This modu
✍ bxor 0 Small compatibility layer for lua-websockets bit operations. If the 'bit32' library (Lua 5.2) exists, it is returned with rol/ror added as a
✍ client 0 WebSocket client backend selector of lua-websockets. Returns an empty table whose _index loads the module 'websocket/client' on dema
✍ libs_lua_websockets_websocket_client_copas 5 WebSocket client backend of lua-websockets for the cooperative 'copas' library (non-blocking sockets in coroutines). The module returns a co
✍ libs_lua_websockets_websocket_client_ev 7 Asynchronous WebSocket client backend of lua-websockets for the lua-ev event loop ('ev' module, not provided by the game). The module return
✍ libs_lua_websockets_websocket_client_sync 5 Synchronous (blocking) WebSocket client backend of lua-websockets, based on luasocket. The module returns a constructor function (also acces
✍ message_io 2 Functions common to the client_ev and server_ev backends of lua-websockets (lua-ev event loop): asynchronous buffered sending and reading/de
✍ libs_lua_websockets_websocket_frame 7 Encoding and decoding of WebSocket frames (RFC 6455) for lua-websockets: 7/16/64-bit length headers, client-side XOR masking, close frames (
✍ libs_lua_websockets_websocket_handshake 4 WebSocket HTTP/1.1 handshake (upgrade) for lua-websockets: building the client request, parsing headers, server-side validation and computin
✍ server 0 WebSocket server backend selector of lua-websockets. Returns a table whose __index loads 'websocket/server_copas' or 'websocket/server_ev' o
✍ libs_lua_websockets_websocket_server_copas 6 WebSocket server backend of lua-websockets for the cooperative 'copas' library. listen opens a luasocket server socket, performs the handsha
✍ libs_lua_websockets_websocket_server_ev 8 WebSocket server backend of lua-websockets for the lua-ev event loop ('ev' module, not provided by the game). listen accepts connections asy
✍ libs_lua_websockets_websocket_sync 5 Synchronous core of lua-websockets: extend(obj) adds to an object having sock_send, sock_receive, sock_close (and sock_connect on the client
✍ libs_lua_websockets_websocket_tools 7 Utilities of lua-websockets: reading/writing 8/16/32-bit big-endian integers, SHA-1 (via the 'crypto' library if present, otherwise a Lua im
✍ libs_luamqtt_mqtt_bit53 4 Fallback implementation of a few BitOp functions (lshift, rshift, bor, band) with Lua 5.3's native operators (<<, >>, |, &). Loaded by bitwr
✍ libs_luamqtt_mqtt_bitwrap 0 Wrapper around the bit module: directly returns require('bit') (BitOp) under Lua 5.1 or LuaJIT, require('bit32') under Lua 5.2, otherwise th
✍ libs_luamqtt_mqtt_client 30 MQTT client (3.1.1 or 5.0) from the luamqtt library. Handles connecting to a broker through a connector (luasocket by default), sending/rece
✍ luamqtt_VERSION 3 Entry point of the third-party luamqtt library (xHasKx, version 3.4.3 according to the _VERSION field), a pure-Lua MQTT 3.1.1 and 5.0 client
✍ libs_luamqtt_mqtt_ioloop 8 luamqtt I/O loop: runs several MQTT clients (and user functions) in the same thread, in non-blocking mode with a small network timeout, whic
✍ libs_luamqtt_mqtt_luasocket_copas 5 luamqtt network connector for luasocket combined with copas (cooperative I/O in coroutines). Same interface as the luasocket connector (conn
✍ connector 5 Default luamqtt network connector, based on luasocket. It manipulates a connection table 'conn' (host, port, sock, timeout) created by the M
✍ connector 5 luamqtt network connector for TLS connections: opens a TCP socket through the luasocket connector, then wraps it with ssl.wrap (luasec modul
✍ libs_luamqtt_mqtt_ngxsocket 5 luamqtt network connector for OpenResty/nginx (ngx.socket.tcp). Unusable in BeamNG: the file reads the global ngx at load time, which does n
✍ libs_luamqtt_mqtt_protocol 25 Generic building blocks of the MQTT protocol (shared by versions 3.1.1 and 5.0) of luamqtt: creating and reading integers, UTF-8 strings and
✍ libs_luamqtt_mqtt_protocol4 2 luamqtt implementation of the MQTT 3.1.1 protocol: packet construction (make_packet) and parsing (parse_packet). Loaded by client.lua when v
✍ libs_luamqtt_mqtt_protocol5 2 luamqtt implementation of the MQTT 5.0 protocol: packet construction (make_packet) and parsing (parse_packet), with properties and user prop
✍ libs_luamqtt_mqtt_tools 2 Two small luamqtt utilities: string-to-hexadecimal conversion and integer division. Used by protocol.lua and for debugging.
✍ libs_luaqrcode_qrencode 1 luaqrcode (Patrick Gundlach / speedata, BSD 3-clause license): pure-Lua QR code generator. It picks the smallest version (1 to 40) and the m
✍ libs_luasocket_ltn12 18 LTN12 1.0.3 (Diego Nehab, LuaSocket library): framework for processing data streams in chunks. Four concepts: sources (functions that return
✍ libs_luasocket_socket_ftp 13 LuaSocket FTP client (Diego Nehab), built on socket.tp and LTN12. Offers a high-level API (get, put, command) accepting an ftp:// URL or a p
✍ libs_luasocket_socket_headers 0 Canonical formatting table for header names (MIME/HTTP) of LuaSocket: maps a lowercase name to its usual form (e.g. 'content-type' -> 'Conte
✍ libs_luasocket_socket_http 9 LuaSocket HTTP/1.1 client (Diego Nehab): GET/POST requests, streamed bodies via LTN12, chunked transfer, redirects (up to 5), Basic authenti
✍ libs_luasocket_socket_mbox 8 LuaSocket mbox mailbox parser: splits an mbox file into messages, separates headers and body, interprets the headers and the sender address.
✍ libs_luasocket_socket_mime 2 Lua layer of the LuaSocket MIME module (Diego Nehab, RFC 2045-2049): base64 and quoted-printable encoding and decoding, line wrapping, line-
✍ libs_luasocket_socket_smtp 2 Third-party LuaSocket library (author Diego Nehab): SMTP client for sending e-mails. It attaches to the socket table as socket.smtp. It
✍ libs_luasocket_socket_socket 4 Third-party LuaSocket library (Diego Nehab): helper module on top of the native socket core. It adds connect4/connect6 (connection forced
✍ libs_luasocket_socket_tp 1 Third-party LuaSocket library (Diego Nehab): common subsystem of the SMTP/FTP text protocols ("Telnet-like Protocol"). connect opens a TCP
✍ libs_luasocket_socket_url 7 Third-party LuaSocket library (Diego Nehab), version "URL 1.0.3": parsing, building and resolving relative URLs according to RFC 2396. Usefu
✍ libs_lunajson_lunajson 0 Third-party library lunajson (fast pure-Lua JSON decoder/encoder). This file is the entry point: it creates a default decoder and encoder an
✍ libs_lunajson_lunajson_decoder 0 Third-party library lunajson: JSON decoder. The module returns a factory newdecoder(); each call creates an independent decoding context a
✍ libs_lunajson_lunajson_encoder 0 Third-party library lunajson: JSON encoder. The module returns a factory newencoder(); each call creates an independent context and return
✍ libs_lunajson_lunajson_sax 2 Third-party library lunajson: SAX-type (event-driven) JSON parser. You give it a table of callbacks; it calls them as it reads without build
✍ libs_lustach_src_lustache 0 Third-party library lustache (Olivine Labs, MIT license, version 1.3.1-0): Mustache template engine in Lua. This file is the entry point: it
✍ libs_lustach_src_lustache_context 4 Third-party library lustache: Mustache rendering context. A context wraps the current view (data table), keeps a link to the parent context
✍ renderer 9 Third-party library lustache: core of the Mustache engine. The renderer parses a template (parse) into a token tree (text, variables, #
✍ libs_lustach_src_lustache_scanner 4 Third-party library lustache: string scanner used by the template parser. It keeps the remaining "tail" of the string (tail) and the curre
✍ libs_resty_template 8 Third-party library lua-resty-template (version 1.9, designed for OpenResty/nginx but usable in pure Lua): template engine that converts tag
✍ libs_resty_template_html 0 Third-party library lua-resty-template: small HTML tag generator. html.name(attributes)(content) or html.name(content) produces `<name a
✍ libs_resty_template_microbenchmark 1 Third-party library lua-resty-template: engine micro-benchmark (parse, compile and execution time of a small template in a loop). Developmen
✍ libs_slaxml_slaxdom 2 Extension of SLAXML (third-party library by Gavin Kistner): adds to the SLAXML table a dom parser that builds a flat DOM (with nsPrefix, c
✍ libs_slaxml_slaxml 3 Third-party library SLAXML v0.8 (Gavin Kistner, MIT license): pure-Lua SAX-type XML parser with namespace handling. You pass it callbacks (p
✍ libs_timerwheel_timerwheel 6 Third-party library timerwheel (timer wheel, from the Kong/lua-resty ecosystem): timeout-type timers with O(1) insertion, cancellation and e
✍ libs_xlsxlib_tests_JUnitXMLWriter 1 JUnit XML test result writer for the xlsxlib tests. Builds a DOM (testsuites > testsuite > testcase, with a failure element for each failed
✍ libs_xlsxlib_tests_TestManager 2 Minimal unit test manager (Thomas Fischer, 2024) specific to the xlsxlib tests; it is the ancestor of testFramework/TestManager. It collects
✍ libs_xlsxlib_tests_tests 12 Unit tests of xlsxlib (Thomas Fischer, 2024). Each test loads test_input_1.xlsx, reads a sheet or a range and compares the result to the e
✍ libs_xlsxlib_xlsxlib 2 BeamNG library (Thomas Fischer, 2024) for reading Excel .xlsx workbooks. It opens the ZIP archive with the engine object ZipArchive, reads
✍ ljson 1 Old SJSON parser written in pure Lua (Lua 5.1), kept when json.lua switched to LuaJIT's string.buffer. It decodes Autodesk's SJSON format (e
✍ lpack 8 Fast serializer/deserializer of Lua values (tables, numbers, strings, booleans, vec3, quat) to compact strings, used to exchange data betwee
✍ luaBinding 0 Glue Lua for C++ <-> Lua bindings: the __luaBind* functions are the __index / __newindex that the C++ engine places on the metatables of the
✍ luaCore 0 Small base module loaded in both VMs, which adds language utilities used everywhere: require_optional, unrequire, rerequire, nop, and LuaJIT
✍ luaProfiler 5 Small Lua code-section profiler. You create a profiler with LuaProfiler(title), call p:start() at the beginning of a function, p:add('name')
✍ mathlib 135 Math library loaded in both VMs (GE and vehicle). It defines the types vec3 (x, y, z, doubles) and quat (x, y, z, w), their metamethods (+,
✍ mathlib_test 17 Unit tests of mathlib (vec3, quat, scalar helpers, curves, geometry, StackVec3/push3), to be run with testFramework/TestManager. Also contai
✍ _ 4 Loads lua/common/particles.json at startup (physical materials and particle rules between two materials) and prepares lookup tables: a list
✍ quadtree 11 2D quadtree for boxes (insertion, removal, query, compression). Unlike k-d trees, elements can be inserted and removed after construction, a
✍ impl 7 Read access to the game's settings from Lua (both VMs). At load it reads /settings/defaults.json (definitions: each setting is an array whos
✍ tcpServer 5 Non-blocking TCP server used by external tools (editing toolchain, scripts). Uses ASIO via createNetworkServer if available, otherwise LuaSo
✍ testFramework_ExtensionTest 2 Automatic test runner for the game's Lua extensions (folders /lua/common/extensions/ and /lua//extensions/). For each selected extension
✍ testFramework_JUnitXMLWriter 1 JUnit XML test result writer for testFramework/TestManager. Builds a DOM (testsuites > testsuite > testcase, with a failure element for each
✍ testFramework_MockGenerators 52 Mock data generators for extension tests (used by testFramework/ExtensionTest). Each generateMockData_<hook> function triggers the corresp
✍ testFramework_TestManager 5 The game's unit test manager (BeamNG GmbH, Thomas Fischer, 2024). It runs test functions grouped in a table (keys starting with "test", sort
✍ timeEvents 4 Small scheduler: lets you schedule the execution of a function in X seconds, like schedule(). You create an event list with require('timeE
✍ utils 8 Common toolbox (GE and vehicle) loaded at the startup of each Lua VM. This file does not return a table M: it directly defines hundreds of G
✍ utils_test 56 Unit tests of the global utility functions of utils (colors, strings, tables, JSON, serialization, copying, paths, sorted/shuffled iterato
✍ utils_calltracer 4 Profiling/diagnostic tool: using a debug.sethook hook on function calls, records who calls whom during a period, then exports the call graph
✍ utils_dateUtils 2 Small date utilities: conversion of an ISO 8601 string to a Unix timestamp and computation of the time elapsed since a date. Loaded with req
✍ utils_debugDraw 5 Fast wrapper (FFI) around the engine's debug drawing (BNG_DBG_DRAW_*). In the GE the calls are made in onPreRender(), on the vehicle side in
✍ utils_filterchain 12 Proof of concept of a functional 'filter chain': a chain is described by text strings like 'smooth(2)' or 'interval(0.1, 0.1)' that are comp
✍ utils_heatmap 4 Proof of concept: generates an SVG image (2048x2048) of the map's road network (map.getMap()) with a red dot per vehicle on each call of upd
✍ utils_httpJsonServer 2 Non-blocking mini HTTP server that replies in JSON, to quickly set up a local REST API (external tools, editors). Loaded with require('utils
✍ utils_interactiveShell 1 Interactive Lua console (REPL) for the console executable (console.x64.exe): require('utils/interactiveShell').start() reads lines from stan
✍ utils_languageMap 1 Mapping tables for languages: ISO 3166-1 country codes, ISO 639-1 language codes, and Weblate-specific codes (BeamNG's translation platform)
✍ perf 5 Small hook-based performance measurement library: while enabled, each Lua function call/return is timed, and per-function statistics are com
✍ utils_pixellib 17 Small in-memory pixel drawing library (8-bit RGBA buffer via FFI): points, lines, circles, rectangles, icons and text in the 'mini_font' bit
✍ ws 3 Non-blocking mini HTTP server that serves static files from a folder (with MIME type detection by extension and libs/resty/template template
✍ utils_simpleProfiler_report 1 Generates a profiling report from the engine's 'simpleProfiler' journal (global simpleProfilerGetJournal): an interactive HTML page (bar/fla
✍ utils_torqueScriptParser 1 Proof of concept of a parser (PEG parser, via libs/lua-luaepnf/epnf) for TorqueScript files: 'new/singleton/datablock' declarations, propert
✍ utils_wsUtils 1 Tools for the engine's WebSockets (BNGWebWSServer / BNGWSClient). Provides createOrGetWS, which creates (or retrieves) a WebSocket server an
✍ main 0 Entry point of the Lua virtual machine "objectpool" (vmType = 'objectpool'), which stores serialized vehicle objects (lpack) in an objPool

Extensions (11)

Name Functions Summary
✍ jbeam_jbeamMod 2 Example extension (file comment: "an example of how you could add things into jbeam loading") showing how to hook into the two JBeam loading
✍ networking_editorToolchain 6 TCP server (port 7000, all interfaces) that lets an external tool (JBeam editor, etc.) talk to the game. Clients send JSON commands (ping, i
✍ ui_flowgraph_editor 22 UI helper for the flowgraph editor (ui_flowgraph_editor). It integrates the node engine API (editor_api_luaintf), defines the colors/icons o
✍ ui_flowgraph_editor_api_luaintf 19 Lua interface layer to the C++ node editor (Engine.fge, an "imgui-node-editor" style graph editor). The file returns a function that receive
✍ ui_imgui 2 Extension ui_imgui: ImGui entry point for Lua modders. In the game VM (GE) it simply becomes the module ui/imgui_api (no wrapper); the hundr
✍ ui_imguiUtils 18 High-level ImGui toolbox (ui_imguiUtils): UI scale change, texture loading, dropdown menu buttons (DropdownButton/Selectable/Select), recurs
✍ ui_imguiWire 1 ImGui "cable" prototype: loads ui_imgui then replaces each ui_imgui function with a wrapper that, instead of calling ImGui, records the call
✍ ui_imgui_api 0 Internal module that assembles the ImGui API: creates the table M with the field ctx (global ImGui context) then injects the generated funct
✍ ui_imgui_custom_luaintf 34 Hand-written additions to the ImGui API (as opposed to imgui_luaintf.lua, which is generated). The file returns a function that receives the
✍ ui_imgui_luaintf 19 Generated file (about 2200 lines, ~485 functions) that exposes almost the entire Dear ImGui API in Lua as very thin wrappers over Engine.img
✍ ui_improfiler 1 LuaJIT profiler displayed in an ImGui window "LuaJIT Profiler". The first part of the file is Mike Pall's jit/p module (MIT, 2005-2017) adap

Console

Modules (17)

Name Functions Summary
✍ bananabench_async 0 Old version (0.4) of the bananabench test bench, asynchronous: benchPhysics runs in a coroutine driven frame by frame (coroutine.yield()
✍ bananabench_csv 0 Console VM script: runs the bananabench benchmark (bench.physics()) then writes the results in CSV format (columns Vehicle, Count, MBeams, R
✍ bananabench_json 0 Console VM script: sets stdout to line-buffered mode (so the parent process reads progress live), runs bananabench's bench.physics() then wr
✍ bananabench_print 0 Simplest console VM script: runs bananabench's bench.physics() and only keeps the text output (MBeams/s and % realtime table printed during
✍ bananabench_xml 4 Console VM script: runs bananabench on a fixed list of 9 vehicles (barstow, burnside, etki, fullsize, moonhawk, pessima, pickup, pigeon, pre
✍ bananabench 3 Vehicle physics test bench "bananabench" (version 0.5), run in the console VM (BeamNG without UI). It initializes a physics engine (initBeam
✍ benchphysics 0 Very old small physics scaling benchmark: for 0 to 8 vehicles, measures the average time per update over 1000 frames and writes the result t
✍ console_lib 3 Helper library of the console VM (BeamNG without the game): creates dummy Lua objects so that vehicle/physics code can run outside the full
✍ json_performance 0 Console benchmark script (outside the game): it compares the speed of JSON decoding, lpack encoding/decoding (text and binary) and string.bu
✍ main 0 Entry point of the "Console" Lua VM (used for command-line tools, outside the game). It sets package.path/cpath, loads extensions (paths lua
✍ resave_pcs 0 Console utility script that reopens and re-saves all vehicle configurations (*.pc) in the vehicles/ folder. For each vehicle, it spawns the
✍ servertests 0 Console mini script: it reloads lua/console/unittests via rerequire. The other lines (benchphysics, sp, ul) are commented out. No function o
✍ simpleload 0 Console test script: it deletes all objects (BeamEngine:deleteAllObjects) then spawns the vehicle vehicles/pickup at the origin (BeamEngine:
✍ simtest 0 Console benchmark script: it creates a pickup vehicle with newVehicle():spawn at (0, 0, 0.1), enables BeamEngine.enabled then measures, with
✍ test 0 Main console test file: it loads lua/console/benchphysics and defines two global test functions, loadOneVehicle (pickup spawn) and benchJSON
✍ test_dyncol 0 Console test script for dynamic collisions: deletes all objects, spawns a pickup at (0, 0, 0.1) then runs test(5000), i.e. 5001 steps of Bea
✍ unittests 0 Console unit tests for mathlib's vec3 type: correctness (constructor, tostring, operators + - * / and unary, equality) and performance (1000