• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

01-menu-in-vr.jpg


Please read the file "README.md"

Menu in VR

01-menu-in-vr.jpg

Menu in Desktop
02-menu-in-desktop.jpg

Menu button, customizable, and respecting VR UI side
03-menu-button.jpg

Menu optionally detached in VR, draggable, and always in the foreground
04-menu-detached-in-vr.jpg

A quick look into the code
05-quick-look-into-code.jpg

Cycle through different clothes and hairstyles
06-clothes-and-hairstyles.jpg

Light options
07-light-options.jpg

"Play" button to have sex on the sofa
08-play-button.jpg

Colored spheres for the creators to set where sex action happens
09-markers.jpg


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​

Credits​

Adapted/copied some code by JayJayWon, cotyounoyume, MacGruber, and Blazedust.
Author
SelakAR
Downloads
873
Views
7,065
Favorites
5
Version
5
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from SelakAR

Latest updates

  1. Version 5

    Fixed: play areas without a voyeur point were disabling the "Together" mode. "PlayAreas.cs"...
  2. Additional info + minor code style fixes

    "README.md": More information on poses and animations. "CustomMenu.cs": Minor code style fixes.
  3. Change clothing and hair + Menu pages more customizable

    You can now change clothing and hair. Methods in "Utils.cs" have been expanded to allow the...

Latest reviews

This is legit a good starting point for bringing down that learning curve bar... There's really good info in the readme and script comments.

You should target begginers with this and 1 or 2 creation guides on basic first time shit... It appears (at first glance) that it's geared more for content creators and not everyone.
SelakAR
SelakAR
It's definitely geared towards content creators that are already familiar with programming, there's just no way around that.
Upvote 0
I've been considering scripting up some menus lately, and this seems like a great starting point. Thanks for sharing!
Upvote 0
Back
Top Bottom