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

Rally Settings Manager

Loads and provides access to mission-level rally settings (notebook filename, selected codriver). Wraps the `MissionSettings` class for convenience.

Loads and provides access to mission-level rally settings (notebook filename, selected codriver). Wraps the MissionSettings class for convenience.


Exports

FunctionSignatureReturnsDescription
M.load(notebook)nilLoads mission settings for the notebook's mission directory
M.getMissionSettings()MissionSettingsReturns the currently loaded mission settings
M.loadMissionSettingsForMissionDir(missionDir)MissionSettings, stringLoads settings for a specific mission dir; returns nil + error on failure
M.ensureMissionSettingsFile--Referenced but implementation is commented out
M.reset--Referenced but implementation is commented out

How It Works

The module maintains a module-level missionSettings variable. Calling load(notebook) constructs a MissionSettings object using the path from rallyUtil.getMissionSettingsFile(notebook:getMissionDir()) and loads it.

The MissionSettings object tracks:

  • Selected notebook filename
  • Selected codriver name (which determines the language)
local SettingsManager = require('/lua/ge/extensions/gameplay/rally/settingsManager')

-- Load settings for a notebook
SettingsManager.load(notebook)

-- Access the loaded settings
local ms = SettingsManager.getMissionSettings()

-- Or load directly for a mission directory
local ms, err = SettingsManager.loadMissionSettingsForMissionDir(missionDir)

Note

Some exported functions (ensureMissionSettingsFile, reset) reference local variables/functions that are commented out, which would cause runtime errors if called. This module appears to be partially deprecated or in transition.


See Also

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

Recce Settings

Persists recce mode settings per-level: last loaded mission, load state, and corner call style. Stored as JSON at the rally settings root.

Snap-to-Road

Provides snap-to-road functionality in the world editor's rally editor. Wraps a driveline (linked list of points) with spatial queries, point partitioning, filtering, camera path playback, and debug v

On this page

ExportsHow It WorksNoteSee Also