XXX4Fans
everlaster from patreon
everlaster

patreon


ExtendedDefaults v0.5

Hi! I've been a bit quiet on the messaging front the past week, but I finally have something new to release. This is still very much a work in progress - but getting early feedback is also a good reason to share it. It's also an opportunity for you to have an impact on the plugin's features. There are many directions the plugin could take in the future!

Download 

Features in v0.5

Automatically load person atom with user defaults

When a person atom is added, it is loaded with the user defaults preset on each of the following preset types: Appearance Preset, Pose Preset and Plugin Preset. Normally in VAM, the person atom loads with everything at defaults even if you have user defaults saved, this plugin overrides that behavior.

Simply save a preset with the "Change User Defaults..." button in any of the above Presets tabs, and the next time you add a person atom it will auto-apply the saved preset.

With other atom types, it seems VAM already uses the user defaults preset when a new atom is added.

Better "Add Plugin" behavior

Normally when you click on Add Plugin in the Plugins tab, it just adds an empty plugin to the bottom of the list and you have to separately click on "Select File...". ExtendedDefaults streamlines this by triggering the "Select File..." click automatically.

Save, load and auto-apply plugin user defaults

When ExtendedDefaults is loaded, it modifies all Plugins tabs:

How it works:

The saved configuration contains whatever settings the plugin stores normally in a Plugin Preset or with the scene file. This configuration is stored in Custom/PluginData/everlaster/ExtendedDefaults/defaults.json.

Regarding the removed buttons - the Clear button was just redundant, and Select File... is also not needed. With ExtendedDefaults, there's no way to have just an empty plugin element that doesn't have any script running in it. And with the improved Add Plugin behavior, Select File is triggered automatically so the button is not very useful. You can always just do Remove and then Add Plugin if you want to replace the plugin with another.

Upcoming features

The plugin UI is currently empty. I plan to add at least some configuration options and information later, but for the most part though, it's meant to be an "add once and forget" type of plugin which is saved to the Session Plugins user default preset so it gets auto-loaded when you start VAM.

Plugin version independent defaults

In this first version, the saved plugin defaults are used only by the specific versions of each plugin, e.g. if you save a configuration for a TittyMagic.cslist loaded from the package everlaster.TittyMagic.57.var, it won't be used by other TittyMagic versions. However it would make sense to be able to auto-apply settings from the closest version that has a defaults configuration saved. This could be configurable.

In addition to the above, upgrading a loaded plugin to its newest version automatically while preserving all of the plugin's parameters would be a pretty cool feature. This could be done with a button click, when the scene is loaded, or when a plugin preset is loaded. 

Additional atom default parameters

Many atom types don't include all parameters in the preset for some reason. E.g. many of the parameters in Physics Object, Physics Control and Move tabs are not saved with the preset. It would be possible to add configuration options for these in the ExtendedDefaults UI. 

For example, I would prefer InvisibleLight atoms saved as spotlights to always automatically point down and have the Z rotation axis locked, but these parameters are not saved in the preset. Similarly for furniture/environment/prop etc. type atoms, the Z and X rotation axes should be lock by default.

Misc

Other settings/functions

These are more like sketches of ideas at this point, but I figured I might as well share them.

In addition to from the above, there might be other features that I haven't thought of could be within this plugin's scope. It could be something that happens when a scene is loaded, or something common to all atoms when any atom is added, or some modification on a specific atom type etc. 

If there's some such default value or behavior you'd like to have, let me know! It could make it into the plugin. Any feedback is greatly appreciated. Thanks :)

-everlaster

Comments

Hi, yeah I noticed that as well! Thanks for confirming :)

everlaster

Finally had a play with this. Very cool. One problem with 'Save, load and auto-apply plugin user defaults'. I've saved 'Extended defaults' as a default session plugins. But when loading a fresh scene, 'Save, load and auto-apply plugin user defaults' doesn't work on the person's plugins unless you go into session plugins and manually press reload of 'Extended Defaults'. Edit- Actually, none of them work unless you manually press reload of 'Extended Defaults'. Better "Add Plugin" behavior didn't work either on initial load. The only thing ED auto applies to are the other plugins in the 'Sessions Plugins' window.

tracer

Update on loading user defaults on a new person atom: it turns out saving user defaults for a General Preset does basically the same thing as the plugin. Only found that out now! 😄 However it does seem unnecessary and redundant to have to separately save a general preset. In Vanilla VAM you can end up having different user defaults for the appearance saved as Appearance Preset and the appearance saved as part of a General Preset, and only the general preset ends up being used automatically. It'd be more intuitive if the more specific preset type (Appearance) would be used over the less specific one (General). I will provide configuration options for this in the plugin UI, with the default behavior being that the more specific presets are used instead of the general preset, so basically the opposite of VAM default behavior.

everlaster


Related Creators