415 lines
10 KiB
Lua
415 lines
10 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",
|
|
"psp20fpiu2",
|
|
"chp18charger",
|
|
"sahp18tahoe",
|
|
"188tahoe",
|
|
"uhp24tahoe",
|
|
"23sdjfpiu",
|
|
"fhp1",
|
|
"dsp19tahoe",
|
|
"nhsp606",
|
|
"903um",
|
|
"psp16fpiulib2",
|
|
"chp20fpiup",
|
|
"psp16fpiu",
|
|
"chp23charg",
|
|
"188tahoe",
|
|
"vpd3",
|
|
"188tahoe",
|
|
"23sdjfpiu",
|
|
"23hoe",
|
|
"23hoeb",
|
|
"Specfpui2016",
|
|
"20fpiu20",
|
|
"21rangostb",
|
|
"21rangost",
|
|
"18charger",
|
|
"18chargerb",
|
|
"23ram1",
|
|
"23f150pr",
|
|
"23f150prbb",
|
|
"ccso4",
|
|
"e450ambo",
|
|
"751",
|
|
"aspa22",
|
|
"7738",
|
|
"Polmrambb23",
|
|
"psp20fpiu2",
|
|
"chp18charger",
|
|
"sahp18tahoe",
|
|
"188tahoe",
|
|
"uhp24tahoe",
|
|
"23sdjfpiu",
|
|
"fhp1",
|
|
"dsp19tahoe",
|
|
"nhsp606",
|
|
"903um",
|
|
"psp16fpiulib2",
|
|
"chp20fpiup",
|
|
"psp16fpiu",
|
|
"chp23charg",
|
|
"188tahoe",
|
|
"vpd3",
|
|
"188tahoe",
|
|
"23sdjfpiu",
|
|
"23hoe",
|
|
"23hoeb",
|
|
"Specfpui2016",
|
|
"20fpiu20",
|
|
"21rangostb",
|
|
"21rangost",
|
|
"18charger",
|
|
"18chargerb",
|
|
"2020charger",
|
|
"2020chargerb",
|
|
"hard23charger",
|
|
"hard23chargerb",
|
|
"slick20durango",
|
|
"slick20durangob",
|
|
"slick23charger",
|
|
"slick23chargerb",
|
|
"slick20fpiu",
|
|
"slick20fpiub",
|
|
"slick21chargb",
|
|
"slick21charg",
|
|
"uc_charger",
|
|
"uc_chargerb",
|
|
"slick23tahoe",
|
|
"slick23tahoeb",
|
|
"19corvette",
|
|
"19corvetteb",
|
|
"slick25durango",
|
|
"slick25durangob",
|
|
"uc23suburban",
|
|
"uc23suburbanb",
|
|
"08hybridcvpi1",
|
|
"08hybridcvpi2",
|
|
"08lapdcvpi1",
|
|
"08lapdcvpi2",
|
|
"08lapdcvpighost",
|
|
"08lapdcvpiharbor",
|
|
"08lapdcvpisecsd",
|
|
"08lapdsap",
|
|
"13lasdfpiu",
|
|
"13lasdfpiu2",
|
|
"13lasdfpiua",
|
|
"13lasdfpiuseb",
|
|
"dualpurpose1",
|
|
"dualpurpose2",
|
|
"dualpurpose3",
|
|
"hybridfpis",
|
|
"lacpvic",
|
|
"lapd13fpiuv",
|
|
"lapd14charger",
|
|
"lapd14chargertd",
|
|
"lapd16fpiu",
|
|
"lapd16fpiu2",
|
|
"lapd16fpiusecsd",
|
|
"lapd16fpiutraffic",
|
|
"lapd16fpiutraffic2",
|
|
"lapd20chrgra",
|
|
"lapd20sl",
|
|
"lapd20unm1",
|
|
"lapdalpr20",
|
|
"lapdfpis",
|
|
"lapdfpis2",
|
|
"lapdfpiua",
|
|
"lasd05cvpi",
|
|
"lasd06cvpi",
|
|
"lasd06cvpicarson",
|
|
"lasd06cvpisd7100",
|
|
"lasd06m",
|
|
"lasd06u",
|
|
"lasd08cvpi",
|
|
"lasd08cvpilomita",
|
|
"lasd08cvpitransit",
|
|
"lasd15k9",
|
|
"lasd15tahoe",
|
|
"lasd15tunm",
|
|
"lasd16asap",
|
|
"lasd20fs",
|
|
"lasd20k9",
|
|
"lasd20tunm",
|
|
"lasdchrg14",
|
|
"lasdcrownvic",
|
|
"lasdlithium",
|
|
"lasdparamount",
|
|
"lasdsd7100",
|
|
"lasdvicslicktop",
|
|
"metro16fpiu",
|
|
"metro16fpiu2",
|
|
"metro16fpiu3",
|
|
"metrocharger",
|
|
"s650",
|
|
"lb18mustang",
|
|
"11lapdvic",
|
|
"11lapdvic2",
|
|
"13lapdexp",
|
|
"13lapdfpis",
|
|
"13lapdfpis2",
|
|
"14lapdchg",
|
|
"16lapdexp",
|
|
"16lapdexpk9",
|
|
"20lapdexp",
|
|
"20lapdexp2",
|
|
"20lapdexp3",
|
|
"20lapdexpk9",
|
|
"lasdchg",
|
|
"lasdexp",
|
|
"lasdexp2",
|
|
"lasdfpiu",
|
|
"lasdfpiu2",
|
|
"lasdfpiu3",
|
|
"lasdfpiu4",
|
|
"lasdtahoe",
|
|
"lasdtahoe2",
|
|
"lasdtahoek9",
|
|
"lasdvic",
|
|
"lasdvic2",
|
|
"mustang19",
|
|
"rcsd13fpiu",
|
|
"rcsd13fpiu2",
|
|
"rcsd16fpiu",
|
|
"rcsd16fpiu2",
|
|
"rcsd16fpiu3",
|
|
"rcsd16fpiu4",
|
|
"rcsd20fpiu",
|
|
"rcsd20fpiu3",
|
|
"rcsdcaprice",
|
|
"rcsdcvpi",
|
|
"rcsdcvpi2",
|
|
"rcsdcvpi3",
|
|
"rcsdcvpi4",
|
|
"rcsdf150",
|
|
"rcsdf250",
|
|
"rcsdf2502",
|
|
"rcsdtahoe",
|
|
"f350",
|
|
"s2",
|
|
"h1",
|
|
"hcfbi2",
|
|
"ocsd1",
|
|
"ocsd2",
|
|
"ocsd3",
|
|
"ocsd4",
|
|
"ocsd5",
|
|
"ocsd6",
|
|
"ocsd7",
|
|
"ocsd8",
|
|
"dot1",
|
|
"uc_charger",
|
|
"slick23tahoe",
|
|
"slick23tahoeb",
|
|
"slick20durangob",
|
|
"slick25durango",
|
|
"slick25durangob",
|
|
"slick20fpiub",
|
|
"slick23charger",
|
|
"tp_raptor",
|
|
"uc23suburban",
|
|
"SMPDF150",
|
|
"19corvetteb",
|
|
"2020chargerb",
|
|
"19corvette",
|
|
"lacod6",
|
|
"lacofdbat",
|
|
"lacofdbug",
|
|
"lacofddztrk",
|
|
"lacofdeng",
|
|
"lacofdfoam",
|
|
"lacofdpat",
|
|
"lacofdrs",
|
|
"lacofdsup",
|
|
"lacofdt3",
|
|
"lacofdtrlr",
|
|
"lacofdusartrk",
|
|
"lacofdusartrlr",
|
|
"lacofdutil",
|
|
"mmech",
|
|
"petewrecker",
|
|
"chp20fpiu",
|
|
"chp20fpiugr",
|
|
"21rangostb",
|
|
"2020chargerb",
|
|
"slick23charger",
|
|
"uc_charger",
|
|
"uc23suburban",
|
|
"tp_raptor",
|
|
"walkinarrow",
|
|
"slick23tahoe",
|
|
"hp23charger1",
|
|
"hp21charger1",
|
|
"smpd16fpiu01",
|
|
"smpd16fpiu02",
|
|
"smpd16fpiu03",
|
|
"smpd16fpiu04",
|
|
"smpd16fpiu05",
|
|
"smpd16fpiu06",
|
|
"23ram6",
|
|
"23ram1",
|
|
"psp20fpiu2",
|
|
"5500wrecker",
|
|
"e450ambo",
|
|
"20slickfpiu3",
|
|
"20legacyfpiu3",
|
|
"21ppv3",
|
|
"21ppv1",
|
|
"21ppv2",
|
|
"23f150pr",
|
|
"23f150prbb",
|
|
"23f150st",
|
|
"thpram",
|
|
"chp20fpiup",
|
|
"chp23charg",
|
|
"valormrap",
|
|
"wtfpiu",
|
|
"21f150",
|
|
"23tahoessvrb",
|
|
"23tahoeppvrb",
|
|
"atltahoe",
|
|
"21rangost",
|
|
"leg21tahoeht_rb",
|
|
"5500wrecker",
|
|
"21rangost",
|
|
"staff-sl23hoe",
|
|
"maxchasrt",
|
|
"chp21tahoe",
|
|
"chp23durango",
|
|
"lapdcvpialpr",
|
|
"lapdcvpithermal",
|
|
"08hybridcvpi1",
|
|
"08hybridcvpi2",
|
|
"08lapdcvpi1",
|
|
"08lapdcvpi2",
|
|
"08lapdcvpighost",
|
|
"08lapdcvpiharbor",
|
|
"08lapdcvpisecsd",
|
|
"08lapdsap",
|
|
"2005LAPDCVPI_Hybrid1",
|
|
"2005LAPDCVPI_Hybrid2",
|
|
"2005LAPDCVPI_HybridH",
|
|
"2008LAPDCVPI_77th1",
|
|
"2008LAPDCVPI_77th2",
|
|
"2008LAPDCVPI_Hardtop1",
|
|
"2008LAPDCVPI_Hardtop2",
|
|
"2008LAPDCVPI_Hybrid1",
|
|
"2008LAPDCVPI_Hybrid2",
|
|
"2008LAPDCVPI_HybridT",
|
|
"2008LAPDCVPI_Traffic1",
|
|
"SHOP00000",
|
|
"SHOP80693",
|
|
"SHOP81365",
|
|
"SHOP81622",
|
|
"SHOP81906",
|
|
"SHOP83039",
|
|
"SHOP89471",
|
|
"SHOPFPIS",
|
|
"lapd16fpiu",
|
|
"lapd16fpiu2",
|
|
"lapd16fpiusecsd",
|
|
"lapd16fpiutraffic",
|
|
"metro16fpiu",
|
|
"metro16fpiu2",
|
|
"metro16fpiu3",
|
|
"f350bubba",
|
|
"21tacouc",
|
|
"leg20fpiurb",
|
|
"23ramrb",
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
Vehicles = {
|
|
-- this is not required!
|
|
-- see documentation for instructions!
|
|
-- https://docs.dwnstr.com/ulc/configuration
|
|
}
|
|
}
|