RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Freeroam Big Map MarkersFreeroam Big Map ModeFreeroam Big Map POI ProviderFreeroam Crash Cam ModeFreeroam Crash Cam Mode LoaderFreeroam Drag RaceFreeroam FacilitiesFreeroamFreeroam ConfiguratorFreeroam Gas StationsFreeroam Level StatsFreeroam OrganizationsFreeroam Special TriggersFreeroam Vue Big Map
Freeroam Configurator Options

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 ExtensionsfreeroamconfiguratorOptions

Freeroam Configurator Options

Provides default freeroam configuration options for traffic and time-of-day settings. Responds to the freeroam configurator's option gathering and application hooks.

Provides default freeroam configuration options for traffic and time-of-day settings. Responds to the freeroam configurator's option gathering and application hooks.


Hooks

HookSignatureDescription
M.onFreeroamConfiguratorGetOptions(level, options)Populates traffic and time-of-day option groups
M.onFreeroamConfiguratorApplyOptions(options)Applies selected options to freeroam_freeroam.spawningOptionsHelper

Options Provided

Traffic (order 100)

Key: traffic_trafficMode

ValueDescription
disabledNo traffic
parkedOnlyParked vehicles only
enabledNormal traffic + parked
policeTraffic + police (25% ratio) + parked

Disabled with a notice if the level doesn't support traffic.

Time of Day (order 200)

Key: environment_timeOfDay - Uses level-defined time-of-day presets from core_levels.getTimeOfDayOptions().

Key: environment_timePlay - Time progression speed: disabled, slow, normal, fast.

Disabled with a notice if the level has no time-of-day options.


How It Works

  1. onFreeroamConfiguratorGetOptions checks level.supportsTraffic and available time presets
  2. Builds select-type option UI structures with labels, icons, and values
  3. onFreeroamConfiguratorApplyOptions maps UI selections to spawningOptionsHelper fields
  4. Traffic mode police sets both traffic enabled + police ratio of 0.25

Usage Examples

-- Options are gathered automatically via hook
local options = {}
extensions.hook("onFreeroamConfiguratorGetOptions", level, options)

-- Options are applied via hook before freeroam starts
extensions.hook("onFreeroamConfiguratorApplyOptions", {
  traffic_trafficMode = "enabled",
  environment_timeOfDay = "sunset",
  environment_timePlay = "slow"
})

Notes

  • Uses translateHelper for localized labels
  • Part of the modular freeroam configurator system - additional option providers can be added in configuratorOptions/

See Also

  • Freeroam Guide - Guide

Freeroam Vue Big Map

M.dependencies = {'gameplay_missions_missions','freeroam_bigMapMode', 'gameplay_rawPois'}

Freeroam Facilities Fuel Price

Manages fuel price display on gas station 7-segment signs. Reads price configuration from facility data, applies randomness, and renders prices via TSStatic shape swapping.

On this page

HooksOptions ProvidedTraffic (order 100)Time of Day (order 200)How It WorksUsage ExamplesNotesSee Also