forked from qbcore-redm-framework/qbr-hud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
71 lines (67 loc) · 1.78 KB
/
config.lua
File metadata and controls
71 lines (67 loc) · 1.78 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Config = {}
Config.StressChance = 0.1 -- Default: 10% -- Percentage Stress Chance When Shooting (0-1)
Config.MinimumStress = 50 -- Minimum Stress Level For Screen Shaking
Config.MinimumSpeed = 100 -- Going Over This Speed Will Cause Stress
--Current setup: no minimap when onfoot
Config.OnFootMinimap = false -- set to true/false to disable/enable minimap when on foot
Config.OnFootCompass = false -- true = have the minimap set to a compass instead of off or normal minimap
--Current setup: Normal minimap when on mount
Config.MounttMinimap = true -- set to false if you want to disable the minimap when on mount
Config.MountCompass = false -- set to true if you want to have a compass instead of normal minimap while on a mount
-- Stress
Config.Intensity = {
["shake"] = {
[1] = {
min = 50,
max = 60,
intensity = 0.12,
},
[2] = {
min = 60,
max = 70,
intensity = 0.17,
},
[3] = {
min = 70,
max = 80,
intensity = 0.22,
},
[4] = {
min = 80,
max = 90,
intensity = 0.28,
},
[5] = {
min = 90,
max = 100,
intensity = 0.32,
},
}
}
Config.EffectInterval = {
[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)
}
}