207 lines
5.1 KiB
Lua
207 lines
5.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",
|
|
"23f150pr",
|
|
"23f150prbb",
|
|
"23f150st",
|
|
"23gmcleo",
|
|
"23gmcleoslick",
|
|
"23ram6",
|
|
"23ramrb",
|
|
"24ramambo",
|
|
"24sub",
|
|
"5500wrecker",
|
|
"7728",
|
|
"aspa22",
|
|
"caltransf150",
|
|
"ccso1",
|
|
"ccso4",
|
|
"CHP18D",
|
|
"chp20fpiup",
|
|
"chp21tahoe",
|
|
"chp23charg",
|
|
"chp23charggr",
|
|
"c15expd",
|
|
"chp20fpiu",
|
|
"chp23chargp",
|
|
"chp20tahoe",
|
|
"chp15f250",
|
|
"chp15fpiuw",
|
|
"chp19charg",
|
|
"chp16fpiu",
|
|
"chp18charg",
|
|
"chp18chargnp",
|
|
"chp18chargst",
|
|
"chp23durango",
|
|
"e350vanb",
|
|
"e450ambo",
|
|
"f350bubba",
|
|
"g18charger2",
|
|
"g18charger2rb",
|
|
"13lapdfpis2",
|
|
"16lapdexp",
|
|
"16lapdexpk9",
|
|
"20lapdexp",
|
|
"20lapdexp2",
|
|
"20lapdexp3",
|
|
"20lapdexpk9",
|
|
"metro16fpiu",
|
|
"metro16fpiu2",
|
|
"metro16fpiu3",
|
|
"lapd16fpiu",
|
|
"lapd16fpiu2",
|
|
"lapd16fpiusecsd",
|
|
"lapd16fpiutraffic",
|
|
"lapd16fpiutraffic2",
|
|
"lapd13fpiuv",
|
|
"lapd20sl",
|
|
"lapdfpis",
|
|
"lapdfpiua",
|
|
"13lasdfpiu",
|
|
"13lasdfpiu2",
|
|
"13lasdfpiua",
|
|
"hybridfpis",
|
|
"lapd14charger",
|
|
"lapd14chargertd",
|
|
"lapd20sl",
|
|
"lapdalpr20",
|
|
"lapdfpis",
|
|
"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",
|
|
"lasd13fasap",
|
|
"lasd13fpiu1",
|
|
"lasd13fpiu2",
|
|
"lasd13fpiu3",
|
|
"lasd13fpiu4",
|
|
"lasd13fpiu5",
|
|
"lasd13fsfpiu",
|
|
"asd13funm",
|
|
"lasd13funm2",
|
|
"lasd13funm3",
|
|
"lasd13funm4",
|
|
"lasdchrg14",
|
|
"lasdcrownvic",
|
|
"lasdparamount",
|
|
"lasdsd7100",
|
|
"lasdchg",
|
|
"lasdexp",
|
|
"lasdfpiu2",
|
|
"lasdfpiu3",
|
|
"lasdfpiu4",
|
|
"lasdtahoe2",
|
|
"lasdvic",
|
|
"lasdvic2",
|
|
"LASD16T6",
|
|
"lasd08tahoe",
|
|
"lasd08tahoe2",
|
|
"lasd14tahoe",
|
|
"Polmrambb23",
|
|
"thpram",
|
|
"wtfpiu",
|
|
"fs23hoe",
|
|
"23f150",
|
|
" ",
|
|
},
|
|
|
|
Vehicles = {
|
|
-- this is not required!
|
|
-- see documentation for instructions!
|
|
-- https://docs.dwnstr.com/ulc/configuration
|
|
}
|
|
}
|