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
Cuts RecordingDriveline Recording

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 Extensionsgameplayrallyrecce

Cuts Recording

Loads recce cut recordings and their associated speech-to-text transcripts from JSONL files. Cuts are waypoint markers where the co-driver made voice recordings during reconnaissance.

Loads recce cut recordings and their associated speech-to-text transcripts from JSONL files. Cuts are waypoint markers where the co-driver made voice recordings during reconnaissance.


Exports

FunctionSignatureReturnsDescription
M.load(missionDir)table[]Loads cuts with attached transcripts; returns empty array if no file

How It Works

Load Flow

  1. Loads transcripts from the transcripts JSONL file (indexed by cutId)
  2. Loads cuts from the cuts JSONL file
  3. For each cut, converts pos to vec3 and quat to quat
  4. Attaches matching transcript data (text with word normalization applied)
  5. Returns array of cut objects

Cut Object Structure

{
  id = 1,
  pos = vec3(...),       -- world position where cut was recorded
  quat = quat(...),      -- vehicle orientation at recording
  transcript = {
    error = nil,         -- error from speech-to-text (if any)
    text = "left 3",     -- normalized transcript text
  }
}

File Locations

  • Cuts file: rallyUtil.cutsFile(missionDir) - JSONL format
  • Transcripts file: rallyUtil.transcriptsFile(missionDir) - JSONL format

Dependencies

  • rallyUtil - file path helpers
  • jsonlUtils - JSONL line-by-line parser
  • normalizer - word replacement/normalization for transcripts
local cutsRecording = require('/lua/ge/extensions/gameplay/rally/recce/cutsRecording')
local cuts = cutsRecording.load(missionDir)
-- Returns array of cut objects with pos, quat, and transcript

See Also

  • drivelineRecording - Recorded Driveline Loader - Related reference
  • Gameplay Systems Guide - Guide

Notebook Tests

Unit tests for notebook structured data serialization and deserialization. Validates that structured pacenote fields survive round-trip save/load.

Driveline Recording

Loads a recorded driveline file from a recce run and returns a `PointList`. A driveline is a series of timestamped position/orientation points captured during reconnaissance driving.

On this page

ExportsHow It WorksLoad FlowCut Object StructureFile LocationsDependenciesSee Also