About this mod
SKSE plugin to allow Papyrus script to read BodySlide Preset files.
- Requirements
- Permissions and credits
- Donations
This is an SKSE plugin I made for my other mods.
It allows Papyrus scripts to get a list of all Male or Female Presets located in the users' \CalienteTools\BodySlide\SliderPresets folder, get the names of all sliders used by a given preset, the 0 and 100 weight values and so on.
I made this so I could make 1 single MCM button.
Papyrus Functions
Clears any cached preset data, then parses the entire Preset folder again.
Use this if you suspect presets changed mid-session.
function ReloadPresets()
Returns a String Array of all Preset filenames matching the specified gender, without file format suffix.
For females, will grab CBBE, 3BBB, UNP and TBD presets.
For males, will grab HIMBO, SOS and SAM presets.
String[] function GetPresetList(Bool abFemale)
Returns String Array of all sliders used by a given preset, i.e. any sliders without both 0 and 100 weight values being 0.
String[] function GetPresetSliderStrings(String asPresetName)
Returns Float Array of all sliders used by a given preset at 0 Weight values.
Intended to be used with GetPresetSliderStrings to be meaningful.
Float[] function GetPresetSliderLows(String asPresetName)
Returns Float Array of all sliders used by a given preset at 100 Weight values.
Intended to be used with GetPresetSliderStrings to be meaningful.
Float[] function GetPresetSliderHighs(String asPresetName)
Source
Plugin source available on GitHub
Credits
Special thanks to RocketBun for allowing me to use some code from AutoBodyAE
A massive thank you to CharmedBaryon for his incredibly helpful CommonLib SKSE Sample Plugin
Author Support
Ko-fi
SubscribeStar