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
Accumulator (Flowgraph Node)Ease (Flowgraph Node)Increaser (Flowgraph Node)Expression (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 Extensionsflowgraphnodesmath

Increaser (Flowgraph Node)

- **Node Name:** `Increaser`

Overview

  • Node Name: Increaser
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/math/increaser.lua

Tracks a running maximum. If the input value exceeds the stored internal value, the internal value is updated to match.

Pin Schema

Input Pins

PinTypeDescription
flowflowInflow for this node
clearflow (impulse)Resets the value back to the reset-value
valuenumberThe value to check against the internal maximum

Output Pins

PinTypeDescription
flowflowOutflow (passes through input flow)
changedflow (impulse)Fires when the internal value has increased
resultnumberThe current maximum value

Internals

FieldPurpose
self.data.currentValueThe tracked maximum value
self.data.resetValueValue to reset to (default 0)

Legacy Pin Mapping

Old NameNew Name
reset (in)clear

How It Works

  1. Each frame, if clear is triggered, the internal value resets to resetValue.
  2. If the input value exceeds currentValue, the internal value is updated and changed fires.
  3. The result output always reflects the current maximum.
  4. On execution stop, currentValue resets to resetValue.

Lua Example

-- Track the highest speed achieved during a mission
-- Connect vehicle speed → value pin
-- result pin shows the peak speed reached
-- clear pin connected to mission restart

Key Dependencies

  • ui_imgui - displays current value in the node editor
  • _flowgraph_createNode() - standard flowgraph node registration

Additional Methods

C:_executionStopped()

Called when graph execution stops. Used for cleanup.

C:drawMiddle(builder, style)

Custom ImGui drawing in the middle section of the node in the editor.

Parameters:

  • builder
  • style

C:init()

Initializes the node, setting up pins and default properties.

C:work()

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


See Also

  • Accumulator (Flowgraph Node) - Related reference
  • Ease (Flowgraph Node) - Related reference
  • Expression (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Ease (Flowgraph Node)

- **Node Name:** `Ease`

Expression (Flowgraph Node)

- **Node Name:** `Expression`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsLegacy Pin MappingHow It WorksLua ExampleKey DependenciesAdditional MethodsC:_executionStopped()C:drawMiddle(builder, style)C:init()C:work()See Also