RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
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

Fun Stuff

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

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


Public API - Destruction

FunctionSignatureDescription
M.breakAllBreakgroups()Breaks all breakgroups on the player vehicle.
M.breakHinges()Breaks all hinges on the player vehicle.
M.deflateTires()Deflates all tires.
M.deflateRandomTire()Deflates one random tire.
M.igniteVehicle()Sets the player vehicle on fire.
M.extinguishVehicle()Extinguishes fire on the player vehicle.
M.explodeVehicle()Creates a temporary gravity well under the vehicle + triggers explosion and breakgroups.

Public API - Forces

FunctionSignatureDescription
M.flingUpward()Applies +15 m/s upward velocity to the player vehicle.
M.flingDownward()Applies −15 m/s downward velocity.
M.boost()Applies +25 m/s in the vehicle's forward direction.
M.boostBackwards()Applies −25 m/s (reverse of forward direction).
M.toggleForceField()Cycles force field: push → pull → off. Uses gameplay_forceField.

Public API - Other

FunctionSignatureDescription
M.openLatches()Opens all latches (doors, hood, trunk).
M.closeLatches()Closes all latches.
M.registerFunstuffActions(entries)Registers all fun stuff entries into the core_quickAccess radial menu tree.
M.dependenciesTable. Required extensions: {'core_vehicle_manager'}

Internal Helpers (not exported)

FunctionDescription
randomizeColors()Picks 3 random paints from the vehicle's model data and applies them.
randomVehicle()Spawns/replaces with a random Car/Truck config (minimum 19 m/s top speed).
randomRoute()Sets a random navigation route on the big map.
setFuelLevel(level)Sets fuel to 0–1 fraction of max for all energy storage tanks.

Module State

VariableTypeDefault
dependenciestable{

Usage Example

-- Fling the player car upward
core_funstuff.flingUpward()

-- Explode with gravity well effect
core_funstuff.explodeVehicle()

-- Toggle the force field (push/pull/off)
core_funstuff.toggleForceField()

Quick Access Menu Structure

/root/sandbox/funStuff/
  ├── destruction/  (break, hinges, tires, fire, explode)
  ├── forces/       (force field, fling, boost)
  └── other/        (latches, fuel, colors, random vehicle/route)

All entries are filtered through core_input_actionFilter.isActionBlocked() before display.

Forest

Utility wrapper for accessing the Forest scene object. Caches the forest object ID for efficient repeated lookups.

Game Context

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

On this page

Public API - DestructionPublic API - ForcesPublic API - OtherInternal Helpers (not exported)Module StateUsage ExampleQuick Access Menu Structure