RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
Advanced Wheel DebugAero DebugVehicle APIChassis DataCouplingsCruise ControlDrag AIDynamic Vehicle DataDyno ClientESC CalibrationESC MeasurementVehicle Extensions OverviewGameplay InterfaceGameplay StatisticInput AnalyzerMQTT Grafana DemoOdometerOutGaugeOutSimPerfect LaunchPerformance LoggerSimple Trip AppSkeletonStraight LineTelemetry LoggerUT RecorderVehicle Performance DataVehicle Stats Logger
Scenario AnnotateFunction FreezerShift Booster

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 Referenceveextensionsscenario

Function Freezer

Overrides and freezes specified vehicle controller functions during scenarios. Prevents certain vehicle behaviors from being modified while a scenario defines its own rules.

Overrides and freezes specified vehicle controller functions during scenarios. Prevents certain vehicle behaviors (like ESC mode, transmission mode) from being modified while a scenario defines its own rules, ensuring consistent gameplay.


Hooks

HookDescription
onExtensionLoadedBegins overriding controller.freeze with the scenario-aware replacement.
onExtensionUnloadedRestores controller.freeze to its original behavior.
onVehicleScenarioDataParses the scenario configuration JSON to determine which functions to freeze.

Usage Example

-- Loaded automatically by the scenario system
-- Scenario JSON defines what to freeze:
-- { "frozenFunctions": ["controller.setESCMode", "controller.setShiftMode"] }

See Also

  • Scenario Annotate — Scenario annotation markers
  • Shift Booster — Scenario-specific shift boost

Scenario Annotate

Adds annotation markers and labels to the vehicle during scenarios. Used to display waypoint indicators, objective markers, and instructional overlays.

Shift Booster

Applies a temporary speed boost when the player shifts gears during scenarios. Rewards well-timed gear changes with a brief forward impulse.

On this page

HooksUsage ExampleSee Also