Snippets
?? If you like this resource, please consider giving it a thumbs up or posting a review. Thanks!

Snippets

A collection of small unrelated scripts to address specific needs. This resource should make it more straightforward for me to release additional small free scripts in the future, as I have a template ready, and can publish them without having to create a new Hub resource. If you have an idea for something useful that could be quick and easy to implement, I'm open to your suggestions!

FileDescriptionAdd To
BulkAllowPossessGrab.cslistToggle Allow Possess/Grab on all selected joints at once.Person
FrameRateControlEE.cslistFreely select target frame rate between 20-240, fixed bugs. Improves upon FrameRateControl by @MacGruber.Session plugins
HairColorChangerEE.cslistImproved version of Hair Color Changer by @LarrysArms.Person
HideTrackersByDefault.cslistChecks the Hide Trackers toggle in VAM user preferences automatically.Session plugins
SaveLoadedScene.cslistAdds a Keybindings action Global.SaveLoadedScene for saving the currently loaded scene.Session plugins
UISliderColors.cslistAllows adjusting UISlider's handle, fill and background color and alpha.UISlider
UISliderSync.cslistSync the value of a float parameter to a UISlider atom's slider.UISlider
UIToggleSync.cslistSync the value of a boolean parameter to a UIToggle atom's toggle.UIToggle
VRPointerSettings.cslistAdjust the width, color and alpha of the left and right VR laser pointers.Anywhere

BulkAllowPossessGrab
  • enable or disable Allow Possess/Grab for Position or Rotation for many joints at once
  • execute via UI or trigger
  • select which joints to include in the operation
FrameRateControlEE
1720530065604.png
Changes compared to FrameRateControl from MacGruber.Essentials.16:​
  • Freely select any target frame rate number between 20 and 240
  • The target frame rate popup with fixed options is replaced by the "Use target frame rate" toggle and the "Target frame rate" slider
  • Fixed issue where having the plugin disabled on startup still applied the selected settings; now it properly initializes as disabled
  • Fixed issue in VR mode where saving a session plugin preset containing the plugin would cause the plugin to load with default settings the next time in desktop mode, nullifying your customizations to the settings
    • The fix was to ensure the plugin initializes fully and registers its parameters even in VR
  • Fixed issue where "Pause VaM when not focused" did not allow the automatic default scene loading to proceed on startup or when restarting via Hard Reset
  • Plugin must be added to Session plugins (can't add to some random atom)

HairColorChangerEE
Improvements to the original script from LarrysArms.HairColorChanger.2:​
  • hair list is automatically synced when navigating to plugin UI, opening Copy From popup, loading a hair preset, and loading an appearance preset
  • hair list can be synced via trigger action (useful mainly after enabling a hairstyle via trigger)
  • Copy From popup value can be set via trigger
  • Apply To All can be called via trigger
  • Restore Hair Defaults can be called via trigger
  • improved preset loading
    • list shortcuts to appropriate var packages
    • fixed issue where reselecting the previously selected preset file did not apply its parameters to the active hairs
    • added Load From Hair Preset With Path action, equivalent to the load preset button in the plugin UI
All new trigger targets:​
1723188630849.png

HideTrackersByDefault

The Hide Trackers toggle is unique among VAM user preferences in that it is not saved to the prefs.json file. VAM always initializes that toggle as unchecked on startup. This plugin allows you to set it checked by default. Disabling the plugin prevents it from checking the toggle, and enabling the plugin automatically checks it again.​

SaveLoadedScene

Requires Keybindings by Acidbubbles.​
1723666614389.png
1723666627545.png

UISliderColors
1720426955642.png
By default in VAM, only the text and panel can be adjusted. UISlider Colors allows adjusting the a UISlider atom's handle, fill and background color and alpha. These parameters are triggerable so you can animate them.​

UISliderSync

Use UISlider as a value or progress indicator. Optionally prevent the user from interacting with the slider, only allowing a change in the synced parameter to change the slider value.​
In this demo, the light intensity is being randomized, and this plugin updates the value to the UISlider:​
1723189483577.png

UIToggleSync

Use UIToggle as an indicator of some boolean state. Optionally prevent the user from interacting with the toggle, only allowing a change in the synced parameter to change the toggle's state.​

VRPointerSettings
  • Adjust the width, color and alpha of left and right VR pointers
  • Use a custom selection line from each VR hand to a selectable controller in the scene, with adjustable width, color and alpha.
1720529772332.png
The width and alpha settings could help with making the laser pointers more easily visible when using high resolution VR displays. One remaining visibility issue is the link lines between linked controls - that might be another script later as those are also shown in desktop mode.​
Set your own defaults by adding the plugin to Session plugins. If added to an atom or to Scene plugins, the width, alpha and color parameters can be adjusted via triggers.​
Author
everlaster
Downloads
29,517
Views
29,517
Packages
1
Total Size
0.05 MB
Version
v1.3.1 (8.var)
First release
Last update
Rating
5.00 star(s) 10 ratings

More resources from everlaster

Latest updates

  1. v1.3.1

    FrameRateControlEE: fixed issue where toggling "Use target frame rate" off did not work until...
  2. v1.3.0: SaveLoadedScene

    SaveLoadedScene Requires Keybindings by Acidbubbles. Add to Session plugins.
  3. v1.2.0: four new modules

    BulkAllowPossessGrab enable or disable Allow Possess/Grab for Position or Rotation for many...

Latest reviews

UI Slider colors! *chef's kiss*
Upvote 0
Thanks again for the Hair Changer Plugin release. It's now fully integrated into my scene and works amazingly.
Upvote 0
All of these modules range from "cool to have" to "essential". And so great to have so many features controlled by triggers. Many thanks!
Upvote 0
Haven't had a chance to fully test yet, but 5 stars for helping to tackle and improve upon the Hair Color Changer Plugin by Larrysarms
Upvote 0
UISlider colours: thank you, thank you, thank you.
Upvote 0
Can you add the display of the mouse pointer in VR mode? It's currently not showing, and I'd like to see it displayed for easier mouse operation in VR.
Upvote 0
Thank you! Seriously some useful settings exposed here.
Upvote 0
Finally, we can get creative with the UISlider.
Upvote 0
Everlasting good work, thanks heaps again!
Upvote 0
Holly....
Upvote 0
Back
Top Bottom