RigWrap - Add Clothing to Non Humanoid Rigs [PLUGIN]

Marketplace

:art: DRESS RIGS WITHOUT HUMANOIDS!


I was working on a game where I had to deal with hundreds of NPCs at once which severely reduced performance. That’s why I decided to use AnimationControllers instead of Humanoids but it came at a huge price - only Humanoids can render Clothing.

TUTORIAL


You can now select any Model and render Shirts or Pants without having to use Humanoids at all! This Plugin uses Textures due to them offering better performance than SurfaceGuis.

NOTE:

:information_source: This Plugin requires Templates, not regular Asset IDs! Here’s an easy method on how you can obtain a Template ID. A Template is an Image that is wrapped around the Character.

Tutorial

Step 1/2:

Find a Classic Shirt or Pants on the Catalog :newspaper:. Click on it and you should see the URL :globe_with_meridians: at the top of your browser look something like this:

https://www.roblox.com/catalog/607785314/ROBLOX-Jacket

This is the AssetID. Now go ahead and copy the number, which in this case is 607785314.

Step 2/2:

You can manually use InsertService to insert the Asset as a ShirtTemplate or PantsTemplate, then print its Template ID. Run the following code in your Roblox Console:

:warning: WARNING:
Only use this method if you know exactly what you are doing. InsertService can be used by Hackers to insert malicious code into Studio. Therefore you should never insert unknown IDs into your game. If you require any form of help or assistance, seek a fellow developer or ask me personally.

local InsertService = game:GetService("InsertService")
local Asset = InsertService:LoadAsset(YOUR_ASSET_ID)
print(Asset:FindFirstChildOfClass("Shirt").ShirtTemplate)

Replace Asset:FindFirstChildOfClass("Shirt").ShirtTemplate with Asset:FindFirstChildOfClass("Pants").PantsTemplate if you’re trying to get a PantsTemplate instead of a ShirtTemplate.

You can also upload your own custom Shirt or Pants by downloading the Official Roblox Clothing Template, designing it in a Software of your choice and uploading via Roblox as a Decal.

VERSION LOG :page_with_curl:


1.0
  • :tshirt: Shirts
  • :jeans: Pants
  • :robot: R6 Support
1.1
  • :beetle: Bug Fixes
2.0 [NEWEST]
  • :beetle: Bug Fixes
  • :art: New UI
  • :robot: R15 Support
  • :framed_picture: Faces
  • :man_running: Animations
  • :link: Multi Rig Support

What do you think about this Plugin?
  • It’s amazing!
  • I haven’t tried it yet.
  • I don’t like it.
0 voters

:point_right: DOWNLOAD LINK:

https://create.roblox.com/store/asset/71774011419996/RigWrap

17 Likes

Thanks a million. This really helps a lot. However, I would suggest that instead of making GUI for this plugin, you can use the widget UI thing ( like the one Archimedes plugin does ), it is easier to move it around and place it wherever we want

But another question : Won’t there be more draw calls for loading the Decals ? It didnt have that sort of thing in normal shirt and pants

I noticed that the plugin doesn’t work properly with R6 NPCs with MeshParts:


The left is the NPC with a humanoid, and the right is the non-humanoid rig. I used the body part meshes to keep the standard chamfers, but it messed up the alignment of the textures.

The fix was easy, though: add half the size of each axis to the texture offset. I think in a future update, you should have some sort of option to have more control over the offsets. BTW I have not tested the texture alignments for R15 avatars.

Anyways, thanks for the plugin!

2 Likes

Thanks for the feedback, I’ve been working on a new version for a a while but honestly I’ve been running away from it because all this R15 mapping takes a good while… but I’ll hope to release an update soon

Thanks for the idea, I’ll add a widget option for the next update!

And yes, there would be more drawing cells

Version 2.0

New Features:

  • :beetle: Bug Fixes
  • :art: New UI
  • :robot: R15 Support
  • :framed_picture: Faces
  • :man_running: Animations
  • :link: Multi Rig Support

These are not clothing, these are body paintings, or “Classic clothing”.