RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Gameplay AchievementGameplay CityDiscoverForce FieldGarage ModeMarker InteractionParking SystemGameplay Playmode MarkersGameplay PoliceGameplay RallyGameplay Rally LoopGameplay Raw POIsGameplay Skidpad TestSpeed Trap LeaderboardsSpeed Traps and CamerasGameplay StatisticsTaxi Ride SystemTraffic SystemVehicle PerformanceWalking
Rally Audio ManagerRally Camera Path PlayerRally ClientRally Cut CaptureRally EnumsRally Extension HelperRally GeometryRally ManagerRecce ManagerRecce AppRecce SettingsRally Settings ManagerSnap-to-RoadTraffic Exclusion ZonesRally UtilityRally Vehicle CaptureRally Vehicle Tracker
Rally Transcripts EntryRally Transcripts PathRally Transcripts Vehicle Snapshot

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 Extensionsgameplayrallytranscripts

Rally Transcripts Vehicle Snapshot

Lightweight class representing a single vehicle position/rotation snapshot within a transcript. Acts as a data holder for position, quaternion, steering angle, timestamp, and corner call.

Lightweight class representing a single vehicle position/rotation snapshot within a transcript. Acts as a data holder for position, quaternion, steering angle, timestamp, and corner call.


Constructor

local VehicleSnapshot = require('gameplay/rally/transcripts/vehicleSnapshot')
local snap = VehicleSnapshot(path, name, forceId)
ParameterTypeDescription
pathobjectParent path with getNextUniqueIdentifier()
namestring?Display name (defaults to "t_"..id)
forceIdnumber?Override auto-generated ID

Methods

MethodSignatureReturnsDescription
onSerialize()tableSerialize snapshot (returns oldId, name, text)
onDeserialized(data, oldIdMap)nilStub - deserialization fields are commented out

Fields

FieldTypeDescription
idnumberUnique identifier
namestringDisplay name
sortOrdernumberSort priority (default 999999)
posvec3?Vehicle position
quatquat?Vehicle rotation quaternion
steeringnumber?Steering angle
timestampnumber?Capture timestamp
cornerCallstring?Corner classification string

How It Works

This is a minimal data class used as part of the sorted list pattern. It stores raw vehicle telemetry captured during a recce recording session. The deserialization method is largely stubbed out (fields commented), suggesting this class is primarily used for in-memory data during recording rather than persistent storage.

local snap = VehicleSnapshot(parentPath, "snapshot_1")
snap.pos = vec3(100, 200, 50)
snap.quat = quat(0, 0, 0.7, 0.7)
snap.steering = -45.5
snap.timestamp = os.clockhp()
snap.cornerCall = "3R"

Notes

  • Implements the sortedList item interface (id, name, sortOrder, onSerialize, onDeserialized)
  • Deserialization is incomplete - this class appears to be a work-in-progress or used only for runtime data
FunctionSignatureReturnsDescription
M.init(path, name, forceId)nilinit

See Also

  • Rally Transcripts Entry - Related reference
  • Rally Transcripts Path - Related reference
  • Gameplay Systems Guide - Guide

Rally Transcripts Path

Class-based container managing a sorted list of transcript entries. Handles loading/saving transcript files and debug visualization of all entries.

Rally Utility Colors

Constants module defining all color values and visual parameters used throughout the rally editor and pacenote system. Colors are RGB float arrays `{r, g, b}` or ImGui `ImVec4` for UI elements.

On this page

ConstructorMethodsFieldsHow It WorksNotesSee Also