RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
ARunForLife (Flowgraph Node)Clear Lights Drag Race (Flowgraph Node)Countdown Lights Controller (Flowgraph Node)Get Custom Vehicle Data (Flowgraph Node)Get Mission Setup Data (Flowgraph Node)Check Players Position / Go To Start Line (Flowgraph Node)KnockAway Check (Flowgraph Node)Lights Controller (Flowgraph Node)Mission Post Clean (Flowgraph Node)Mission Cleanup / Pre Clean (Flowgraph Node)Prepare Vehicle (Flowgraph Node)Remove Stashed Player Vehicle (Flowgraph Node)Select Garage Vehicle (Flowgraph Node)Select Garage Sites / Zones (Flowgraph Node)Select Garage Spots (Flowgraph Node)Select Heist Spots (Flowgraph Node)Set Stage Lights (Flowgraph Node)Update Display Drag Race (Flowgraph Node)

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

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

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodesmission

Update Display Drag Race (Flowgraph Node)

- **Node Name:** `Update Display Drag Race`

Overview

  • Node Name: Update Display Drag Race
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/mission/UpdateDisplayDragRace.lua

Updates the physical digit displays (time and speed) for drag race missions. Swaps 3D display models to show numeric digits.

Pin Schema

Input Pins

PinTypeDescription
flowflowInflow for this node
resetflow (impulse)Resets the display and re-initializes digit references
timenumberFinish time of the player's vehicle
velocitynumberVelocity of the player's vehicle (m/s)
sidestringWhich side to update: 'l' (left) or 'r' (right)

Output Pins

PinTypeDescription
flowflowOutflow for this node

Internals

FieldPurpose
self.leftTimeDigits / self.rightTimeDigitsArrays of 5 scene objects for time display
self.leftSpeedDigits / self.rightSpeedDigitsArrays of 5 scene objects for speed display

How It Works

  1. Reset: Finds scene objects named display_time_N_l/r and display_speed_N_l/r (N = 1–5) and stores references.
  2. Display Update: Formats time to 3 decimal places and speed to 2 decimal places.
  3. Each digit is mapped to a 3D model: art/shapes/quarter_mile_display/display_N.dae where N is the digit (or empty for leading zeros).
  4. Speed is converted from m/s to mph by multiplying by 2.237.
  5. The side pin selects which set of displays to update (left or right lane).

Lua Example

-- Scene objects must exist in the level:
-- display_time_1_l through display_time_5_l (left lane time)
-- display_speed_1_l through display_speed_5_l (left lane speed)
-- Same pattern with _r suffix for right lane

-- Time "9.123" → digits: "empty", "9", "1", "2", "3"
-- Speed "123.45" → digits: "1", "2", "3", "4", "5"

Key Dependencies

  • scenetree.findObject() - locates display digit scene objects by name
  • 3D models at art/shapes/quarter_mile_display/display_*.dae
  • _flowgraph_createNode() - standard flowgraph node registration

Additional Methods

C:_executionStarted()

Called when graph execution starts. Used for initialization/reset.

C:insertDigits()

Node method.

C:postInit()

Called after initialization is complete for additional setup.

C:updateDisplay(side, finishTime, finishSpeed)

Node method.

Parameters:

  • side
  • finishTime
  • finishSpeed

C:work()

Main work function called each frame/tick when the node is active.


See Also

  • ARunForLife (Flowgraph Node) - Related reference
  • Clear Lights Drag Race (Flowgraph Node) - Related reference
  • Countdown Lights Controller (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Set Stage Lights (Flowgraph Node)

- **Node Name:** `Set Stage Lights`

Play Replay (Flowgraph Node)

- **Node Name:** `Play Replay`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua ExampleKey DependenciesAdditional MethodsC:_executionStarted()C:insertDigits()C:postInit()C:updateDisplay(side, finishTime, finishSpeed)C:work()See Also