Skip to content

Replacing Freemode Clothing

Quick answer

You replace a vanilla item by naming your files exactly like the ones already in the game and streaming them from a resource. The game loads yours instead. No new collection is created, so no YMT slot is used.

Difficulty: Advanced · Affects: both · Naming pattern CONFIRMED

INFO

Search: replace clothing, overwrite vanilla, mp_m_freemode_01, berd, replace mask, rename files.

Last verified 31 August 2026 · docs.gta.clothing · Cfx forum: clothing slots.

The two ped models

ModelGender
mp_m_freemode_01Male
mp_f_freemode_01Female

They are separate models with separate skeletons. A mesh built for one will not work correctly on the other, and replacing an item on one gender does nothing for the other.

Naming

To replace the vanilla mask at berd index 001 on the male ped, your files must be named:

mp_m_freemode_01^berd_001_u.ydd
mp_m_freemode_01^berd_diff_001_a_uni.ytd
mp_m_freemode_01^berd_diff_001_b_uni.ytd
mp_m_freemode_01^berd_diff_001_c_uni.ytd

Reading the pattern:

PartMeaning
mp_m_freemode_01Target ped model
^Separator between dictionary and asset
berdComponent type — see component IDs
001Drawable index being replaced
_uDrawable suffix (_u universal, _r skin-toned)
diffDiffuse texture
a, b, cTexture variation letters
uniTexture suffix matching the drawable type

DANGER

Do not guess these names. If the index, suffix or texture letter does not match the vanilla asset exactly, the item will not be replaced — it will simply not load, and you will see the original or nothing.

Finding the real filenames

You need the exact vanilla names before you export anything. Pleb Masters: Forge publishes the model and texture file paths for every vanilla clothing item, which is the standard way to look them up.

Work from the actual name of the item you intend to replace, not from a pattern you inferred from another item.

Resource structure

zaiders_replace/
├── fxmanifest.lua
└── stream/
    ├── mp_m_freemode_01^berd_001_u.ydd
    └── mp_m_freemode_01^berd_diff_001_a_uni.ytd

A replace resource needs no data_file entry for a clothing collection, because it is not declaring one. It streams files that shadow existing assets. See Clothing fxmanifest.

Testing

  1. ensure the resource and restart the server.
  2. Join and open the clothing menu on the correct gender.
  3. Navigate to that component and that specific index.
  4. Confirm every texture variation, not just the first.
  5. Confirm the item you did not intend to replace is unchanged.

Conflicts

RiskConsequence
Two resources replace the same fileLoad order decides the winner, silently
A vanilla item players used is goneSaved outfits show your item instead
Replacing a whole collection with a build toolRemoves original items and can shift later global drawable IDs

Keep replacements in one clearly named resource, and keep a list of what you replaced. Two years later that list is the only way to know why a vanilla jacket looks wrong.

Support for Zaiders Store FiveM clothing packs.