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
Settings AudioSettings GraphicGraphics Quality GroupLighting QualityMesh QualitySettings RallySettings (Core)Shader QualityShadows QualityTexture Quality

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 Extensionscoresettings

Settings Audio

Manages audio settings including provider selection and per-channel volume control.

Manages audio settings including provider selection and per-channel volume control.


Overview

Extension: core_settings_audio - Provides option helpers for the audio settings UI. Handles SFX provider/device creation and exposes volume controls for all audio channels (Master, Power, Transmission, Music, UI, etc.).


Public Functions

FunctionDescription
M.getOptions()Returns the audioOptions table with all audio option helpers
M.restoreDefaults()Resets all audio channel volumes to factory defaults
M.buildOptionHelpers()Builds and returns the table of audio option get/set/getModes helpers
M.onFirstUpdateSettings(data)Called on first settings update; creates the audio provider device
M.switchOutputDevice(index)Switches FMOD output device by index

Audio Option Keys

Each key in the options table provides get(), set(value), and optionally getModes():

Option KeyChannel / Purpose
AudioProviderSFX provider name (e.g. FMOD)
AudioMasterVolMaster volume (0–1)
AudioPowerVolEngine power volume
AudioForcedInductionVolTurbo / supercharger volume
AudioTransmissionVolGearbox volume
AudioSuspensionVolSuspension sounds
AudioSurfaceVolTire surface sounds
AudioCollisionVolCollision / crash sounds
AudioAeroVolWind / aero sounds
AudioEnvironmentVolAmbient environment
AudioMusicVolBackground music
AudioUiVolUI sound effects
AudioOtherVolMiscellaneous sounds
AudioLfeVolLow-frequency effects (subwoofer)
AudioIntercomVolRally intercom
AudioEnableStereoHeadphonesHeadphone mode toggle (triggers bank hot-loading)

Usage Examples

-- Get current master volume
local vol = settings.getValue('AudioMasterVol')

-- Restore all audio to defaults
core_settings_audio.restoreDefaults()

-- Switch FMOD output device
core_settings_audio.switchOutputDevice(2)

Default Volume Values

ChannelDefault
Master1.0
Power, ForcedInduction, Transmission, Suspension, Surface, Collision, Aero, Environment, Music, UI, Other, Intercom0.8
LFE0.5

See Also

  • Settings - Main settings system
  • Sounds - Runtime sound parameter management

Virtual Input

Creates and manages virtual input devices (joysticks/gamepads) from Lua. Used by the remote controller extension and other systems that need to inject synthetic input events.

Settings Graphic

Manages all graphics settings: display mode, resolution, refresh rate, GPU selection, quality presets, reflections, mirrors, post-processing effects, and more.

On this page

OverviewPublic FunctionsAudio Option KeysUsage ExamplesDefault Volume ValuesSee Also