Files
Elite-Gaming-FiveM/resources/ulc/config.lua
T
2025-11-29 01:18:59 -08:00

341 lines
8.1 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 = false,
-- 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 = 4,
},
-- 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",
"08lapdcvpi1",
"08lapdcvpi2",
"08lapdcvpighost",
"08lapdcvpiharbor",
"08lapdcvpisecsd",
"21f150",
"18charger",
"18chargerb",
"21rangost",
"21tacouc",
"22f150rb",
"21silvst",
"23f150pr",
"23f150prbb",
"23f150st",
"23gmcleo",
"23gmcleoslick",
"23ram6",
"23ramrb",
"24ramambo",
"24sub",
"5500wrecker",
"7728",
"aspa22",
"caltransf150",
"ccso1",
"ccso4",
"CHP18D",
"chp11cvpi",
"chp16fpiup",
"chp15fpius",
"chp15fpiup",
"chp23durangop",
"chp20fpiup",
"chp21tahoe",
"chp23charg",
"chp23charggr",
"c15expd",
"chp20fpiu",
"chp23chargp",
"chp20tahoe",
"chp15f250",
"chp13fpiu",
"chp13fpiuS",
"chp221tahoe",
"chp21tahoe",
"chp211tahoe",
"chp15fpiuw",
"chp19charg",
"chp19must",
"chp16fpiu",
"chpisuimpala",
"chpum16fpiu",
"chp18charg",
"chp18chargnp",
"chp18chargst",
"chp15fpiup",
"chp15fpius",
"chp18tahoe",
"chp20tahoe",
"chp16fpiu",
"chp15fpiuk9",
"chp18chargst",
"chp23durango",
"chpfpiuk9",
"chptahoe2",
"chptahoe3",
"chptahoe4",
"chptahoek9",
"chp211tahoe",
"e350vanb",
"e450ambo",
"f350bubba",
"g18charger2",
"g18charger2rb",
"lapd09charger1",
"lapd09charger2",
"lapd09dual",
"lapd14charger",
"lapd14chargertd",
"metrocharger",
"lapd14tahoe1",
"lapd14tahoe2",
"lapd14tahoe3",
"lapd14tahoe4",
"lapd16fpiu",
"lapd16fpiu2",
"lapd16fpiusecsd",
"lapd16fpiutraffic",
"lapd16fpiutraffic2",
"metro16fpiu",
"metro16fpiu2",
"metro16fpiu3",
"hybrid20fpiu",
"lapd20fpiu",
"lapd20fpiu2",
"lapd20fpiutraffic",
"lapd20fpiutraffic2",
"LAPD12000",
"17colorado",
"lapdcvpialpr",
"lapdcvpithermal",
"2005LAPDCVPI_Hybrid1",
"2005LAPDCVPI_Hybrid2",
"2005LAPDCVPI_HybridH",
"2008LAPDCVPI_77th1",
"2008LAPDCVPI_77th2",
"2008LAPDCVPI_Hardtop1",
"2008LAPDCVPI_Hardtop2",
"2008LAPDCVPI_Hybrid1",
"2008LAPDCVPI_Hybrid2",
"2008LAPDCVPI_HybridT",
"2008LAPDCVPI_Traffic1",
"08hybridcvpi1",
"08hybridcvpi2",
"08lapdcvpi1",
"08lapdcvpi2",
"08lapdcvpighost",
"08lapdcvpiharbor",
"08lapdcvpisecsd",
"08lapdsap",
"SHOP89471",
"83727",
"84361",
"85734",
"86385",
"86399",
"86486",
"hybridfpis",
"lapdfpis",
"lapdfpis2",
"SHOP00000",
"SHOP80693",
"SHOP81622",
"SHOP83039",
"SHOP89471",
"SHOPFPIS",
"lasd05cvpi",
"lasd06cvpi",
"lasd06cvpicarson",
"lasd06cvpisd7100",
"lasd08cvpi",
"lasd08cvpilomita",
"lasd08cvpitransit",
"lacpvic",
"lasd06m",
"lasd06u",
"lasdcrownvic",
"lasdlithium",
"lasdparamount",
"lasdsd7100",
"lasdvicslicktop",
"lapdfpiua",
"lasd06cvpi",
"lasd06cvpicarson",
"lasd06cvpisd7100",
"lasd06m",
"lasd08cvpi",
"lasd08cvpilomita",
"lasd08cvpitransit",
"lasd15tahoe",
"lasd15tahoeb",
"lasd15k9",
"lasd15k9b",
"lasd20tahoe",
"lasd20tfs",
"lasd20k9",
"lasd23tahoe",
"lasd23k9t",
"lasd23k9t",
"lasd16asap",
"lasd16asapb",
"lasd16asapc",
"lasd16asapd",
"lasd16fpiu",
"lasd16fpiub",
"lasd16rfr",
"lasd16rfrb",
"lasd23tunm",
"lasd20funm",
"fs25f150",
"ram3500hrr",
"ram3500h",
"lasd13fasap",
"lasd13fpiu1",
"lasd13fpiu2",
"lasd13fpiu3",
"lasd13fpiu4",
"lasd13fpiu5",
"lasdchrg14",
"lasdcrownvic",
"lasdparamount",
"lasdsd7100",
"lasdchg",
"lasdexp",
"lasdfpiu2",
"lasdfpiu3",
"lasdfpiu4",
"lasdtahoe2",
"lasd25fpiu",
"lasdvic",
"lasdvic2",
"LASD16T6",
"lasd08tahoe",
"lasd08tahoe2",
"lasd14tahoe",
"23silverltbb",
"23silverlt",
"Polmrambb23",
"chp16ram",
"chp18tahoe",
"thpram",
"wtfpiu",
"fs23hoe",
"23sir",
"23f150",
"lasd18chrg",
"2010cvpipov",
"spec20legcyfpiu",
"maxang",
"FranksRTCharger",
"GSD2013GenericSUVK9",
"19mustgtrb",
"19mustgtrw",
"23camss",
"24mustgt",
"24sodur_ht",
"ecsortrango",
"thp24dur",
"lib20fpiu",
"Specfpui2016",
"24sodur_ht",
"25darkhorse",
"233ppv",
"BCSO21ppv",
"IDHP_25stang",
"SOcamaro",
"wc20fpiustrb",
"ISP_20charger",
"GSD2013GenericSUVK9Slicktop",
"LSFR25DUR",
"LSFR25DURST",
"BCSO21ppv",
"23camsSs",
"wc20fpiustrb",
"233ppv",
"24sodur_ht",
"19mustgtrw",
"19mustgtrb",
"23ram2",
"23ram3",
"arrowxt1",
"24mustgt",
"25darkhorse",
"23camsSs",
"pbpd1",
"wc20fpiustrb",
"704durango",
"reevesaceunit",
"615",
"146charger",
"122charger",
"891charger",
"843tahoe",
"104charger",
"cc20fpiu",
"20fpiu_pd",
"hab23charger",
"chp16ram",
},
Vehicles = {
-- this is not required!
-- see documentation for instructions!
-- https://docs.dwnstr.com/ulc/configuration
}
}