Managing clothing in scenes can be a nuisance, especially when loading custom appearances with various clothing. This plugin is intended to serve as a way to quickly and easily toggle clothing visibility by region tag, either by adding the included subscenes of a menu of buttons, or by directly calling Actions on the plugin from your own buttons or elsewhere.
Under the hood it utilizes both the clothing's built in tags, as well as custom user tags. In many cases the clothing's built in tags are missing or lacking, as clothing creators often miss that step, so you would need to add user tags in those cases. Note that such user tags are saved by VAM, such that it's a one time only fixup, and having more accurate tags is useful for various other situations as well, such as when searching for clothing by tag.
This plugin is leveraging the "Hide Material" value, which is great because it works for all clothing, without actually removing the clothing. It also works regardless of whether the clothing has any alpha supporting materials, but it does come with some drawbacks (see Warning section below).
Since we're hiding, rather than fully removing, the clothing items, this plugin also caches and restores a few related settings, including:
Disable Anatomy
Adjust Joint Spring And Damper
Adjust Breasts
Adjust Glutes
Sim Enabled
SSClothingMenuMale
SSClothingMenuFemale
If you have more than one character of the same gender, you can select which character each menu affects by:
Select the SSClothingMenuMale/Menu or SSClothingMenuFemale/Menu object.
Open the AAM_ClothingController plugin UI.
Select the desire "Person".
For a more customized experience, you can:
Directly add the AAM_ClothingController plugin to an object.
Assign an Action, such as from a Button Trigger, to target the plugin instance you added and send it a message, such as:
"Hide All Clothing with Tag" "Panties"
or
"Show All Clothing with Tag" "Shirt"
You can affect multiple clothing types by using multiple Actions (even from a single button), with each Action targeting one Tag, such as:
"Hide All Clothing with Tag" "Shirt"
and
"Hide All Clothing with Tag" "Top"
For examples, you can inspect the various buttons within the included subscenes.
The main issue with the "Hide Material" feature is that if you are hiding a material when you save a scene, then the next time you load that scene the clothing item with the hidden material will be buggy (invisible, and toggling "Hide Material" on won't help). You can fix it by going into the clothing's "Customize" and doing a "Force Reload" from the "Preset / Custom" tab, but be warned that doing so will reset any adjustments to colors, physics, etc. Once you've force reloaded it, though, then any reapplications of such settings should stick, and as long as you don't save the scene with it hidden again, things should be OK.
Under the hood it utilizes both the clothing's built in tags, as well as custom user tags. In many cases the clothing's built in tags are missing or lacking, as clothing creators often miss that step, so you would need to add user tags in those cases. Note that such user tags are saved by VAM, such that it's a one time only fixup, and having more accurate tags is useful for various other situations as well, such as when searching for clothing by tag.
This plugin is leveraging the "Hide Material" value, which is great because it works for all clothing, without actually removing the clothing. It also works regardless of whether the clothing has any alpha supporting materials, but it does come with some drawbacks (see Warning section below).
Since we're hiding, rather than fully removing, the clothing items, this plugin also caches and restores a few related settings, including:
Disable Anatomy
Adjust Joint Spring And Damper
Adjust Breasts
Adjust Glutes
Sim Enabled
Instructions
Load an appropriate subscene (Male or Female), for a UI panel with gender specific buttons and auto-targeting:SSClothingMenuMale
SSClothingMenuFemale
If you have more than one character of the same gender, you can select which character each menu affects by:
Select the SSClothingMenuMale/Menu or SSClothingMenuFemale/Menu object.
Open the AAM_ClothingController plugin UI.
Select the desire "Person".
For a more customized experience, you can:
Directly add the AAM_ClothingController plugin to an object.
Assign an Action, such as from a Button Trigger, to target the plugin instance you added and send it a message, such as:
"Hide All Clothing with Tag" "Panties"
or
"Show All Clothing with Tag" "Shirt"
You can affect multiple clothing types by using multiple Actions (even from a single button), with each Action targeting one Tag, such as:
"Hide All Clothing with Tag" "Shirt"
and
"Hide All Clothing with Tag" "Top"
For examples, you can inspect the various buttons within the included subscenes.
Warnings
Since this plugin utilizes the "Hide Material" feature, it's best to avoid saving a scene with any clothing hidden. If you do, though, you can fix that by doing a "Force Reload" on the affected clothing.The main issue with the "Hide Material" feature is that if you are hiding a material when you save a scene, then the next time you load that scene the clothing item with the hidden material will be buggy (invisible, and toggling "Hide Material" on won't help). You can fix it by going into the clothing's "Customize" and doing a "Force Reload" from the "Preset / Custom" tab, but be warned that doing so will reset any adjustments to colors, physics, etc. Once you've force reloaded it, though, then any reapplications of such settings should stick, and as long as you don't save the scene with it hidden again, things should be OK.