-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
31 lines (27 loc) · 891 Bytes
/
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
Config = {}
-- Configurable weights and options
Config.modelWeights = {
playerSpeedWeight = 0.5, -- Default speed weight
weaponRecoilWeight = 0.3, -- Default weapon recoil weight
aimModeWeight = 0.2, -- Recoil adjustment for aiming modes (hipfire vs ADS)
}
-- Configurable weapon recoil values
Config.weaponRecoilValues = {
[`weapon_pistol50`] = { recoil = 3.5, type = "pistol" },
[`weapon_assaultrifle`] = { recoil = 5.0, type = "rifle" },
-- Add more weapons here with their recoil and types
-- [`new_weapon`] = { recoil = new_recoil_value, type = "weapon_type" },
}
-- Weapon type-based modifiers (can be tuned for realism)
Config.weaponTypeModifiers = {
pistol = 1.0,
rifle = 1.5,
shotgun = 2.0,
smg = 1.2,
}
-- Movement-based recoil modifiers
Config.movementModifiers = {
still = 0.8,
walking = 1.0,
running = 1.2,
}