Skip to content

Clipping check and department kits

Two checks for clothing that is worn together: the Clipping check finds pieces that show through each other, and Department kits checks a whole department’s uniforms and vehicles at once. Both are under Tools → Clothing checks.

Clipping is when a piece underneath pokes through the piece over it: a shirt through a jacket, or hair through a hat. Open Tools → Clothing checks → Clipping check (Experimental).

The Clipping check page after checking two pieces against each other

The check puts the pieces on the game’s own ped skeleton, which the Ped Preview copies from your GTA V install the first time it opens. If the page says Open the Ped Preview once, click Open the Ped Preview first.

Pick what to check:

Button Checks Time
Check two pieces… One piece worn underneath against one worn over it. Seconds
Check one piece against its pack… One piece against everything in its pack it is worn with. A minute at most
Check my pack Your project’s pack: every undershirt against every top and vest, every hair against every hat and mask. Half an hour or more for a big pack
Check a pack folder… The same, for any pack folder. Same

Two options make it faster or more thorough: Check standing only (faster) and Also list small spots (under 10 cm²). Stop ends a long check.

The pieces are checked standing, walking and running. Pieces with cloth physics (.yld) are only checked standing. Nothing is changed.

Each pair that clips gets a picture, with what shows through marked red, and a line such as About 12 cm² shows (8% of what the top covers), up to 0.6 cm out. Worst when walking.

  • Show on the ped puts the pair on the Ped Preview.
  • Most clipping is fixed by not offering the two together, or in the model (Model Studio has Shrinkwrap to body and Push out from body).
  • For hair under a hat, click Squash the hair under this hat. It sets the hat’s hair squash in its pack’s .ymt, as on the piece page. The hat must be in a pack with a .ymt.

Some pairs are listed but are not real clipping: a belt worn over a piece, or a piece that only covers a sliver (a strap, glasses). The result says so.

A department kit holds one department’s uniforms and vehicles, for example LSPD. The studio checks them together, then writes the job config for your clothing menu and job script. Open Tools → Clothing checks → Department kits (Experimental).

The Department kits page with the New kit button

  1. Click New kit, type the Department name (as players know it) and click Create.
  2. Set the Job name your framework uses, and pick your server’s resources folder with Pick the server folder…. That is where the vehicles and clothing packs are looked for.
  3. Add uniforms: Add one of my saved outfits ▾ (from the Outfits page) or Add a uniform from pieces…. Set the Grades that wear each uniform (empty means all).
  4. Add vehicles: Add a vehicle by name or Add the emergency vehicles in a folder…. For each vehicle set the NAME IN MENUS, the LIVERY and FROM GRADE.
  5. Click Check the kit. Nothing is changed. A big server takes a minute or two.
  6. Fix what the check found, below or in the packs, and click Check again.
  7. Click Write the job config… and choose a folder.

The check looks at every uniform piece (is it on the server, is its number in range, do the pieces clip), every vehicle (is it there, with its light pattern and livery) and the light patterns (is a light number shared with another pattern).

Write the job config… writes:

File What it is
<department>_outfits.lua The uniforms as illenium-appearance job outfits.
<department>_vehicles.lua The vehicle list and liveries for your job script.
<department>_kit.json Everything in the kit, for any other script.
README.txt Where the files go, and the check results when it was written.

If the check found problems, you can still write the config with Write the job config anyway…; the problems are listed in its README.

Deleting a kit removes only the kit. No clothing, vehicle or exported file is touched.

Next: Server limits.