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 Path

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

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


Constructor

local TranscriptPath = require('gameplay/rally/transcripts/path')
local path = TranscriptPath(fname)
ParameterTypeDescription
fnamestringFile path for the transcripts JSON file

Methods

MethodSignatureReturnsDescription
getNextUniqueIdentifier()numberReturns next auto-increment ID
load()boolLoad transcripts from self.fname
save()nilSave transcripts to self.fname
onSerialize()tableSerialize all transcripts
onDeserialized(data)nilDeserialize from data
drawDebug(selected_id)nilDraw all transcript entries in 3D

Internals

  • transcripts: A sortedList of transcripts/entry objects
  • _uid: Auto-incrementing unique identifier counter
  • _draw_debug_hover_tsc_id: ID of currently hovered transcript for highlight drawing
  • selection_sphere_r: Hover detection radius (default 4)

Dependencies

  • gameplay/rally/util/colors - color constants
  • gameplay/rally/util - utility functions
  • gameplay/util/sortedList - ordered list management
  • gameplay/rally/transcripts/entry - individual entry class

How It Works

  1. Initializes with a sortedList that manages transcript entries
  2. load() reads a JSON file and deserializes all transcript entries
  3. save() serializes and writes the current state back to JSON
  4. drawDebug() iterates all sorted transcripts, passing hover/selection state to each entry for 3D visualization
-- Load and display transcript data
local tPath = TranscriptPath('/path/to/transcripts.json')
if tPath:load() then
  log('I', '', 'Loaded ' .. #tPath.transcripts.sorted .. ' transcripts')
  tPath:drawDebug(selectedId)
end

-- Save after modifications
tPath:save()

Notes

  • The file format is a JSON object with a transcripts key containing the sorted list data
  • Hover detection (_draw_debug_hover_tsc_id) is set externally by the rally editor UI

Public API

FunctionSignatureReturnsDescription
M.init(fname)nilinit
M.drawDebugTranscripts(selected_id)nildrawDebugTranscripts

See Also

  • Rally Transcripts Entry - Related reference
  • Rally Transcripts Vehicle Snapshot - Related reference
  • Gameplay Systems Guide - Guide

Rally Transcripts Entry

Class-based object representing a single transcript entry in the rally editor. Stores vehicle position/rotation data, speech-to-text results, and capture data for pacenote corner analysis. Provides de

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.

On this page

ConstructorMethodsInternalsDependenciesHow It WorksNotesPublic APISee Also