-- 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", "lapd09charger1", "lapd09charger2", "lapd09dual", "lapd13fpis", "lapd13fsl", "lapd13fsli", "lapd13fsunm", "lapd14charger", "lapd14chargertd", "metrocharger", "lapd14tahoe1", "lapd14tahoe2", "lapd14tahoe3", "lapd14tahoe4", "lapd16fpiu", "lapd16fpiu2", "lapd16fpiusecsd", "lapd16fpiutraffic", "lapd16fpiutraffic2", "metro16fpiu", "metro16fpiu2", "metro16fpiu3", "lapd16fpiua", "lapd16fpiub", "lapd16funm", "lapd16sfpiua", "lapd16sfpiub", "lapd16tfpiua", "lapd16tfpiub", "lapd16tfpiuc", "lapd16tfpiud", "lapd17funm", "lapd18chrgr", "lapd18chrgrb", "lapd18funm", "lapd19flv", "lapd19fpisv", "lapd19fsl", "lapd19fsunm", "lapd19funm", "lapd20chrgra", "lapd20chrgrb", "lapd20det", "lapd20fpiua", "lapd20fpiub", "lapd20fpiuc", "hybrid20fpiu", "lapd20fpiu", "lapd20fpiu2", "lapd20fpiutraffic", "lapd20fpiutraffic2", "lapd20sl", "lapd20talpra", "lapd20talprb", "lapd20tfpiu", "lapd20unm1", "lapd20unm2", "lapd24fpiu", "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", "hybridfpis", "lapdfpis", "lapdfpisvalor2", "SHOP00000", "SHOP80693", "SHOP81622", "SHOP83039", "SHOP89471", "SHOPFPIS", "83727", "84361", "85734", "86385", "86399", "86486", "87136", "lapd25fsl", "lapd13fmb", "lapd13fpiu", "lapd13funm", "lapd13funmb", "lapd13tfmb", "lapd13tfpiu", "lapd13vfpiu", "lapd25f", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "21silvst", "25fpiupov", "col20fpiu", "fs25f150", "GSD2024GenericTruck", "GSD2024GenericTruckslicktop", "lasd13fasap", "lasd13fpiu1", "lasd13fpiu2", "lasd13fpiu3", "lasd13fpiu4", "lasd13fpiu5", "lasd13fsfpiu", "lasd13funm3", "lasd13funm4", "lasd14ta", "lasd14tb", "lasd14tc", "lasd14td", "lasd14tseb", "lasd14tseb2", "lasd14tv", "lasd15tahoe", "lasd15tahoeb", "lasd15k9", "lasd15k9b", "lasd16chrgr", "lasd20funm", "lasd20k9", "lasd20lp", "lasd20tahoe", "lasd20tfs", "lasd22tunm", "lasd23k9t", "lasd23tahoe", "lasd23tunm", "lasd25fpiu", "lasd05cvpi", "lasd06cvpi", "lasd06cvpicarson", "lasd06cvpisd7100", "lasd08cvpi", "lasd08cvpilomita", "lasd08cvpitransit", "lacpvic", "lasd06m", "lasd06u", "lasdcrownvic", "lasdlithium", "lasdparamount", "lasdsd7100", "lasdvicslicktop", "lasd08tahoe", "lasd08tahoe2", "lasd14tahoe", "lasd2025tahoe1", "ocsd18dur", "ocsd20fpiust", "spec25silvbb", "spec25silvrb", "lasd18chrg", "lasd16asap", "lasd16asapb", "lasd16asapc", "lasd16asapd", "lasd16fpiu", "lasd16fpiub", "lasd16rfr", "lasd16rfrb", "lasdtahoelan", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "20legacyfpiu3", "vcsd25piu", "sos23hoe", "MPD21ppv", "montereyparkpd25dura_180", "FranksRTCharger", "LSFR25DUR", "LSFR25DURST", "leg21tahoeht_rb", "sbcsd21durango", "sbcsdcharger", "sbcsdcharger2", "IDHP_25stang", "fs23hoe", "BCSO21ppv", "arrowxt1", "25legacyrango1", "2010cvpipov", "25darkhorse", "23f150", "23sir", "21f150", "19mustgt", "18chargerb", "18charger", "18charg", "21rangost", "21tacouc", "22expdr", "22f150rb", "22silv2", "22silv2visor", "23f150pr", "23f150st", "23gmc2visor", "23gmcleo", "23gmcleoslick", "23hoe", "23ram6", "23ramrb", "24ramambo", "23ssjam", "24sub", "903um", "202346gmc", "am_srt15", "5500wrecker", "atltahoe", "caltransf150", "ccso1", "ccso4", "chp15tahoe", "chp15tahoek9", "chp15tahoeum", "chp19tahoe", "chp19must", "chp18chargst", "chp19tahoek9", "chp19tahoeum", "chp20fpiup", "chp20tahoek9", "chp21tahoe", "chp23tahoe", "chp23tahoek9", "chp25fpiu", "chp202tahoe", "chptahoek9", "e350vanb", "e450ambo", "dhs14norm", "fire22exp", "g18charger2", "g18charger2rb", "hab23charger", "ISP_20charger", "LACoFDDurango", "lafdtahoe", "leg20fpiurb", "leg21tahoeht_rb", "Maxlasd18charger", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "chp11cvpi", "chp15expedition", "chp15f250", "chp15f250st", "chp15fpiuk9", "chp15fpiup", "chp15fpius", "chp15fpiu", "chp15fpiuw", "chp16fpiu", "chp16fpiup", "chp16ram", "chp18charg", "chp18chargst", "chp18tahoe", "chp20charg", "chp20tahoe", "chp21tahoe", "chp23charg", "chp23charggr", "chp23charg", "chp23chargp", "chp23durango", "chp23durangop", "chpum15fpiu", "chp20fpiup", "chp20fpiu", "chp20fpiugr", "chp20fpiu", "chp21tahoe3", "chp21tahoe4", "chp20tahoek9", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " " , }, Vehicles = { -- this is not required! -- see documentation for instructions! -- https://docs.dwnstr.com/ulc/configuration } }