Skip to content

Add clothes

The Add clothes wizard puts clothes into a pack for you. It reads the files, works out what each piece is and who wears it, shows you exactly what will change, and only then writes anything.

The Add clothes wizard on its first page, “What have you got?”, with its choices

Open your clothing project first. Its packs are then offered as places for the clothes to go. Then use any of these:

  • Add clothes in the toolbar.
  • Add clothes… at the top of the Wardrobe.
  • Clothing → Add clothes… (guided).
  • Drag files onto the studio window while a clothing project is open: .ydd, .yft, .ydd.xml, a folder, or a .zip, .rar or .7z.

The wizard has four steps, shown at the top: What you have, What I found, Where they go and What will happen.

Choice Use it when
Some clothes — pick the files You have loose .ydd files from a designer, or want a few pieces out of another pack. Their colour files next to them come too. You can also pick .ydd.xml files (CodeWalker or Sollumz XML).
A clothing pack I downloaded You have a finished pack folder. Pick it, then tick which clothes to take. Every piece can be picked on its own.
Nothing yet — start an empty pack You want a new, empty pack now and clothes later. The wizard goes straight to Where they go.
Collect files in this project, no pack yet You want to build a pack from scratch later on the Build page. The files are copied into a project-files folder inside your project folder, and the project uses the copies. Your originals are never changed.
Coming from Durty? You made clothes in Durty Cloth Tool. See Bring over Durty work.

You can also drop files, a pack folder or an archive (.zip, .rar, .7z) on the wizard window. An archive is unpacked first.

Under the choices is a tick box: Place by file name, only ask when the name can’t be read. When it is on, files named the way the game expects go straight into the pack you used last, without questions. The wizard only opens for files whose names don’t say what they are or who wears them. The studio remembers this choice.

The wizard page listing the pieces it found, grouped by slot

The page sums up what is in the files. Each card is one group: one kind of piece, for men or for women.

  • Untick a card to leave that whole group out.
  • Click Choose pieces… to tick pieces one by one, with pictures.
  • If you picked a few files from a folder, the other files in that folder are listed unticked, in case you want them too.

A yellow card means the studio could not tell from the names what the pieces are, or who wears them. Pick the slot (props are marked worn on top) and Worn by men or Worn by women, then click That’s right. You can’t go on until every yellow card is answered.

LEFT OUT lists files that can’t come in, with the reason. A piece locked by its creator (escrow) can never be copied.

A piece with no colour file next to it still comes in, without colours. The game does not offer it until it has one. Open the piece in the Wardrobe afterwards and drop its .ytd on it. See Colours and textures.

The wizard page “Where should they go?” with an existing pack picked and the in-game stores box ticked

  • Into a pack I already have. The list shows the packs in your project and the packs your server starts, with who they are for. A pack your server doesn’t start yet is marked not started by your server. Clothes are added after the ones already in the pack, so nothing in it changes place.
  • Into a new pack. Type a name, choose where it goes (your server’s resources folder is best) and pick Clothes for: Men and women, Men only or Women only. The page shows the collection names the pack will have, such as mp_m_freemode_01_mp_m_mypack. The studio checks that the name is free on your server.

Also list them in the in-game clothing stores is on by default. It adds each piece to the pack’s shop meta, so it shows in the game’s own clothing stores. Without it, the clothes still work in clothing menu scripts. If the pack has no shop list at all, the wizard tells you.

The wizard page “Here is what will happen”, the plan in plain words

Nothing has been written yet. This page says, in plain words, exactly what will happen. For example:

  • 3 × Tops / Jackets for men go in as items 47–49 of that kind.
  • Every file takes this pack’s own name and the next free number — for example hoodie becomes mp_m_freemode_01_mp_m_mypack^jbib_046_u.
  • Nothing already in the pack is replaced or renumbered, so outfits players already saved keep working.
  • Your server does not start this pack yet — it needs the line: ensure mypack

Click Add the clothes. The wizard shows Adding N of M… while it copies.

A slot holds 128 pieces per gender (see How clothing packs work). If the clothes would pass that, or the pack has no side for that gender, a WHAT DOES NOT FIT box lists them, for example 12 × Tops / Jackets for men — that kind is full (128 of 128). Choose:

  • Leave them out (the default): those pieces are skipped. No other pack is made or changed.
  • Put them in another pack I already have: pick the pack from the list.
  • Make a new pack for them: a second pack next to the first. The studio suggests a name.

The last page says how many pieces are now in the pack. Under WHAT NOW it tells you the one thing left to do:

  • If your server already starts the pack: restart the server (or refresh and ensure the pack) and the clothes are in the game.
  • If it doesn’t: add ensure <pack name> to server.cfg, then restart.
  • If the pack is not inside your server: copy the pack folder into your server’s resources folder first.

Two buttons help:

  • Open the pack folder.
  • Copy the server.cfg line copies ensure <pack name> so you can paste it into server.cfg.

The studio does not copy the pack onto your server for you. Build and put it on your server has the details.

Clothing menu scripts number pieces across every pack your server starts, in start order. After each import the studio writes a .csv next to the pack, in its .noxsware\imports\ folder, with a name ending in -menu-numbers.csv. It lists the number each new piece has in a clothing menu. Open it in Excel when you fill in a shop or job script.

For every pack on your server at once, use Export menu numbers (CSV)… on the Server limits page.

Every import is saved as one step in History, with a copy of everything it changed.

  1. Open Edit → History (undo / redo changes)…, or click History in the toolbar.
  2. Find the import. The newest changes are at the top. The Imports filter narrows the list.
  3. Click Undo. The copied files are removed (and the new pack, if one was made), replaced files come back, and the .ymt and shop meta return to how they were.

If you changed the files after the import, History asks Undo anyway? before it puts the old copies back. See History and undo.

Choose Coming from Durty? on the first page. Then pick one of two:

  • A resource Durty built: the FiveM resource folder Durty made (stream files and a .ymt). Every piece comes with its colours, who wears it, its slot and its flags.
  • A Durty project (.dctproj) (Experimental): the project file Durty saves, with its clothproject_ folder next to it.

Projects saved by Durty 4 are sealed, and only Durty can open them. The wizard then shows the steps: open the project in Durty Cloth Tool, build it as a FiveM resource, and come back to pick that folder with A resource Durty built. You can also bring in the model files from the project folder as loose files; their slot and gender are then read from their names.

  • Slot comes from the code in the name (jbib, lowr, p_head…). Without one, it looks for words like top, jacket, pants, shoe, hat or glass.
  • Men or women comes from mp_m_ / male or mp_f_ / female.
  • Skin comes from _u (covers the skin) or _r (shows skin).
  • Colours are matched to their piece by number and put in order by letter.

If a guess is wrong, fix it on the piece page. The filter keyword review in the Explorer shows the pieces whose slot or gender was guessed.

Next: The wardrobe and a piece.