GitHub
GitHub - noxtgm/dresser-plus: An enhanced version of the citizen and human dresser component.
An enhanced version of the citizen and human dresser component. - noxtgm/dresser-plus

Body attributes networked and updated in real time across all clients
Clothing sources are now easier to grasp for beginners
A new hybrid (Manual & OwnerUser at the same time) clothing source
Parallel workshop clothing loading
Source to HybridStrippedCategories (e.g. Hat, Jacket, Skin) to remove those slots from the owner's outfitClothing or WorkshopClothing to dress your client specific clothesExtremely useful for gamemodes where players keep their identity but wear role-specific equipment, like uniforms or team gear.
Editable in Manual and Hybrid modes. Changes are synced and propagate immediately via OnManualChange.Editable in Manual and Hybrid modes. A warning will be logged if the package could not be fetched or mounted.
Code/ folderOnce you've done either one of those, add the Dresser Plus component to a GameObject with a Citizen or Human body.
Set theBodyTargetto the body'sSkinnedModelRenderer(auto-detected from children if left empty), pick a clothing source, and you're done.
// Apply with current settings
await dresser.Apply();
// Apply with new clothing items (e.g. to set different clothes depending on a var in your code)
await dresser.Apply( myClothingList );
// Strip all clothing and reset body attributes
dresser.Clear();
// Cancel an in-progress async dressing operation
dresser.CancelDressing();
// Check if currently dressing
if ( dresser.IsDressing ) { /* ... */ }SkinnedModelRenderer of the body to dress (auto-detected if empty)