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
`adasUltrasonic.lua``cameraPreview.lua``capturePlayer.lua``license.lua``lidarTest.lua``multiscreen.lua``openDriveExporter.lua``openStreetMapExporter.lua``partAnnotations.lua``platoonFunctions.lua``pythonExport.lua``rawLidar.lua``rawLidarEmpty.lua``sensors.lua``sumoExporter.lua``techCore.lua``terrainImporter.lua``ultrasonicTest.lua``utils.lua`

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 Extensionstech

`multiscreen.lua`

> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.

This Source Code Form is subject to the terms of the bCDDL, v. 1.1. If a copy of the bCDDL was not distributed with this file, You can obtain one at http://beamng.com/bCDDL-1.1.txt

Module variable: M

Hooks

  • onPreRender
  • onUnload

Exported Functions

M.onPreRender()

Line 41

M.onUnload()

Line 65

Returns: M

M.addView(view)

Line 8

M.addVehicleView(name, positionX, positionY, positionZ, rotationX, rotationY, rotationZ, resolutionX, resolutionY, renderDetail, fov, nearClip, farClip, enableShadows, windowX, windowY, borderless)

Line 12

M.removeAllViews()

Line 29

Exported Variables

M.views

Line 6 - {}

M.views

Line 35 - {}

M.onDeserialize

Line 69 - true

Internal Functions

Show internal functions
  • addView(view) (line 8)
  • addVehicleView(name, positionX, positionY, positionZ, rotationX, rotationY, rotationZ, resolutionX, resolutionY, renderDetail, fov, nearClip, farClip, enableShadows, windowX, windowY, borderless) (line 12)
  • removeAllViews() (line 29)
  • onPreRender() (line 41)
  • onUnload() (line 65)

`lidarTest.lua`

> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.

`openDriveExporter.lua`

> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.

On this page

HooksExported FunctionsM.onPreRender()M.onUnload()M.addView(view)M.addVehicleView(name, positionX, positionY, positionZ, rotationX, rotationY, rotationZ, resolutionX, resolutionY, renderDetail, fov, nearClip, farClip, enableShadows, windowX, windowY, borderless)M.removeAllViews()Exported VariablesM.viewsM.viewsM.onDeserializeInternal Functions