SHOPPING CART

Onex

Command Palette

Search for a command to run...

PREVIEW IMAGES#

Preview images show clothing items in the UI menu. Default clothes have pre-recorded previews available for download, while addon clothes require recording using the studio system.

Overview#

Clothing TypePreview SourceAction Required
Base GamePre-recorded downloadDownload and extract
DLCPre-recorded downloadDownload and extract
AddonsRecord yourselfUse studio commands

Default Clothes Previews (Download)#

For base game and DLC clothing, pre-recorded preview images are available for download.

Step 1: Download Previews#

Download the pre-recorded previews package:

Download Link: Check the !ReadMe.md file in your onex-creation folder for the current Google Drive download link.

The download contains:

  • All base game clothing previews
  • All DLC clothing previews
  • Organized by gender and component

Step 2: Extract to Previews Folder#

Extract the downloaded archive to your onex-creation folder:

onex-creation
previews
base
male
torso
shirt
female
dlc
[collection_name]

Step 3: Verify Installation#

After extraction, your previews folder should contain:

previews
base
male
torso
0_0.webp
0_1.webp
shirt
pants
female
dlc
mpbiker
mpgunrunning

If previews don't appear in the UI after extraction, restart your server to refresh the file cache.

Addon Clothes Previews (Record)#

Custom addon clothing requires recording previews using the built-in studio system.

Prerequisites#

Before recording addon previews:

  1. Calibration complete - Run /clothescallibrate addon yourpack first
  2. Admin permissions - Studio commands require admin access
  3. In-game player - Commands must be run in-game, not console

Important Order: You MUST calibrate addon clothes BEFORE recording previews. The studio uses calibration data to know which items to photograph.

Studio Commands#

Open Studio Interface#

/clothesstudio

Opens the interactive studio UI for manual preview generation.

Studio Features:

  • Controlled environment (lighting, weather, background)
  • Camera positioning
  • Manual item selection
  • Preview capture controls

How to use:

  1. Run /clothesstudio to enter studio mode
  2. Use the UI to select clothing items
  3. Capture previews manually
  4. Run /clothesstudio again to exit

Automated Preview Recording#

/shootclothes [rarity] [collection] [gender]

Automatically photographs all clothing items based on filters.

Parameters:

ParameterValuesDescription
raritybase, dlc, addon, addons, allWhich tier to shoot
collection(optional)Specific collection name
gendermale, femaleWhich gender to shoot

Examples:

# Shoot all addon clothes for male characters /shootclothes addon male # Shoot all addon clothes for female characters /shootclothes addon female # Shoot specific addon pack /shootclothes addon mypack male /shootclothes addon mypack female # Shoot everything (takes a long time!) /shootclothes all male /shootclothes all female

Automated shooting can take a significant amount of time depending on how many items need to be photographed. Each item with multiple textures requires separate shots.

Shoot Specific Collection#

/shootcollection [collection] [component] [gender]

Photographs a specific collection with optional component filter.

Parameters:

ParameterValuesDescription
collectionRequiredCollection name (e.g., mypack, mpbiker)
componentOptionalComponent key (e.g., torso, pants)
genderOptionalmale or female

Examples:

# Shoot entire collection for both genders /shootcollection mypack # Shoot only torso items from collection /shootcollection mypack torso # Shoot only male items from collection /shootcollection mypack male # Shoot specific component and gender /shootcollection mypack torso male

Preview File Format#

Directory Structure#

Previews are organized by rarity, collection, gender, and component:

previews/{rarity}/{collection}/{gender}/{component}/

Examples:

  • previews/base/male/torso/
  • previews/dlc/mpbiker/female/pants/
  • previews/addons/mypack/male/shirt/

File Naming#

Preview files follow this naming convention:

{localIndex}_{textureId}.webp

Examples:

  • 0_0.webp - Item 0, texture 0
  • 0_1.webp - Item 0, texture 1
  • 1_0.webp - Item 1, texture 0
  • 15_3.webp - Item 15, texture 3

Image Format#

PropertyValue
FormatWebP
PurposeOptimized for web/UI display
SizeVariable (typically 128x128 to 256x256)

Recording Workflow#

For New Addon Pack#

Install addon clothing pack#

Place the addon pack files in your server's resources folder.

Calibrate the addon#

/clothescallibrate addon packname

Validate calibration#

/clothesvalidate

Record male previews#

/shootclothes addon packname male

Record female previews#

/shootclothes addon packname female

Verify previews appear in UI#

Check the clothing menu to confirm previews are displaying correctly.

For Missing Previews#

If some items show no preview in the UI:

Identify the collection and component#

Note which items are missing previews and their collection name.

Check if calibration data exists#

Look in: collections/addons/packname/

If missing, recalibrate#

/clothescallibrate addon packname

Shoot the specific collection#

/shootcollection packname

Or use studio for manual capture#

/clothesstudio

Troubleshooting#

Previews Not Showing in UI#

Problem: Items appear but have no preview image

Solutions:

  1. Verify preview files exist in correct location
  2. Check file naming matches expected format
  3. Restart server to refresh file cache
  4. Ensure calibration was completed first

Studio Won't Open#

Problem: /clothesstudio command does nothing

Solutions:

  1. Verify admin permissions are granted
  2. Check for script errors in F8 console
  3. Ensure onex-creation started without errors
  4. Try restarting the resource

Shoot Command Skips Items#

Problem: Some items aren't being photographed

Solutions:

  1. Run calibration to update item list
  2. Check if items are in correct collection
  3. Verify gender parameter is correct
  4. Check server console for error messages

Preview Quality Issues#

Problem: Previews look wrong or have artifacts

Solutions:

  1. Ensure proper lighting in studio
  2. Wait for model to fully load before capture
  3. Check studio configuration settings
  4. Re-shoot affected items manually

Wrong Items in Previews#

Problem: Preview shows different item than expected

Solutions:

  1. Recalibrate the collection
  2. Check for conflicting addon packs
  3. Verify localIndex matches between calibration and preview
  4. Delete existing previews and re-shoot

Best Practices#

  1. Calibrate first, shoot second - Always complete calibration before recording previews

  2. Shoot by gender - Record male and female separately to avoid confusion

  3. Use specific commands - Target individual addon packs rather than shooting everything

  4. Verify as you go - Check UI after each shoot session to confirm success

  5. Backup previews - Keep copies of preview folders for addon packs you use frequently

  6. Low population - Run shoots during off-peak hours as it can impact performance

Summary#

TaskCommand
Download default previewsSee !ReadMe.md for link
Open studio interface/clothesstudio
Shoot all addons (male)/shootclothes addon male
Shoot all addons (female)/shootclothes addon female
Shoot specific pack/shootclothes addon packname male
Shoot specific collection/shootcollection packname

Next Steps#