Default Variants
Configuring "No Clothing" Variants
The Clothing Menu allows you to define the appearance of your character when they are not wearing a specific clothing item. This is particularly useful for roleplay servers or scenarios where players might need to remove certain articles of clothing. The Config.defaultVariants
table is used to set these "no clothing" configurations.
Structure of No Clothing Variants
gender
: A string representing the player's gender. Use'mp_m_freemode_01'
for male and'mp_f_freemode_01'
for female.clothing_item
: A string representing the type of clothing item (e.g.,top
,pants
,shoes
).table
: An array containing tables that define the "no clothing" appearance for that item. Each table has the following properties:drawable
: The drawable ID of the clothing component.id
: The texture ID of the clothing component.texture
: The palette ID of the clothing component (if applicable).
animation
: The name of the animation to play when equipping or removing the item (if applicable).
Example Configuration:
Flexibility of the table
Property
table
PropertyThe table
property allows you to define multiple layers or variations for the "no clothing" appearance. Each entry within the table
array represents a different layer or component, and they are applied in the order they are listed.
Important Notes:
You'll need to research and find the appropriate
drawable
,id
, andtexture
values to achieve the desired "no clothing" appearance for each item and gender.Test your changes thoroughly in-game to ensure everything works as expected.
Please note that clothing order depends on each server clothing pack.
Last updated