Clothing Lock

Plugins + Scripts Clothing Lock

Download [<1 MB]
  Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.
Lock.png



Clothing Lock

BepInEx Plugin (CC BY)


A BepInEx plugin that lets you lock and unlock each clothing item directly in the Clothing tab of a Person atom.


Why I made this
  • In the Clothing tab, when I use the 'Show: Active' filter to see only the clothes a character is wearing, I can't tell at a glance which items are locked.
    I had to open the Customize menu for each item to check, which was inconvenient, so I made this plugin.
  • I made it possible to lock clothes that aren't being worn for comparing outfits.
    For example, when you put on several shirts at once and want to compare them one by one, you can lock the ones you want to compare.
    Then the 'Show: Locked' filter shows only the locked items, which makes comparing them one at a time much easier.
    Lock_.png

    (Note: If you save the scene and load it again, all Lock settings are lost, whether the clothes are being worn or not.)


Basic features
  • Lock checkbox in the clothing list
    A Lock checkbox appears at the top right of each item in the Clothing tab list, just left of the thumbnail. You can toggle Lock right from the list without opening the Customize menu.
  • Synced with Lock in Customize
    It works the same as the Lock toggle inside the Customize menu. Changing either one updates both. Changes made with the Lock Active and Unlock All buttons show up right away.
  • Lock items that are not worn
    In default VaM, you can only open Customize for an item you are wearing, so only worn items can be locked. With this plugin, you can also lock items you are not wearing yet.
  • Lock stays on when an item is taken off
    Default VaM removes the Lock when you take off a locked item. With this plugin, a locked item stays locked after you take it off.
    To unlock an item, uncheck its checkbox, turn off Lock in Customize, or press Unlock All.


When loading a Clothing Preset

Load and Merge Load both work the same way.
  • Locked items you are wearing: Same as default VaM. They are not removed even if the preset does not include them, and their settings are kept.
  • Locked items you took off, included in the preset: Default VaM does not put them on because they are locked. With this plugin, they are put on as the preset says, and the preset's settings for those items are applied.
    • Lock is paused while these items load. It is turned back on after the preset has fully loaded and the VaM loading icon is gone.
    • A preset with many items can take a while to load. The plugin waits until loading is complete before turning Lock back on.
    • While it waits, the checkbox in the list shows as checked. Lock inside Customize may briefly show as off.
  • If a locked item you took off does not load correctly from a Clothing Preset: Turn off Lock for that item, then load the Clothing Preset again.
  • Locked items you took off, not included in the preset: They stay off and stay locked.


Notes
  • Lock state is not saved in scene files (same as default VaM). When you load a scene, all items start unlocked.
  • Installation: Put Clothing_Lock.dll in the VaM\BepInEx\plugins\ folder. BepInEx 5 must be installed.
  • This plugin was created using AI.
  Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.
React to this content...

Share this resource

Back
Top Bottom