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

Templates

The Templates tab (from level Dev) holds all presets that several vehicles share. Navigation has two levels: at the top you choose one of five sections; below it the section’s sub-pages appear as underlined tabs.

Section (in-game name)Sub-pages
Attachments–
Light patterns & colorsPatterns · Pattern packs · Colors & Groups
SirensProfiles · Siren packs
Matrix textsTemplates · Text Sets
Actions & EventsActions · Events

Attachment templates define which extras a part has, how they flash and which scene lights belong to it. The list looks like the vehicle list: one row per part with an orange icon box, filters by category at the top (roof bars, beacons, front flashers, rear warning, matrix, other) and a search. Clicking a row shows the part in the 3D preview. Vehicles that use a template take over changes to it automatically.

Attachments as a list, variants grouped into families

Families: variants of a part (e.g. the beacons in different colours) appear in the list as one entry, such as “Kennleuchte (6 variants)” (beacon). A click expands the family; among the variants you can distinguish type and length. In the vehicle editor you pick the variant by type and length with a button.

List with families

Entries with the ADDON pill come from another resource on your server (e.g. a model pack) and appear in the list automatically.

Included are the beacons blue, orange, blue/orange, green (incident command), red (breathing apparatus monitoring), green/red and the FBW front flasher. How to mount a part on a vehicle is described under Vehicles → Attachments.

Section Sirens → Profiles: a profile bundles three siren tones under a short code and a name. Drag & drop the tones into slots 1–3. In the vehicle editor you link a vehicle to the profile; later changes to the profile then apply to all linked vehicles.

Siren profiles

Section Sirens → Siren packs: here you define where the siren tones come from and edit all packs in-game:

  • Active siren system: WM-Sirens, Server-Sided (OISS) or GTA V (without a sound pack). You can also set the system under Server mods → Server settings; there, “Map sirens & switch” converts the vehicles’ tones accordingly when you change system.
  • Editing packs: WM-Sirens, GTA V and every OISS preset have a soundset, an audio bank (not needed for GTA), for presets a horn, and a tone list. Tones can be added, named, sorted, played and deleted. Which tones a vehicle gets on keys 1–3 is defined via the siren profiles or in the vehicle.
  • New OISS presets are created with ”+ New preset”.

Everything is saved in config/sirens.lua (commented, can still be edited by hand). On the first save, the editor backs up the old file as config/sirens.lua.original. Changes apply immediately for all players.

Section Light patterns & colors → Patterns. All flash patterns are stored in config/patterns.json. The included patterns are marked as DEFAULT and cannot be changed; you add your own patterns alongside them.

Pattern overview

In the pattern editor you click the steps (or sweep over them with the mouse button held down). The preview runs live. You set the step length per pattern.

Pattern editor

Section Light patterns & colors → Pattern packs: a pack contains three patterns – one per pattern level. Optionally there is a variant B for alternating flash: extras marked “B” then flash in the opposite rhythm. If variant B is missing, ELS+ shifts the pattern by half a beat automatically.

Pattern packs with a default per group

Default per group: for each group (emergency lights, front flashers, …) you define a default pack. New extras start with it, and extras with the source “Group default” follow it live if you change it later.

Section Light patterns & colors → Colors & Groups:

  • Light colours: the RGB colours of the scene lights. You can create your own colours. They take full effect after a restart.
  • Light groups: per group (emergency lights, front flashers, …) the name in the editor and the default colour of new scene lights.

Section Matrix texts with the sub-pages Templates (presets) and Text Sets: text presets, symbols and animations for LED matrices on the vehicle, combined into sets. How to use them on the vehicle is described in detail under Matrix displays & matrix texts.

Matrix texts: presets

Section Actions & Events (sub-pages Actions and Events). This is how you connect other scripts to the control panel.

Events are the triggers:

TypeWhat happens
Commandas typed in F8, without /. If it starts with +, it is held like a key and released after the hold time
Client eventTriggerEvent on the player’s client, with the network ID and entity of the vehicle
Server eventTriggerEvent on the server, with the player ID and network ID of the vehicle

Actions are buttons for the control panel (with an image, as push button or switch). A button triggers one or more events. Switches can read their state from a state bag. Buttons that belong together are grouped in a Template (included: Lenand WLF with lock and unhitch).

Actions with the WLF Lenand preset

In the vehicle editor you choose which actions a vehicle gets. The incident scene mode (E-Stelle) can also trigger events when switched on and off.

-- Example: client event in your script
RegisterNetEvent('meinscript:client:stuetzen', function(netId, vehicle)
-- extend or retract the stabilisers
end)