Files
Elite-Gaming-FiveM/resources/ulc/config.lua
T
2025-02-26 01:09:38 -08:00

97 lines
2.9 KiB
Lua

-- Ultimate Lighting Controller by Dawnstar FiveM
-- Written by Dawnstar
-- Documentation: https://docs.dwnstr.com/ulc/overview
-- For support: https://discord.gg/dwnstr-fivem
-- Most of these can be left at their default values.
-- View documentation for details on each value
Config = {
-- whether to enable control of lights on/off state using Q key
-- disabled by default to allow other scripts to control lights such as Luxart
-- make sure to disable light controls in other scripts if you enable this
controlLights = false,
-- HUD SETTINGS
-- global toggle for UI (affects all clients)
hideHud = true,
-- whether to use KPH instead of MPH
useKPH = false,
-- Park Pattern Settings;
ParkSettings = {
-- extras will toggle below this speed
speedThreshold = 1,
-- time between checks in seconds
-- should not be any lower than .5 seconds
delay = 0.5,
-- distance at which to check for other vehicles to sync patterns with
syncDistance = 32,
-- seconds before a single client triggers sync again
syncCooldown = 10,
},
-- Steady Burn Config;
-- changes settings for extras that are enabled at night, or enabled all the time.
SteadyBurnSettings = {
-- hour effect starts (extras are enabled)
nightStartHour = 18,
-- hour effect ends (extras are disabled)
nightEndHour = 6,
},
-- Brake Extras/Patterns Config;
-- temporarily empty as of v1.3.0
BrakeSettings = {},
-- Reverse Extras/Patterns Config;
-- introduced in v1.8.0
ReverseSettings = {
-- these options control the expiration of the reverse extras
-- if enabled, reverse extras will turn off after a random time between min and max
-- this is to simulate more realistic behavior where the vehicle would shifted out of reverse
-- after being stopped for some time
useRandomExpiration = true,
-- minimum time in seconds extras will stay on after stopping
minExpiration = 3,
-- maximum time in seconds extras will stay on after stopping
maxExpiration = 8,
},
-- Import confiurations here
-- Add the resource names of vehicle resources that include a ulc.lua config file
ExternalVehResources = {
-- ex. "my-police-vehicle",
"615",
"ccso1",
"24sub",
"24ramambo",
"704",
"640",
"128",
"gpd7",
"gpdchief1",
"st23tahoe",
"23gmcleoslick",
"23gmcleo",
"24rampumper",
"23sierrafire",
"24rampumper",
"e350vanb",
"ccso4",
"e450ambo",
"751",
"aspa22",
"7738",
"Polmrambb23",
},
Vehicles = {
-- this is not required!
-- see documentation for instructions!
-- https://docs.dwnstr.com/ulc/configuration
}
}