This session plugin aims to solve the issue of pubic hair clipping through shorts, underwear, etc. on models. It achieves this by modifying the sim settings for the hair when clothing items are toggled.
INSTRUCTIONS
VIDEO: Adding the tag to an item
VIDEO: Plugin in use (assumes items are already tagged)
HOW IT WORKS
This plugin monitors changes to clothing items worn , as well as the "hidepubes" tag on the item itself. When an article is added/removed (or the tag changed), it modifies the following on each worn hair item:
curveDensity --> 0
hairMultiplier --> 0
When the item is removed, it attempts to restore those. In the current version, I hardcode this to:
curveDensity --> 24
hairMultiplier --> 12
This effectively hides and shows the hair (close enough that it's tough to detect).
DISCLAIMER & KNOWN ISSUES
This is a naive approach, and will not match the settings for some hair items. I would love for a plugin author to explain to me how to restore (without preservation) the original preset sim setting for the hair item. With this answer, I can quickly update the script and we'll be in business.
The problem with storing in temporary variables, is they don't work across the save/load boundary. If a scene is loaded with a pube-hiding clothing item worn, the script should be able to effectively restore the hair settings when the item is removed.
Additionally, this does not (currently) watch for hair items added if a blocking clothing item is being worn - allowing the clipping to occur normally. To get the hair to behave, just turn the clothing article off and back on again.
CREDIT
This builds upon previous work by @vamtaco and @cmramlow.
All code was generated (with much hand-holding) by ChatGPT, using the mentioned scripts above (plus a bit of attribute exploration through VAM) as examples of how to access various attributes.
INSTRUCTIONS
- Install as a session plugin. Be sure to save as a new default.
- Add the "hidepubes" tag to any article of clothing that should disable pubic hair when worn.
a. This is a custom tag. If you don't see it in your list, you'll need to type it in on a single item of clothing.
b. Once the tag has been entered, it will appear as an option on any other item. Toggling it on/off will trigger this plugin.
- That's it.
VIDEO: Adding the tag to an item
VIDEO: Plugin in use (assumes items are already tagged)
HOW IT WORKS
This plugin monitors changes to clothing items worn , as well as the "hidepubes" tag on the item itself. When an article is added/removed (or the tag changed), it modifies the following on each worn hair item:
curveDensity --> 0
hairMultiplier --> 0
When the item is removed, it attempts to restore those. In the current version, I hardcode this to:
curveDensity --> 24
hairMultiplier --> 12
This effectively hides and shows the hair (close enough that it's tough to detect).
DISCLAIMER & KNOWN ISSUES
This is a naive approach, and will not match the settings for some hair items. I would love for a plugin author to explain to me how to restore (without preservation) the original preset sim setting for the hair item. With this answer, I can quickly update the script and we'll be in business.
The problem with storing in temporary variables, is they don't work across the save/load boundary. If a scene is loaded with a pube-hiding clothing item worn, the script should be able to effectively restore the hair settings when the item is removed.
Additionally, this does not (currently) watch for hair items added if a blocking clothing item is being worn - allowing the clipping to occur normally. To get the hair to behave, just turn the clothing article off and back on again.
CREDIT
This builds upon previous work by @vamtaco and @cmramlow.
All code was generated (with much hand-holding) by ChatGPT, using the mentioned scripts above (plus a bit of attribute exploration through VAM) as examples of how to access various attributes.