Global configuration
config.lua
The global customer configuration is split into Config.Environment, Config.Headlights and Config.UI. Vehicle JSON values can override global light defaults.
Environmental lighting
- enabled: toggle projected environmental lights.
- distance: maximum effect distance, default 160.
- range: default 10; intensity: default 4.5; sideSpread: default 1.8.
- Per-vehicle color intensities, ranges and emitter locations can override these defaults.
Headlights
- enabled: true; interval: 250 milliseconds.
- nativeFullbeam: true; forceBaseLights: true; projected: false.
- range: 55; intensity: 8 for projected-light settings.
Control panel
Config.UI.autoOpen, toggleKey, cursorKey, slotKeys, columns, width, brandName, hornControl and hornHoldMs determine panel behavior. Default keys F7/F6, NUMPAD1–9, three columns, width 350, horn control 86 and hold duration 300 ms.
Confirmation sounds
Config.UI.soundVolume defaults to 0.25. soundOn and soundOff use beep.wav. Set a sound to false to disable it. reminder.enabled, initialDelay (1000 ms), interval (2000 ms), sound, volume and actions control STOP/FOLLOW reminders. Per-vehicle uiSounds can override enabled/on/off/reminder.
Custom buttons
Config.UI.buttons contains the action IDs, labels, icon filenames and colors. Use the same ID in a vehicle profile. Custom action IDs must start with custom_. Put icons in html/ui/icons/ and sounds in html/ui/sounds/. Do not include an absolute path in filenames.
Configuration keys
Config.EnvironmentConfig.HeadlightsConfig.UI