RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Activity ManagerAudio Bank ManagerAudio Ribbon SystemBus Route ManagerCamera SystemCore Chat (IRC)Core CheckpointsCore Command HandlerCoupler Camera ModifierDevices (RGB Peripherals)Dynamic PropsEnvironmentFlowgraph ManagerForestFun StuffGame ContextGame StateGround Marker ArrowsGround MarkersHardware InfoHighscoresHotlappingInventoryJob SystemLap TimesLevelsLoad Map CommandMetricsMod ManagerMultiseatMultiseat CameraMulti SpawnOnlinePaths (Camera Paths)Quick Access (Radial Menu)Recovery PromptRemote ControllerReplayRepositoryRope Visual TestScheme Command ServerCore SnapshotCore SoundsCore TerrainTraffic SignalsTrailer RespawnVehicle Active PoolingVehicle Bridge (GE ↔ VLua Communication)Vehicle MirrorsVehicle PaintsCore VehiclesVehicle TriggersVersion UpdateWeather SystemWindows Console

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 Extensionscore

Game Context

Provides game context information for the UI, including mission state change notifications and WIP (Work In Progress) warning labels for experimental features.

Provides game context information for the UI, including mission state change notifications and WIP (Work In Progress) warning labels for experimental features.


Public API

FunctionSignatureDescription
M.getGameContext(...) → tableProxies to gameplay_markerInteraction.getGameContext(...). Loads the extension if not already loaded. Returns {} on failure.
M.toggleMenues()Placeholder/no-op function for menu toggle.
M.onAnyMissionChanged(state, mission)Hook: triggers onAnyMissionChanged guihook with state and mission ID.
M.getWIPWarningLabel() → string|nilReturns a localization key for experimental feature banners (rally stages, career mode) or nil if none applies.

WIP Warning Conditions

ConditionLabel Key
Active rally mission (unless banner hidden in settings)ui.rally.experimentalWarning
Career mode activeui.career.experimentalWarning
Neithernil

Usage Example

-- Check if a WIP warning should be displayed
local warning = core_gameContext.getWIPWarningLabel()
if warning then
  guihooks.trigger('ShowWIPWarning', warning)
end

See Also

  • Activity Manager - Related reference
  • Audio Bank Manager - Related reference
  • Audio Ribbon System - Related reference
  • Core Systems Guide - Guide

Fun Stuff

Provides sandbox "fun" actions accessible from the radial quick-access menu: vehicle destruction, physics forces, color randomization, random vehicles, and more.

Game State

Manages the high-level game state (freeroam, campaign, etc.), loading screen lifecycle, and main menu visibility. Coordinates between Lua systems and the UI layer during level transitions.

On this page

Public APIWIP Warning ConditionsUsage ExampleSee Also