Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

Configuration

hm_ELSPlus offers a wide range of configuration options, controlled through several files:

In config/main.lua you find the most important global settings:

  • ELSPlus.GroupDefaults: Default values for new vehicle configs (flash patterns, colours).
  • ELSPlus.Keys: Key bindings (by default: emergency lights on Q, sirens on 1-3).
  • ELSPlus.Passenger: Enable/disable control by the front passenger.
  • ELSPlus.Skins: Definition of the available HUD control panel skins.

In config/sirens.lua you choose between the available systems:

  • WM (WheelMod / WM-Sirens): Standard FiveM sirens or modded soundsets. (See the installation guide for the tutorial video by FiveM Schritt-Für-Schritt Tutorials)
  • ServerSided (OISS): Server-side streamed audio files with a preset system — better range and quality.

Short WM example:

ELSPlus.SirenSystem = "WM"
ELSPlus.WM = {
defaultTones = { [1]="SIREN_ALPHA", [2]="SIREN_BRAVO", [3]="SIREN_CHARLIE" },
soundset = "DLC_WMSIRENS_SOUNDSET",
audioBank = "DLC_WMSIRENS\\SIRENPACK_ONE"
}

Short OISS example (preset system):

ELSPlus.SirenSystem = "ServerSided"
ELSPlus.DefaultPreset = "LSPD Modern"
ELSPlus.SirenPresets = {
["LSPD Modern"] = {
soundset = "oiss_ssa_vehaud_lspd_new_soundset",
audioBank = "DLC_SERVERSIDEAUDIO\\OISS_SSA_VEHAUD_LSPD_NEW",
tones = {
"oiss_ssa_vehaud_lspd_new_siren_adam",
"oiss_ssa_vehaud_lspd_new_siren_boy",
"oiss_ssa_vehaud_lspd_new_siren_charles",
},
horn = "oiss_ssa_vehaud_lspd_new_horn",
},
-- more presets: LSSD, BCSO, SAHP, NOOSE, FIB, LSFD, ...
}

Note: tone names are department-specific (e.g. lspd_new_siren_adam, not siren_adam). audioBank is a string, not a table. ELSPlus.ServerSided is generated automatically from the DefaultPreset (backwards compatibility).

Per vehicle you can set siren.wmTones, siren.tonePresets and siren.range in the JSON (details under Server dev / extending).

3. Flash patterns and colours (patterns.lua)

Section titled “3. Flash patterns and colours (patterns.lua)”

All flash patterns and their colours are defined here:

  • ELSPlus.PatternStepMs: The base beat of the flashers in milliseconds.
  • ELSPlus.Colors: RGB values for the env lights (red, blue, yellow, white, green).

This holds the templates of the included beacons, which can be mounted on any vehicle.

5. In-game permission management (rechte.json)

Section titled “5. In-game permission management (rechte.json)”

This file is managed automatically by the system when you use the Rechte (permissions) tab in the in-game editor.

  • What is saved?: The system saves the player identifiers (e.g. license:xxx), the name and who granted access.
  • Advantage: You do not have to edit server.cfg and restart the server for every new team member.
  • Manual intervention: You can also delete entries in rechte.json manually to revoke access.

6. Vehicle configs (config/fahrzeuge/*.json)

Section titled “6. Vehicle configs (config/fahrzeuge/*.json)”

This is where ELS vehicle configurations with all functions are stored (e.g. primary, secondary, scene, matrix, estelle).

Important fields:

  • spawnName: vehicle name
  • layout: assigned HUD layout
  • noFlash: speed camera protection for emergency vehicles
  • siren.wmTones: siren tones per vehicle
  • siren.soundset: soundset override for ServerSided

7. Attachment configs (config/attachments/*.json)

Section titled “7. Attachment configs (config/attachments/*.json)”

For non-ELS vehicles, separate JSON files are saved (e.g. per model or per licence plate).

Important fields:

  • type: always non_els
  • anbauteil: template from anbauteile.lua
  • offset / rot: position and rotation
  • optional plate: vehicle-specific assignment

Saved HUD layouts are stored here automatically:

  • _index.json for the overview
  • individual layout files as *.json

NoFlash is set per vehicle, not globally.

  • Protection is active with noFlash: true and emergency lights on.
  • External scripts should use the exports (see the Server dev / extending page).