• 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.

ActRandomizer

Plugins ActRandomizer 2.5

JayJayWon

Well-known member
Featured Contributor
Messages
563
Reactions
1,735
Points
93
Patreon
JayJayWon
JayJayWon submitted a new resource:

ActRandomizer - Randomized "Acts" consisting of a start action, duration and end action.

Act Randomizer is a plugin that allows you to randomize many different actions in VAM. It could be used to randomly play different animation patterns, different audio sounds, trigger different plugin actions or set different atom states. For example it could be setup as an Audio Juke box that randomly plays different music or it could randomly change the clothing states of a person atom. Each randomized Act consists of a starting action followed by an ending action after a configurable...

Read more about this resource...
 
Is there a way to load multiple poses in bulk? i.e. select a folder with 15 poses in it, which then becomes 15 acts? Is there another way to select a random pose from a set of poses?
 
Is there a way to load multiple poses in bulk? i.e. select a folder with 15 poses in it, which then becomes 15 acts? Is there another way to select a random pose from a set of poses?
No it wont bulk load poses for you. I'm not aware of any easy way of doing that - sorry.
 
Does that work with a subscene? I only get errors when I load a SubScene.

!> Exception caught: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,JayJayWon.RandomAct].get_Item (System.String key) [0x00000] in <filename unknown>:0
at JayJayWon.ActRandomizerV2.SwitchAct (System.String actID) [0x00000] in <filename unknown>:0


Edit: it's ok, i have another option :)
 
Last edited:
Nice plugin Jayjay ... I played around with it and get the concept.

I may miss something ... but can you use it with Timeline animations? Example. I want to have two small animations in timeline. "Anim 1" the model will raise its left arm. "Anim 2" the model will rise its right arm. In my test scene I would like one of these 2 animations to be played randomly. Briefly, I did not find how to add a timeline animation as an act.
 
Nice plugin Jayjay ... I played around with it and get the concept.

I may miss something ... but can you use it with Timeline animations? Example. I want to have two small animations in timeline. "Anim 1" the model will raise its left arm. "Anim 2" the model will rise its right arm. In my test scene I would like one of these 2 animations to be played randomly. Briefly, I did not find how to add a timeline animation as an act.
I'm not familiar enough with Timeline to answer that definitively. If Timeline animations can be triggered externally using the standard VAM Trigger system, then you should be able to do it using ActRandomizer.
 
Hey. I'm trying to load Pose Presets with this but none of my pose packages show up in the file selector. Do you know why that is?
 
Hey. I'm trying to load Pose Presets with this but none of my pose packages show up in the file selector. Do you know why that is?
I originally wrote it before VAR packaging was a thing - looks like I never updated it to do that.
 
I see. Is that something you plan to do? :p
I had a brief look, but this plugin is so old now, there are so many things that need updating. If I start it will just become a big task and in truth the whole thing needs re-writing. I'll perhaps re-visit it for VAM2.x
 
This is one of those great plugins that the more you use it the more you find there's new things you can do with it. Thank you for this pearl, @JayJayWon

Unfortunately, as JayJayWon mentioned, it was done before VAR packaging, and so some unexpected things may occur. This one is about using audio files for random head audio speech, which works wonderfully in the scene, but if you later package the scene into a VAR the audio files paths prevent the VAR from being built. The details on why I don't know, I rememember having a similar problem with a older version with dub's Audiomate.
If you're here checking the discussion area because you encountered this problem, I have a solution for you.

Before you go to the Package Builder to make a VAR of your scene:
  1. Save your scene (A) with the head audio source speech you want to have with a temporary name;
  2. Then delete all acts in ActRandomizer using audio files;
  3. Save this changed scene (B) to the name you want the scene to have on the VAR (don't overwrite A);
  4. Go to Package Builder and make your VAR using B;
  5. Now open A in Notepad++ (or whatever you use), and open B that is inside the newly created VAR;
  6. Find the ActRandomizer json part inside both scene json files and overwrite the B one with A's.
And that's it, you have now the random audio acts from A, bypassing the VAR build problem.
Hope this helps someone struggling with this.

@JayJayWon
Would you be open to add this workaround as a spoiler in the resource description for better visibility, in case someone is looking for a solution to this?
 
This is one of those great plugins that the more you use it the more you find there's new things you can do with it. Thank you for this pearl, @JayJayWon

Unfortunately, as JayJayWon mentioned, it was done before VAR packaging, and so some unexpected things may occur. This one is about using audio files for random head audio speech, which works wonderfully in the scene, but if you later package the scene into a VAR the audio files paths prevent the VAR from being built. The details on why I don't know, I rememember having a similar problem with a older version with dub's Audiomate.
If you're here checking the discussion area because you encountered this problem, I have a solution for you.

Before you go to the Package Builder to make a VAR of your scene:
  1. Save your scene (A) with the head audio source speech you want to have with a temporary name;
  2. Then delete all acts in ActRandomizer using audio files;
  3. Save this changed scene (B) to the name you want the scene to have on the VAR (don't overwrite A);
  4. Go to Package Builder and make your VAR using B;
  5. Now open A in Notepad++ (or whatever you use), and open B that is inside the newly created VAR;
  6. Find the ActRandomizer json part inside both scene json files and overwrite the B one with A's.
And that's it, you have now the random audio acts from A, bypassing the VAR build problem.
Hope this helps someone struggling with this.

@JayJayWon
Would you be open to add this workaround as a spoiler in the resource description for better visibility, in case someone is looking for a solution to this?
Tiz done!
 
I'm looking for a way to randomize where models look. I want them to look at the Player most of the time but also to look away at other things occasionally, just as a real person might. This plugin seems like it might be overkill for the simple act I'm trying to do... or is it? In that case any tips for how I would set up what I described?
 
I'm looking for a way to randomize where models look. I want them to look at the Player most of the time but also to look away at other things occasionally, just as a real person might. This plugin seems like it might be overkill for the simple act I'm trying to do... or is it? In that case any tips for how I would set up what I described?
You might want to try AcidBubble's Glance plugin.
 
I'm looking for a way to randomize where models look. I want them to look at the Player most of the time but also to look away at other things occasionally, just as a real person might. This plugin seems like it might be overkill for the simple act I'm trying to do... or is it? In that case any tips for how I would set up what I described?
Probably a more specialised plugin like Glance is what you need.
 
QQ截图20221231181440.png

love your plugin ! i want load cloth random , but need add act 1 by 1, can let me random load folder? all file in this folder can random load , and i only need add act once.;)
 
View attachment 193573
love your plugin ! i want load cloth random , but need add act 1 by 1, can let me random load folder? all file in this folder can random load , and i only need add act once.;)
No it cant do that. You might want to try this plugin instead:
 
No it cant do that. You might want to try this plugin instead:
ok ;)
Mainly, I want to read non preset files randomly, such as images on the image display panel~
 
Back
Top Bottom