forked from Nowimps8/mythic_hospital
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
295 lines (266 loc) · 11.5 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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
Config = {}
--[[
This Is How Damage Must Be Applied To Trigger The Limb Damage Aspect
]]
Config.HealthDamage = 10
Config.ArmorDamage = 5
--[[
This Is The Timer For How Long The Player Will Be In The Bed When They Check-In To Be Healed Automatically, This Is In Seconds
]]
Config.AIHealTimer = 5
--[[
TIMERS This Is In Seconds - This Will Decide How Long The Thread Controlling This Functionality Is Slept For
]]
Config.BleedTickRate = 30
--[[
This is how many seconds is taken away from the bleed tick rate if the player is walking, jogging, or sprinting
]]
Config.BleedMovementTick = 10
Config.BleedMovementAdvance = 3
--[[
How Many Bleed Ticks You Want To Occur Before A Screen Fade Happens
]]
Config.FadeOutTimer = 2
--[[
This Is How Many Intervals Pass Before You Blackout | This Is Calculated By BleedTickRate * FadeOutTimer = 1 Blackouttimer Tick
So Setting This To 10 with the above set to default would be 10 minutes ((30 * 2) * 10) = 600
]]
Config.BlackoutTimer = 10
--[[
How Many Bleed Ticks Occur Before Your Bleed Level Is Increased
]]
Config.AdvanceBleedTimer = 10
--[[
How many times, in seconds, are certain injury types checked to have side-effects applied
]]
Config.HeadInjuryTimer = 30
Config.ArmInjuryTimer = 30
Config.LegInjuryTimer = 15
--[[
The Chance, In Percent, That Certain Injury Side-Effects Get Applied
]]
Config.HeadInjuryChance = 25
Config.ArmInjuryChance = 25
Config.LegInjuryChance = {
Running = 50,
Walking = 15
}
Config.ArmorStaggerChance = 65 -- Note : Small caliber weapons are this % halved
--[[
The Base Damage That Is Multiplied By Bleed Level Every Time A Bleed Tick Occurs
]]
Config.BleedTickDamage = 4
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
--[[ ------------------------------------------------------------------------------------------------------------------------------------- ]]
Config.WeaponClasses = {
['SMALL_CALIBER'] = 1,
['MEDIUM_CALIBER'] = 2,
['HIGH_CALIBER'] = 3,
['SHOTGUN'] = 4,
['CUTTING'] = 5,
['LIGHT_IMPACT'] = 6,
['HEAVY_IMPACT'] = 7,
['EXPLOSIVE'] = 8,
['FIRE'] = 9,
['SUFFOCATING'] = 10,
['OTHER'] = 11,
['WILDLIFE'] = 12,
['NOTHING'] = 13
}
Config.WoundStates = {
'Irritated',
'Fairly Painful',
'Extremely Painful',
'Unbearably Painful',
}
Config.BleedingStates = {
'Minor Bleeding',
'Significant Bleeding',
'Major Bleeding',
'Extreme Bleeding',
}
Config.MovementRate = {
0.98,
0.96,
0.94,
0.92,
}
Config.Bones = {
[0] = 'NONE',
[31085] = 'HEAD',
[31086] = 'HEAD',
[39317] = 'NECK',
[57597] = 'SPINE',
[23553] = 'SPINE',
[24816] = 'SPINE',
[24817] = 'SPINE',
[24818] = 'SPINE',
[10706] = 'UPPER_BODY',
[64729] = 'UPPER_BODY',
[11816] = 'LOWER_BODY',
[45509] = 'LARM',
[61163] = 'LARM',
[18905] = 'LHAND',
[4089] = 'LFINGER',
[4090] = 'LFINGER',
[4137] = 'LFINGER',
[4138] = 'LFINGER',
[4153] = 'LFINGER',
[4154] = 'LFINGER',
[4169] = 'LFINGER',
[4170] = 'LFINGER',
[4185] = 'LFINGER',
[4186] = 'LFINGER',
[26610] = 'LFINGER',
[26611] = 'LFINGER',
[26612] = 'LFINGER',
[26613] = 'LFINGER',
[26614] = 'LFINGER',
[58271] = 'LLEG',
[63931] = 'LLEG',
[2108] = 'LFOOT',
[14201] = 'LFOOT',
[40269] = 'RARM',
[28252] = 'RARM',
[57005] = 'RHAND',
[58866] = 'RFINGER',
[58867] = 'RFINGER',
[58868] = 'RFINGER',
[58869] = 'RFINGER',
[58870] = 'RFINGER',
[64016] = 'RFINGER',
[64017] = 'RFINGER',
[64064] = 'RFINGER',
[64065] = 'RFINGER',
[64080] = 'RFINGER',
[64081] = 'RFINGER',
[64096] = 'RFINGER',
[64097] = 'RFINGER',
[64112] = 'RFINGER',
[64113] = 'RFINGER',
[36864] = 'RLEG',
[51826] = 'RLEG',
[20781] = 'RFOOT',
[52301] = 'RFOOT',
}
Config.Weapons = {
--[[ Small Caliber ]]--
[`WEAPON_PISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_COMBATPISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_APPISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_COMBATPDW`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_MACHINEPISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_MICROSMG`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_MINISMG`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_PISTOL_MK2`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_SNSPISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_SNSPISTOL_MK2`] = Config.WeaponClasses['SMALL_CALIBER'],
[`WEAPON_VINTAGEPISTOL`] = Config.WeaponClasses['SMALL_CALIBER'],
--[[ Medium Caliber ]]--
[`WEAPON_ADVANCEDRIFLE`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_ASSAULTSMG`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_BULLPUPRIFLE`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_BULLPUPRIFLE_MK2`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_CARBINERIFLE`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_CARBINERIFLE_MK2`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_COMPACTRIFLE`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_DOUBLEACTION`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_GUSENBERG`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_HEAVYPISTOL`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_MARKSMANPISTOL`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_PISTOL50`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_REVOLVER`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_REVOLVER_MK2`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_SMG`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_SMG_MK2`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_SPECIALCARBINE`] = Config.WeaponClasses['MEDIUM_CALIBER'],
[`WEAPON_SPECIALCARBINE_MK2`] = Config.WeaponClasses['MEDIUM_CALIBER'],
--[[ High Caliber ]]--
[`WEAPON_ASSAULTRIFLE`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_ASSAULTRIFLE_MK2`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_COMBATMG`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_COMBATMG_MK2`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_HEAVYSNIPER`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_HEAVYSNIPER_MK2`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_MARKSMANRIFLE`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_MARKSMANRIFLE_MK2`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_MG`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_MINIGUN`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_MUSKET`] = Config.WeaponClasses['HIGH_CALIBER'],
[`WEAPON_RAILGUN`] = Config.WeaponClasses['HIGH_CALIBER'],
--[[ Shotguns ]]--
[`WEAPON_ASSAULTSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_BULLUPSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_DBSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_HEAVYSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_PUMPSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_PUMPSHOTGUN_MK2`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_SAWNOFFSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
[`WEAPON_SWEEPERSHOTGUN`] = Config.WeaponClasses['SHOTGUN'],
--[[ Animals ]]--
[`WEAPON_ANIMAL`] = Config.WeaponClasses['WILDLIFE'], -- Animal
[`WEAPON_COUGAR`] = Config.WeaponClasses['WILDLIFE'], -- Cougar
[`WEAPON_BARBED_WIRE`] = Config.WeaponClasses['WILDLIFE'], -- Barbed Wire
--[[ Cutting Weapons ]]--
[`WEAPON_BATTLEAXE`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_BOTTLE`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_DAGGER`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_HATCHET`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_KNIFE`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_MACHETE`] = Config.WeaponClasses['CUTTING'],
[`WEAPON_SWITCHBLADE`] = Config.WeaponClasses['CUTTING'],
--[[ Light Impact ]]--
--[`WEAPON_GARBAGEBAG`] = Config.WeaponClasses['LIGHT_IMPACT'], -- Garbage Bag
--[`WEAPON_BRIEFCASE`] = Config.WeaponClasses['LIGHT_IMPACT'], -- Briefcase
--[`WEAPON_BRIEFCASE_02`] = Config.WeaponClasses['LIGHT_IMPACT'], -- Briefcase 2
--[`WEAPON_BALL`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_FLASHLIGHT`] = Config.WeaponClasses['LIGHT_IMPACT'],
[`WEAPON_KNUCKLE`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_NIGHTSTICK`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_SNOWBALL`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_UNARMED`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_PARACHUTE`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[`WEAPON_NIGHTVISION`] = Config.WeaponClasses['LIGHT_IMPACT'],
--[[ Heavy Impact ]]--
[`WEAPON_BAT`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_CROWBAR`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_FIREEXTINGUISHER`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_FIRWORK`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_GOLFLCUB`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_HAMMER`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_PETROLCAN`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_POOLCUE`] = Config.WeaponClasses['HEAVY_IMPACT'],
[`WEAPON_WRENCH`] = Config.WeaponClasses['HEAVY_IMPACT'],
--[[ Explosives ]]--
[`WEAPON_EXPLOSION`] = Config.WeaponClasses['EXPLOSIVE'], -- Explosion
[`WEAPON_GRENADE`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_COMPACTLAUNCHER`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_HOMINGLAUNCHER`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_PIPEBOMB`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_PROXMINE`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_RPG`] = Config.WeaponClasses['EXPLOSIVE'],
[`WEAPON_STICKYBOMB`] = Config.WeaponClasses['EXPLOSIVE'],
--[[ Other ]]--
[`WEAPON_FALL`] = Config.WeaponClasses['OTHER'], -- Fall
[`WEAPON_HIT_BY_WATER_CANNON`] = Config.WeaponClasses['OTHER'], -- Water Cannon
[`WEAPON_RAMMED_BY_CAR`] = Config.WeaponClasses['OTHER'], -- Rammed
[`WEAPON_RUN_OVER_BY_CAR`] = Config.WeaponClasses['OTHER'], -- Ran Over
[`WEAPON_HELI_CRASH`] = Config.WeaponClasses['OTHER'], -- Heli Crash
[`WEAPON_STUNGUN`] = Config.WeaponClasses['OTHER'],
--[[ Fire ]]--
[`WEAPON_ELECTRIC_FENCE`] = Config.WeaponClasses['FIRE'], -- Electric Fence
[`WEAPON_FIRE`] = Config.WeaponClasses['FIRE'], -- Fire
[`WEAPON_MOLOTOV`] = Config.WeaponClasses['FIRE'],
[`WEAPON_FLARE`] = Config.WeaponClasses['FIRE'],
[`WEAPON_FLAREGUN`] = Config.WeaponClasses['FIRE'],
--[[ Suffocate ]]--
[`WEAPON_DROWNING`] = Config.WeaponClasses['SUFFOCATING'], -- Drowning
[`WEAPON_DROWNING_IN_VEHICLE`] = Config.WeaponClasses['SUFFOCATING'], -- Drowning Veh
[`WEAPON_EXHAUSTION`] = Config.WeaponClasses['SUFFOCATING'], -- Exhaust
[`WEAPON_BZGAS`] = Config.WeaponClasses['SUFFOCATING'],
[`WEAPON_SMOKEGRENADE`] = Config.WeaponClasses['SUFFOCATING'],
}