ClothingLock

Plugins + Scripts ClothingLock

Download [<1 MB]
ClothingLock - keep makeup, body alternatives and accessories on your character

Why
Makeup, body alternatives, accessories and similar items are clothing items in VaM, so loading another clothing preset strips them off, and you end up merge-loading them back every time you change outfits. ClothingLock was made to put an end to that chore.

What it does
VaM already has a lock for each clothing item, and a locked item survives clothing preset loads. The lock itself, however, is never saved: reload the character and it is gone.
ClothingLock saves the locked items into the appearance preset. When you load that preset, the items are turned on and locked again once they have finished loading, so any clothing preset you load afterwards leaves them alone.

How to use
1. Add ClothingLock.cs (Custom/Scripts/CKNMN/ClothingLock) as a Session Plugin.
2. To have it load every time VaM starts, go to Session Plugin Presets > Change User Defaults... > Set Current As User Defaults. Do this once and you never have to add the plugin again.
3. On the Person's Clothing tab, lock the items that belong to the character (makeup, body alternatives, accessories...).
4. Save the appearance preset as usual. The locked items are stored in it.
5. Load that appearance preset in any scene: the items come back locked. Load clothing presets freely.

Good to know
- The plugin window lists, for each Person, the items locked by its appearance preset and the items locked right now.
- To change the list, lock or unlock items and save the appearance preset again.
- Loading a different appearance preset takes off the items the previous one locked, unless the new preset lists them too.
- Presets saved with ClothingLock still load normally without the plugin; the extra entry is simply ignored.
- Items from packages that are not installed are skipped (noted in the log).
- Requires VaM 1.20 or later (session plugins).
Images and attachments
  • screenshot_plugin_window.png
    screenshot_plugin_window.png
    102.6 KB · Views: 0
  • screenshot_item_locked.png
    screenshot_item_locked.png
    95.1 KB · Views: 0
React to this content...

Share this resource

Latest reviews

Positive
Version: 1.0
Very much need capability. Thanks!
Upvote 0
Back
Top Bottom