-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.lua
42 lines (41 loc) · 1.72 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- TS TEST
return {
core = exports['qb-core']:GetCoreObject(),
speedType = 'KMH', -- KMH or MPH
hudKeybind = 'I',
isLowFuelChecked = true,
stress = {
enableStress = true,
policeStress = false,
chance = 0.1, -- Percentage stress chance when shooting (0-1)
minForShaking = 50, -- Minimum stress level for screen shaking
minForSpeeding = 1000, -- Minimum stress level for speeding while buckled
minForSpeedingUnbuckled = 50, -- Minimum stress level for speeding while unbuckled
whitelistedWeapons = { -- Weapons which don't give stress
`weapon_petrolcan`,
`weapon_hazardcan`,
`weapon_fireextinguisher`,
},
blurIntensity = { -- Blur intensity for different stress levels
[1] = {min = 50, max = 60, intensity = 1500},
[2] = {min = 60, max = 70, intensity = 2000},
[3] = {min = 70, max = 80, intensity = 2500},
[4] = {min = 80, max = 90, intensity = 2700},
[5] = {min = 90, max = 100, intensity = 3000},
},
effectInterval = { -- Effect interval for different stress levels
[1] = {min = 50, max = 60, timeout = math.random(50000, 60000)},
[2] = {min = 60, max = 70, timeout = math.random(40000, 50000)},
[3] = {min = 70, max = 80, timeout = math.random(30000, 40000)},
[4] = {min = 80, max = 90, timeout = math.random(20000, 30000)},
[5] = {min = 90, max = 100, timeout = math.random(15000, 20000)},
},
},
hudSettings = {
hudType = "rectangle", -- Default HUD type
hudPosition = "left", -- Default HUD position
},
harness = {
qbox_seatbelt = false,
}
}