Plugin template in C#: custom VR menu (and desktop menu), custom scene manager/controller, and dynamic scene gameplay. One demo scene in a house.
Free, FC / WTFPL.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How VaM scenes should be made...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please read the file "README.md"
Menu in VR

Menu in Desktop

Menu button, customizable, and respecting VR UI side

Menu optionally detached in VR, draggable, and always in the foreground

A quick look into the code

Cycle through different clothes and hairstyles

Light options

"Play" button to have sex on the sofa

Colored spheres for the creators to set where sex action happens

Creating scenes is pain.
Creating the menu for your scenes is pain.
Using the scene menus as a player is horrible.
Working with MacGruber's LogicBricks is slow and tedious, and creating dynamic scenes is impossible.
Coding could be a quicker solution but it isn't.
This template aims to be an attempt to bridge the gap between painful manual scene creation and difficult programming because of no VaM API and Unity/C# madness.
The scripts can be easily understood even without prior experience of C# and Unity (general basic programming experience required), and come with a respective scene fully integrated with them.
The menu is opened via a new button in VaM's toolbar, and works both in desktop and in VR exactly like VaM's own menu. In VR, it can also be detached from VaM's HUD and positioned around in the scene.
The menu and its UI elements don't appear in the atom list, thus greatly simplifying the scene hierarchy. The menu contains the typical options that you see in most scenes (change animation, set animation speed, enter POV, etcetera), but everything is done via code in the simplest way possible and with code comments to explain what's going on. Thus the menu is easily customizable and all the examples that you might need are provided so you can have full control of your scene.
You can still use LogicBricks and other plugins to do things that you are not able to do via code; one option doesn't exclude the other.
Moreover, this template shows how you can have the same sex animations in the different rooms of the same house: it is thus a rather dynamic scene that's not limited and strictly linked to a single environment. If you enjoy this feature and you want to create other compatible poses, use my plugin "Reset Pose Root To Zero": https://hub.virtamate.com/resources/reset-pose-root-to-zero.56180/
Of course, you don't have to use all the provided features. See "README.md" for instructions on how to strip down the code to a bare template.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the hope that more scenes are going to be made like this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you.
Free, FC / WTFPL.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How VaM scenes should be made...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please read the file "README.md"
Menu in VR

Menu in Desktop

Menu button, customizable, and respecting VR UI side

Menu optionally detached in VR, draggable, and always in the foreground

A quick look into the code

Cycle through different clothes and hairstyles

Light options

"Play" button to have sex on the sofa

Colored spheres for the creators to set where sex action happens

Creating scenes is pain.
Creating the menu for your scenes is pain.
Using the scene menus as a player is horrible.
Working with MacGruber's LogicBricks is slow and tedious, and creating dynamic scenes is impossible.
Coding could be a quicker solution but it isn't.
This template aims to be an attempt to bridge the gap between painful manual scene creation and difficult programming because of no VaM API and Unity/C# madness.
The scripts can be easily understood even without prior experience of C# and Unity (general basic programming experience required), and come with a respective scene fully integrated with them.
The menu is opened via a new button in VaM's toolbar, and works both in desktop and in VR exactly like VaM's own menu. In VR, it can also be detached from VaM's HUD and positioned around in the scene.
The menu and its UI elements don't appear in the atom list, thus greatly simplifying the scene hierarchy. The menu contains the typical options that you see in most scenes (change animation, set animation speed, enter POV, etcetera), but everything is done via code in the simplest way possible and with code comments to explain what's going on. Thus the menu is easily customizable and all the examples that you might need are provided so you can have full control of your scene.
You can still use LogicBricks and other plugins to do things that you are not able to do via code; one option doesn't exclude the other.
Moreover, this template shows how you can have the same sex animations in the different rooms of the same house: it is thus a rather dynamic scene that's not limited and strictly linked to a single environment. If you enjoy this feature and you want to create other compatible poses, use my plugin "Reset Pose Root To Zero": https://hub.virtamate.com/resources/reset-pose-root-to-zero.56180/
Of course, you don't have to use all the provided features. See "README.md" for instructions on how to strip down the code to a bare template.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the hope that more scenes are going to be made like this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you.
Features
- VR menu integrated in VaM's HUD, that can be detached and placed around in the scene; easily create buttons for your scene working with a logical grid.
- Male character on/off, male POV, female POV, action speed, previous/next animation.
- Change clothing and hair presets.
- Choose an area of the house e.g. the sofa and have sex there; choose between alone/voyeur positions and couple positions.
- The Timeline panel follows you around the scene for a comfier creation of animations.
- Use light switches in your house and/or in the menu.
- Choose between Day, Night, or Moonlight; easily add your own lights.
- Debug page with various functions: toggle debug objects, update all scene objects, reload the plugin; setup triggers for all the atoms in the scene with one click, so you don't have to do it manually: just match atom names with the names in the C# Lists.
- Enough code examples that whatever you want to do, you should be able to do it using this scripts as a starting point / reference.
- A readme file which takes you by the hand and helps you with any question you may have.
Dependencies for the demo scene
- AcidBubbles.Embody.latest https://hub.virtamate.com/resources/embody.6513/
- AcidBubbles.Timeline.latest https://hub.virtamate.com/resources/timeline.94/
- MacGruber.Life.latest for "Gaze" https://hub.virtamate.com/resources/life.165/
- TacoCat.Hotel_Apartament.1 https://hub.virtamate.com/resources/hotel-apartament.25364/
- ToumeiHitsuji.DiviningRod.latest https://hub.virtamate.com/resources/diviningrod.8992/