-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.lua
357 lines (326 loc) · 16.9 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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
Config = {}
Config.Language = 'en' -- Select your language here. [en / cs]
Config.MenuKey = false -- Configure the default key to open clothing menu (false to disable).
Config.UseRadial = false -- If true the radial menu will be used otherwise the context menu.
Config.AddGlobalRadialOption = true -- If true the global radial menu will have an option to open clothing menu.
Config.PlayerWontLoseProps = true -- Should player lose props (hat, glasses) on damage or not?
Config.OutfitRenaming = true -- Should the option to rename outfits be enabled?
Config.ClothingIdDesc = true -- Show ID of the clothing item in item description? (Doesn't work on QB)
Config.CreatedByDesc = false -- Show name of person that created the item in the description? Requires a framework.
-- █▀▀ █░░ █ █▀█ █▀█ █ █▄░█ █▀▀ █ █▀ █▀ █░█ █▀▀ █▀▀ █ ▀▄▀
-- █▄▄ █▄▄ █ █▀▀ █▀▀ █ █░▀█ █▄█ █ ▄█ ▄█ █▄█ ██▄ █▀░ █ █░█
Config.MaskFix = true -- Fix face clipping through certain masks?
Config.MaskFilter = {
enabled = false, -- Enable mask filter? Only specified masks will be whitelisted / blacklisted.
blacklist = true, -- If false it will act as a whitelist.
list = { -- Specify mask IDs for the filter here.
-- 1, -- example
}
}
Config.HatFix = true -- Fix hair clipping through certain hats?
Config.HatFilter = {
enabled = true, -- Enable hat filter? Only specified hats will be whitelisted / blacklisted.
blacklist = true, -- If false it will act as a whitelist.
list = { -- Specify hat IDs for the filter here.
-- 1, -- example
}
}
-- █▀▀ █░█ █▄░█ █▀▀ ▀█▀ █ █▀█ █▄░█ ▄▀█ █░░ █▀▀ █▀▀ ▄▀█ █▀█
-- █▀░ █▄█ █░▀█ █▄▄ ░█░ █ █▄█ █░▀█ █▀█ █▄▄ █▄█ ██▄ █▀█ █▀▄
Config.FunctionalGear = {
enabled = true, -- Enable working NV goggles and other GTA stuff?
useKey = 'H', -- Configure the default key to use gear.
}
-- ▀█▀ █▀▀ ▄▀█ █▀█ █ █▄░█ █▀▀
-- ░█░ ██▄ █▀█ █▀▄ █ █░▀█ █▄█
Config.TearClothes = false -- Enable tearing clothes? Will give an item if successful.
Config.TearMinigameSettings = { enabled = false, keys = {'E'}, difficulty = {'easy'} } -- Enable minigame when tearing clothes? You can add multiple keys and difficulties.
Config.Tearing = {
['outfit'] = {give = 'cloth', amount = 3, duration = 5000}, -- "give" = item to give when successful / "amount" = specifies the quantity player receives / "duration" = indicates the duration of the process
['torso'] = {give = 'cloth', amount = 2, duration = 5000},
['clothes'] = {give = 'cloth', amount = 1, duration = 5000},
}
-- █▀▀ █▀█ █▀▄▀█ █▀▄▀█ ▄▀█ █▄░█ █▀▄ █▀
-- █▄▄ █▄█ █░▀░█ █░▀░█ █▀█ █░▀█ █▄▀ ▄█
Config.Commands = {
enabled = true, -- Enable or disable commands for taking off clothes faster.
list = { -- You can rename your commands here.
outfit = 'outfit',
mask = 'mask',
gloves = 'gloves',
pants = 'pants',
backpack = 'backpack',
shoes = 'shoes',
chain = 'chain',
shirt = 'shirt',
vest = 'vest',
decals = 'decals',
jacket = 'jacket',
hat = 'hat',
glasses = 'glasses',
earrings = 'earrings',
watch = 'watch',
bracelet = 'bracelet'
}
}
-- █▀▄▀█ █▀▀ █▄░█ █░█
-- █░▀░█ ██▄ █░▀█ █▄█
Config.Menu = {
outfit = true, -- "Take off outfit" button.
outfitOther = true, -- "Take off player outfit" button.
clothes = { -- Clothing category
enabled = true, -- Enable or disable category.
options = { -- You can toggle individual buttons here.
[1] = { -- mask
title = 'mask_label',
icon = 'masks-theater'
},
[3] = { -- gloves
title = 'gloves_label',
icon = 'mitten'
},
[4] = { -- pants
title = 'pants_label',
icon = 'socks'
},
[5] = { -- Will not work if Config.AutomaticBackpack is enabled.
title = 'backpack_label',
icon = 'briefcase'
},
[6] = { -- shoes
title = 'shoes_label',
icon = 'shoe-prints'
},
[7] = { -- accessory
title = 'chain_label',
icon = 'gem'
},
[8] = { -- top
title = 'top_label',
icon = 'shirt'
},
[9] = { -- vest
title = 'vest_label',
icon = 'vest'
},
[10] = { -- decals
title = 'badges_label',
icon = 'id-badge'
},
}
},
props = { -- Prop category (accessories)
enabled = true, -- Enable or disable category.
options = { -- You can toggle individual buttons here.
[0] = { -- hat
title = 'hat_label',
icon = 'hat-cowboy'
},
[1] = { -- glasses
title = 'glasses_label',
icon = 'glasses'
},
[2] = { -- ear accessory
title = 'earrings_label',
icon = 'ear-deaf'
},
[6] = { -- watch
title = 'watch_label',
icon = 'clock'
},
[7] = { -- bracelet
title = 'bracelet_label',
icon = 'ring'
},
}
}
}
-- ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ █▀
-- █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ ▄█
Config.Animations = { -- You can configure your animations for taking off clothes.
take_off = {
[1] = { dict = "missfbi4", clip = "takeoff_mask", flag = 51, duration = 1200 }, -- Mask
[3] = { dict = "nmt_3_rcm-10", clip = "cs_nigel_dual-10", flag = 51, duration = 1200 }, -- Gloves
[4] = { dict = "re@construction", clip = "out_of_breath", flag = 51, duration = 1300 }, -- Pants
[5] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Bag
[6] = { dict = "random@domestic", clip = "pickup_low", flag = 51, duration = 1200 }, -- Shoes
[7] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Accessory
[8] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Shirt
[9] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Vest
[10] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 } -- Decals
},
put_on = {
[1] = { dict = "mp_masks@on_foot", clip = "put_on_mask", flag = 51, duration = 600 }, -- Mask
[3] = { dict = "nmt_3_rcm-10", clip = "cs_nigel_dual-10", flag = 51, duration = 1200 }, -- Gloves
[4] = { dict = "re@construction", clip = "out_of_breath", flag = 51, duration = 1300 }, -- Pants
[5] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Bag
[6] = { dict = "random@domestic", clip = "pickup_low", flag = 51, duration = 1200 }, -- Shoes
[7] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 15, duration = 1200 }, -- Accessory
[8] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Shirt
[9] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 }, -- Vest
[10] = { dict = "clothingshirt", clip = "try_shirt_positive_d", flag = 51, duration = 1200 } -- Decals
}
}
Config.PropAnimations = { -- You can configure your animations for taking off props.
take_off = {
[0] = { dict = "missheist_agency2ahelmet", clip = "take_off_helmet_stand", flag = 51, duration = 600 }, -- Hat
[1] = { dict = "clothingspecs", clip = "take_off", flag = 51, duration = 1400 }, -- Glasses
[2] = { dict = "mp_cp_stolen_tut", clip = "b_think", flag = 51, duration = 900 }, -- Ear accessories
[6] = { dict = "mp_arresting", clip = "a_uncuff", flag = 51, duration = 900 }, -- Watch
[7] = { dict = "mp_arresting", clip = "a_uncuff", flag = 51, duration = 900 } -- Bracelet
},
put_on = {
[0] = { dict = "veh@common@fp_helmet@", clip = "put_on_helmet", flag = 51, duration = 2000 }, -- Hat
[1] = { dict = "clothingspecs", clip = "take_off", flag = 51, duration = 1400 }, -- Glasses
[2] = { dict = "mp_cp_stolen_tut", clip = "b_think", flag = 51, duration = 900 }, -- Ear accessories
[6] = { dict = "mp_arresting", clip = "a_uncuff", flag = 51, duration = 900 }, -- Watch
[7] = { dict = "mp_arresting", clip = "a_uncuff", flag = 51, duration = 900 } -- Bracelet
}
}
-- █▀▄ █▀▀ █▀▀ ▄▀█ █░█ █░░ ▀█▀ █▀▀ █░░ █▀█ ▀█▀ █░█ █▀▀ █▀
-- █▄▀ ██▄ █▀░ █▀█ █▄█ █▄▄ ░█░ █▄▄ █▄▄ █▄█ ░█░ █▀█ ██▄ ▄█
-- Configure your default player clothes for both genders (with these clothes player will be considered as naked).
Config.DefaultPlayerClothes = {
Male = {
Components = {
[1] = { index = 1, drawable = 0, texture = 0 }, -- Mask
[3] = { index = 3, drawable = 15, texture = 0 }, -- Gloves
[4] = { index = 4, drawable = 26, texture = 0 }, -- Pants
[5] = { index = 5, drawable = 0, texture = 0 }, -- Bag
[6] = { index = 6, drawable = 78, texture = 0 }, -- Shoes
[7] = { index = 7, drawable = 0, texture = 0 }, -- Accessory
[8] = { index = 8, drawable = 15, texture = 0 }, -- Shirt
[9] = { index = 9, drawable = 0, texture = 0 }, -- Vest
[10] = { index = 10, drawable = 0, texture = 0 }, -- Decals
[11] = { index = 11, drawable = 15, texture = 0 } -- Jacket
},
Props = {
[0] = { index = 0, drawable = -1, texture = -1 }, -- Hat
[1] = { index = 1, drawable = -1, texture = -1 }, -- Glasses
[2] = { index = 2, drawable = -1, texture = -1 }, -- Ear accessory
[6] = { index = 6, drawable = -1, texture = -1 }, -- Watch
[7] = { index = 7, drawable = -1, texture = -1 } -- Bracelet
}
},
Female = {
Components = {
[1] = { index = 1, drawable = 0, texture = 0 }, -- Mask
[3] = { index = 3, drawable = 15, texture = 0 }, -- Gloves
[4] = { index = 4, drawable = 15, texture = 0 }, -- Pants
[5] = { index = 5, drawable = 0, texture = 0 }, -- Bag
[6] = { index = 6, drawable = 91, texture = 0 }, -- Shoes
[7] = { index = 7, drawable = 0, texture = 0 }, -- Accessory
[8] = { index = 8, drawable = 14, texture = 0 }, -- Shirt
[9] = { index = 9, drawable = 0, texture = 0 }, -- Vest
[10] = { index = 10, drawable = 0, texture = 0 }, -- Decals
[11] = { index = 11, drawable = 17, texture = 0 } -- Jacket
},
Props = {
[0] = { index = 0, drawable = -1, texture = -1 }, -- Hat
[1] = { index = 1, drawable = -1, texture = -1 }, -- Glasses
[2] = { index = 2, drawable = -1, texture = -1 }, -- Ear accessory
[6] = { index = 6, drawable = -1, texture = -1 }, -- Watch
[7] = { index = 7, drawable = -1, texture = -1 } -- Bracelet
}
}
}
-- █▄▄ ▄▀█ █▀▀ █▄▀ █▀█ ▄▀█ █▀▀ █▄▀ █▀
-- █▄█ █▀█ █▄▄ █░█ █▀▀ █▀█ █▄▄ █░█ ▄█
-- If enabled, if player has the items configured below they will be visually shown as a piece of clothing on the character (button for taking off bags will be disabled).
-- If disabled, backpacks will work like any other clothing item (button for taking off bags will be enabled).
Config.AutomaticBackpack = false
Config.Backpacks = {
[1] = { -- The number is the backpack priority (if player has item 1 and item 2 then item 1 will be always shown).
item = 'large_backpack', -- Item name of your backpack.
drawable = 66, -- Drawable ID of the backpack.
texture = 0 -- Texture ID of the backpack.
},
[2] = {
item = 'medium_backpack',
drawable = 65,
texture = 0
},
[3] = {
item = 'small_backpack',
drawable = 67,
texture = 0
},
}
-- █▄░█ █▀█ ▀█▀ █ █▀▀ █▄█
-- █░▀█ █▄█ ░█░ █ █▀░ ░█░
-- You can edit the notifications here.
function notify(text, type)
lib.notify({
title = 'CLOTHING',
description = text,
type = type
})
end
-- █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░ █▀█ █░█ ▀█▀ █▀▀ █ ▀█▀ █▀
-- ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄ █▄█ █▄█ ░█░ █▀░ █ ░█░ ▄█
-- This section allows you to configure specific outfits to have "special effects".
-- For example: You can make fireman uniform fire proof.
-- If you have the effect script it will be automatically available to be used with these outfits to show them visually.
Config.EnableSpecialOutfits = false -- Should special outfits be enabled or disabled?
Config.MarkUnnamedOutfits = false -- Should these outfits be marked by default? Can prevent players from faking outfits by renaming them.
Config.MarkText = '⭐'
-- WORK IN PROGRESS --------------------------------------------------------
Config.UseOutfitEffects = false -- Requires the effects script.
-- You can find it here: https://github.com/LikeManTV/effects
-- WORK IN PROGRESS --------------------------------------------------------
Config.SpecialOutfits = {
-- {
-- label = 'Example Outfit',
-- outfitEffect = 'outfit',
-- proofs = {
-- false, -- BULLET
-- false, -- FIRE
-- false, -- EXPLOSION
-- false, -- COLLISION
-- false, -- MELEE
-- false, -- STEAM
-- false,
-- false -- DROWNING
-- },
-- Male = {
-- comps = {
-- [1] = {d = 0, t = 0}, -- Mask
-- [3] = {d = 0, t = 0}, -- Gloves
-- [4] = {d = 0, t = 0}, -- Pants
-- [6] = {d = 0, t = 0}, -- Shoes
-- [7] = {d = 0, t = 0}, -- Accessory
-- [8] = {d = 0, t = 0}, -- Shirt
-- [9] = {d = 0, t = 0}, -- Vest
-- [10] = {d = 0, t = 0}, -- Decals
-- [11] = {d = 0, t = 0}, -- Jacket
-- },
-- props = {
-- [0] = {d = 0, t = 0}, -- Hat
-- [1] = {d = 0, t = 0}, -- Glassses
-- [2] = {d = 0, t = 0}, -- Ear accessory
-- [6] = {d = 0, t = 0}, -- Watch
-- [7] = {d = 0, t = 0}, -- Bracelet
-- }
-- },
-- Female = {
-- comps = {
-- [1] = {d = 0, t = 0}, -- Mask
-- [3] = {d = 0, t = 0}, -- Gloves
-- [4] = {d = 0, t = 0}, -- Pants
-- [6] = {d = 0, t = 0}, -- Shoes
-- [7] = {d = 0, t = 0}, -- Accessory
-- [8] = {d = 0, t = 0}, -- Shirt
-- [9] = {d = 0, t = 0}, -- Vest
-- [10] = {d = 0, t = 0}, -- Decals
-- [11] = {d = 0, t = 0}, -- Jacket
-- },
-- props = {
-- [0] = {d = 0, t = 0}, -- Hat
-- [1] = {d = 0, t = 0}, -- Glassses
-- [2] = {d = 0, t = 0}, -- Ear accessory
-- [6] = {d = 0, t = 0}, -- Watch
-- [7] = {d = 0, t = 0}, -- Bracelet
-- }
-- }
-- },
}