Configuration · origen_clothing
Configuration is split across several files inside config/:
config/_main.lua— general settings, framework, permissions, payment, pricesconfig/stores.lua— store types and their blip/label definitionsconfig/cameras.lua— camera zones for the dressing room UIconfig/jobOuffits.lua— job outfit configurationconfig/peds.lua— ped model definitionsconfig/appearance.lua— appearance component configuration
config/_main.lua
General
| Variable | Default | Description |
|---|---|---|
Config.Language | 'en' | UI language — 'en' | 'es' |
Config.Debug | true | Enable debug logging to console |
Config.UseOnlyInputs | false | Use text inputs instead of item images to select clothes |
Config.FixWetClothPhysics | true | Fix wet clothes physics when it rains |
Commands
| Variable | Default | Description |
|---|---|---|
Config.managementCommand | 'clothingadmin' | Open the store management menu |
Config.reloadSkinCommand | 'reloadskin' | Reload the player's appearance |
Config.openClothingCommand | 'skin' | Open the clothing/character menu |
Config.openPedsMenuCommand | 'pedmenu' | Open the peds selection menu |
Permissions
Groups allowed to access the admin/management menu. Leave empty {} to allow all players:
Config.Permissions = {
'god',
'superadmin',
'admin',
}Payment
| Variable | Default | Description |
|---|---|---|
Config.DefaultPaymentMethod | 'bank' | Default account used for purchases |
Enabled payment methods:
Config.PaymentMethods = {
['cash'] = true,
['bank'] = true,
}Prices
| Variable | Default | Description |
|---|---|---|
Config.DefaultPrice | 20 | Fallback price for any item without a category price |
Default price per category:
Config.DefaultPriceByCategory = {
['masks'] = 100,
['jackets'] = 100,
['shirts'] = 100,
['torsos'] = 100,
['vest'] = 100,
['legs'] = 100,
['shoes'] = 100,
['bags'] = 100,
['neck'] = 100,
['decals'] = 100,
['hats'] = 100,
['glasses'] = 100,
['earrings'] = 100,
['watches'] = 100,
['bracelets'] = 100,
}Remove item defaults
Defines the hash used to "remove" each clothing category for male and female freemode models. These are the values applied when a player removes an item:
Config.RemoveItem = {
[`mp_m_freemode_01`] = {
['masks'] = 'none--1--0--0',
['torsos'] = 'none--3--0--0',
['legs'] = 'none--4--0--0',
['bags'] = 'none--5--0--0',
['shoes'] = 'none--6--0--0',
['neck'] = 'none--7--0--0',
['shirts'] = 'none--8--0--0',
['vest'] = 'none--9--0--0',
['decals'] = 'none--10--0--0',
['jackets'] = 'none--11--0--0',
['hats'] = 'none--1000---1--0',
['glasses'] = 'none--1001---1--0',
['earrings'] = 'none--1002---1--0',
['watches'] = 'none--1006---1--0',
['bracelets']= 'none--1007---1--0',
},
-- Female model uses same structure
}config/stores.lua
Defines available store types with their blip settings:
| Type | Blip sprite | Description |
|---|---|---|
clothes | 73 | Clothing store |
barber | 71 | Barber shop |
tattoos | 75 | Tattoo parlor |
masks | 362 | Mask store |
Stores themselves are managed in-game via the admin panel (/clothingadmin) and persisted in the origen_clothing_stores DB table.
config/cameras.lua
Defines camera positions for each body zone in the dressing room UI. Each zone points to a bone ID, camera offset, target offset and field of view.
The whole key sets the default zone used when no specific zone is active (defaults to ZONE_SHIRTS). Several zones are aliases — e.g. ZONE_MASKS = "ZONE_NOSE".
Do not modify the bottom section of cameras.lua that resolves string aliases — it must run after all zones are defined.