RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Bananabench AsyncBananabench CSVBananabench JSONBananabench PrintBananabench XMLBananabenchPhysics BenchmarkBeamConsole Folder OverviewJSON PerformanceConsole MainResave Parts ConfigsServer TestsSimple LoadSimulation TestDynamic Collision TestMain Development TestUnit Tests

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 Referenceconsole

Simple Load

Script defined in `lua/console/simpleload.lua`. Minimal vehicle spawn test - deletes all objects and spawns a single pickup vehicle.

Script defined in lua/console/simpleload.lua. Minimal vehicle spawn test - deletes all objects and spawns a single pickup vehicle.


Functions/Exports

None (standalone script, 2 lines of logic).

Usage

beamng -console lua/console/simpleload.lua

Internal Notes

  • Calls BeamEngine:deleteAllObjects() then BeamEngine:spawnObject(1, "vehicles/pickup", nil, vec3(0, 0, 0))
  • Useful as a smoke test to verify vehicle spawning works in console mode
  • No output or assertions - just validates the spawn doesn't crash

See Also

  • BeamConsole Folder Overview - Directory overview
  • bananabench-async Reference - Related reference
  • bananabench-csv Reference - Related reference
  • bananabench-json Reference - Related reference
  • Console Commands Guide - Guide

Server Tests

Script defined in `lua/console/servertests.lua`. Simple test runner entry point that loads and executes the unit tests module.

Simulation Test

Script defined in `lua/console/simtest.lua`. Spawns a pickup vehicle and runs a timed physics simulation loop, printing per-step timing.

On this page

Functions/ExportsUsageInternal NotesSee Also