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
Play Replay (Flowgraph Node)Record Camera (Flowgraph Node)Record Replay (Flowgraph Node)Start Auto Replay (Flowgraph Node)Stop Auto Replay (Flowgraph Node)Stop Replay (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 Extensionsflowgraphnodesrecording

Start Auto Replay (Flowgraph Node)

- **Node Name:** `Start Auto Replay`

Overview

  • Node Name: Start Auto Replay
  • File: extensions/flowgraph/nodes/recording/startAutoReplay.lua

Stops any current recording and starts a new one using the mission replay module. Also starts AI recording and replay if the AI recording module is available.

Pin Schema

Input Pins

PinTypeDescription
startNewRecflow (impulse)Stops the current recording and starts a new one

Output Pins

None.

Internals

  • Uses self.mgr.modules.missionReplay for replay management.
  • Uses self.mgr.modules.aiRecording (optional) for AI recording/replay.

How It Works

  1. When the impulse fires, calls missionReplay:startNewRec() to cycle the recording.
  2. If aiRecording module exists, also calls:
    • aiRecording:startAiRecording() - begins recording AI vehicle data.
    • aiRecording:startAiReplay() - begins AI replay playback.

Lua Code Example

-- At mission start or attempt restart:
-- missionBegin → startAutoReplay.startNewRec
-- This automatically manages replay recording for the mission system.

Key Dependencies

  • self.mgr.modules.missionReplay - startNewRec()
  • self.mgr.modules.aiRecording - optional AI recording module

Additional Methods

C:work()

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


See Also

  • Play Replay (Flowgraph Node) - Related reference
  • Record Camera (Flowgraph Node) - Related reference
  • Record Replay (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Record Replay (Flowgraph Node)

- **Node Name:** `Record Replay`

Stop Auto Replay (Flowgraph Node)

- **Node Name:** `Stop Auto Replay`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua Code ExampleKey DependenciesAdditional MethodsC:work()See Also