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

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 Extensionsgameplayrally

Recce Manager

High-level manager for rally recce (reconnaissance) recordings. Coordinates loading driveline recordings and voice cut markers, then converts them into pacenote data for the notebook.

High-level manager for rally recce (reconnaissance) recordings. Coordinates loading driveline recordings and voice cut markers, then converts them into pacenote data for the notebook.


Constructor

local Recce = require('/lua/ge/extensions/gameplay/rally/recce')
local recce = Recce(missionDir)

Public API

FunctionSignatureReturnsDescription
C:loadDrivelineAndCuts()booleanLoads both driveline and cuts recordings
C:loadDriveline()booleanLoads driveline recording (position/orientation points)
C:loadCuts()booleanLoads cut markers and transcripts
C:drivelineAndCutsLoaded()booleanWhether both data sources are loaded
C:createPacenotesData(notebook)tableConverts cuts into pacenote import data
C:drawDebugRecce(drawLabels, mouseInfo)nilDebug draws driveline and cuts
C:drawDebugCuts()nilDebug draws cut markers as 3D car shapes
M.init(missionDir)nilinit
M.drawLittleCar(pos, quat, txt)nildrawLittleCar

How It Works

Data Sources

  1. Driveline: Timestamped position/orientation points recorded during a recce run, loaded via drivelineRecording.load() → returns a PointList
  2. Cuts: Waypoint markers where the co-driver made voice recordings, loaded via cutsRecording.load() → includes transcript text from speech-to-text

Pacenote Import Flow (createPacenotesData)

  1. Creates a Snaproad from the driveline for snap-to-road functionality
  2. Iterates through cuts in order
  3. For each cut:
    • Snaps the cut position to the closest snaproad point → corner end (CE)
    • Calculates corner start (CS) by walking backwards on the snaproad
    • Handles edge cases (first point, duplicate positions)
    • Merges duplicate cuts (same CE position) by concatenating transcript text
  4. Returns array of pacenote data objects ready for notebook import

Pacenote Data Structure

{
  name = "Import_1 42",
  notes = { english = { note = "left 3 over crest" } },
  metadata = {},
  oldId = 42,
  pacenoteWaypoints = {
    { name = "corner start", pos = vec3(...), radius = 20, waypointType = "cornerStart", ... },
    { name = "corner end",   pos = vec3(...), radius = 20, waypointType = "cornerEnd", ... }
  }
}

Debug Visualization

Draws cuts as 3D car shapes (square prisms with wheel spheres) in teal, with transcript text displayed above each car.

-- Load and import recce data
local recce = Recce(missionDir)
recce:loadDrivelineAndCuts()

if recce:drivelineAndCutsLoaded() then
  local pacenotes = recce:createPacenotesData(notebook)
  -- pacenotes can be imported into the notebook
end

See Also

  • Rally Audio Manager - Related reference
  • Rally Camera Path Player - Related reference
  • Rally Client - Related reference
  • Gameplay Systems Guide - Guide

Rally Manager

Central runtime manager for a rally stage. Coordinates the notebook, driveline route, audio manager, vehicle tracker, and pacenote queue during gameplay.

Recce App

Extension that manages the recce (reconnaissance) mode UI and recording workflow. Handles mission loading, vehicle navigation, driveline/voice recording, and communication with the CEF recce app.

On this page

ConstructorPublic APIHow It WorksData SourcesPacenote Import Flow (createPacenotesData)Pacenote Data StructureDebug VisualizationSee Also