• Hello Guest!

    We have recently updated our Site Policies regarding the use of Non Commercial content within Paid Content posts. Please read the new policy here.

    An offical announcement about this new policy can be read on our Discord.

    ~The VaMHub Moderation Team
  • Hello Guest!

    We posted an announcment regarding upcoming changes to Paid Content submissions.

    Please see this thread for more information.

Question Possible to save custom morph and/or plugin with scene?

urukyay

Well-known member
Featured Contributor
Messages
52
Reactions
342
Points
53
I want to have some one-off custom morphs and a basic plugin used as a script, both made for and useful on one particular scene, and that scene only. Is there a way to save them _with_ the scene or internal to the scene somehow, so as not to cause clutter with unnecessary random morphs and scripts? It doesn't have to be distributable for now, just local.

The morphs would be something like a collection of custom expressions made from facial pose and expression morphs. Just so I can use them easily with animation patterns and variables etc.

The plugin is just some basic automation of a few hardcoded control nodes, slightly more complex than what can be reasonably managed with VUML + ActionGrouper and/or LogicBricks, but of that kind of scope.
 
I don't think what you're asking is possible. A morph file and a script file are not things that can be saved in JSON format. A morph is a binary file and a script is a C# file, so they must be separate from the scene JSON. There's also no way to say "this morph belongs only to this scene and shouldn't be visible anywhere else".
 
Upvote 0
I have not tried, but I think the following cloud work:
If create a VAR package for your scene, it would of course automatically add your morph and script to that package. You could then remove the local versions of morph and script, probably keep a backup somewhere, just in case ;) If you left the "Morph Pack" checkbox disabled while creating the VAR, the morph would only show up in the Morph UI if you actually loaded your scene in a VaM session. The script would also be hidden, you would have to specifically select the VAR to find it. If you want to keep working on your scene, you could keep your VAR unpacked, there is a button for that in the Package Manager window (top right).

Another potential method could be creating a .hide file for your script. So just an empty text file with the same filename, just with .hide instead of .cs as extension. (Have not tried this either, but it has been reported to work)
 
Upvote 0
Back
Top Bottom