Repository navigation
Expand file tree
/
Copy pathconfig.lua
More file actions
104 lines (89 loc) · 2.35 KB
/
Copy pathconfig.lua
File metadata and controls
104 lines (89 loc) · 2.35 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
--[[
COREX Inventory - Main Configuration
]]
Config = {}
Config.Debug = false
Config.MaxWeight = 200.0
Config.GridWidth = 8
Config.GridHeight = 10
Config.DefaultSize = {w = 1, h = 1}
-- Dropped items expire time (in seconds)
-- 300 = 5 minutes | 1800 = 30 minutes | 3600 = 1 hour
Config.DropExpireTime = 1800
-- Enable/Disable ground item markers
-- true = Show markers on dropped items (MORE CPU)
-- false = No markers, items still visible (LESS CPU)
Config.EnableMarkers = true
Config.PropSyncRadius = 50.0
Config.MarkerRadius = 15.0
Config.MarkerCloseRange = 5.0
Config.PickupDistance = 3.0
Config.GiveDistance = 5.0
Config.PropSyncInterval = 10000
Config.MarkerCacheInterval = 100
-- Portable vehicle system (ox_target pickup -> inventory item -> deploy)
Config.PortableVehicles = {
Enabled = true,
ItemName = 'portable_vehicle',
DefaultPortable = true,
PickupDistance = 4.5,
RegisterDistance = 18.0,
DeployTimeout = 16000,
SpawnDistance = 3.8,
AutoEnterOnDeploy = true,
ReplacePreviousActive = false
}
-- WEAPON RECOIL SYSTEM
Config.Recoil = {
Enabled = true,
ScreenShake = {
Enabled = true,
Intensity = 0.08,
Duration = 70
},
WeaponKick = {
Enabled = true,
GlobalMultiplier = 2.0,
RecoverySpeed = 0.05
},
Patterns = {
pistol = {
vertical = 0.22,
horizontal = 0.10,
kickVariation = 0.22,
recovery = 0.95
},
smg = {
vertical = 0.18,
horizontal = 0.12,
kickVariation = 0.28,
recovery = 0.94
},
rifle = {
vertical = 0.28,
horizontal = 0.14,
kickVariation = 0.20,
recovery = 0.93
},
shotgun = {
vertical = 0.50,
horizontal = 0.25,
kickVariation = 0.25,
recovery = 0.91
},
sniper = {
vertical = 0.65,
horizontal = 0.18,
kickVariation = 0.15,
recovery = 0.89
}
},
AttachmentModifiers = {
grip = 0.65,
suppressor = 0.80,
compensator = 0.60,
stock = 0.75,
heavybarrel = 0.70,
muzzlebrake = 0.68
}
}