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

Play Replay (Flowgraph Node)

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

Overview

  • Node Name: Play Replay
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/recording/playReplay.lua

Plays back a previously recorded replay file.

Pin Schema

Input Pins

PinTypeDescription
filenamestringThe replay filename (resolved relative to the flowgraph path)
playflow (impulse)Triggers replay playback

Output Pins

None.

Internals

  • Uses self.mgr:getRelativeAbsolutePath() to resolve the filename relative to the flowgraph's location.
  • Calls core_replay.loadFile(file) to begin playback.

How It Works

  1. When the play impulse fires, resolves the filename to an absolute path.
  2. If resolution succeeds, loads the replay file via core_replay.loadFile().
  3. Continues to check each frame (repeat_instant category) but only acts on the impulse.

Lua Code Example

-- Flowgraph wiring:
-- button/trigger → playReplay.play
-- playReplay.filename = "myReplay.rpl"
-- The replay file is resolved relative to the flowgraph's directory.

Key Dependencies

  • core_replay - replay system (loadFile)
  • self.mgr:getRelativeAbsolutePath() - path resolution

Additional Methods

C:work()

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


See Also

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

Update Display Drag Race (Flowgraph Node)

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

Record Camera (Flowgraph Node)

- **Node Name:** `Record Camera`

On this page

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