FiveM Lighting System [FLS]
The FiveM Lighting System is the descendant of our EmergencyLS, and acts as an all-in-one configurable vehicle lighting system for the popular Grand Theft Auto V (GTA V) Modification, FiveM.
Last updated
The FiveM Lighting System is the descendant of our EmergencyLS, and acts as an all-in-one configurable vehicle lighting system for the popular Grand Theft Auto V (GTA V) Modification, FiveM.
Last updated
Follow instructions in
Copy/Duplicate the existing example_1.10.json file into the 'Vehicles' folder
Rename the file to match the 'gameName' value of the vehicle's meta file
Now navigate to the config.lua file, and add the vehicle to the table, ensuring the text is surrounded by " and followed by a comma.
Lights in GTA V vehicles for ELS/FLS tend too use 'Extras' which can be toggled on/off depending on the pattern. So now we need to configure what colour, offset and direction each light points in.
Step 1: We need to tell the script how many extras there are in total
Step 2: We now need to choose what colour we want the extra to be
The options available, are: - BLUE - RED - AMBER - GREEN
Step 3: Next, we need to configure the offset for the light. Usually, lightbars work well with this set to 0.5 but it may be configured if the vehicle is taller/smaller
The value MUST be a float (a decimal point number) greater than 0.0
Step 4: Finally, we need to configure the direction that the light emits for the directional lighting
The options available are:
FRONT
BACK
RIGHT
LEFT
FRONTRIGHT
BACKRIGHT
FRONTLEFT
BACKLEFT
As shown in the example codeblock, it's possible to include multiple values for a single light
The pattern determines what lights turn on and when aswell as for how long. There are three different stages of lighting that we can configure, which is broken down into:
Primary (Enabled with Q)
Secondary (Enabled with L)
Tertiary (Enabled with K)
The way to change the pattern of each is the exact same principle. Let's get started...
Now, we'll break this down step by step. But first of all, this is essentially saying...
"When you turn on the primary lights, I want extras 1 and 2 to be on for 80ms and then turn off. Then, I want extras 3 and 4 to be on for 80ms and turn off after. Then, we'll loop back to the start and extras 1 and 2 will be back on for another 80ms again e.t.c."
Before configuring custom sirens, you must first install your chosen siren resource. We recommend WM-SIRENS
In the vehicle.json file under 'sirens', you can configure your custom siren packs to be used. These will all be server-sided and synced. Here's how the config looks...
Here we can see we have 'toneOne' up to 'toneFour' - This corresponds to the 4 different siren tones available in-game, using the 1-4 keys or the 'next tone' keybind.
Let's break each one's configuration options down even more:
999 mode refers to the added feature of a voice calling out "999 mode activated" in the vehicle once you activate the primary lighting. This is commonly found in UK ambulance fleets.
To enable this feature, simply set the following to true:
Wigwags refer to the alternation of the headlights on an emergency vehicle whilst the lighting system is activated, providing even further visibility.
To enable this feature, set the following to true: