-
Notifications
You must be signed in to change notification settings - Fork 3
Adding Multiple Singles
This works for all singles sitters. All seats can have a line in a singles notecard but only the menu user will change.
For example we can use the following for our SET:DEFAULTCARD notecard and as these lines are written, every sitter will run the meditation animation whenever any sitter clicks the menu button. The end result is that all sitters in the following seats will change animations.
- Edit the .init notecard
- Change SEAT_INIT number to 4:
SEAT_INIT|4
- Edit the SET:DEFAULTCARD
- Replace any lines inside with the lines below:
XANIM|1|meditation|<0.70354, 0.68508, 0.80000>|<0.00001, 0.00000, -135.00040>|
XANIM|2|meditation|<-0.75256, 0.73643, 0.80000>|<0.00001, 0.00000, -44.99962>|
XANIM|3|meditation|<-0.73697, -0.71104, 0.80000>|<0.00001, 0.00000, 44.99962>|
XANIM|4|meditation|<0.70354, -0.71104, 0.80000>|<0.00001, 0.00000, 135.00040>|
The SET:DEFAULTCARD must not contain singles sitter lines as you will see below, the XANIM lines must be free of line permissions. If line permissions are added to the SET:DEFAULTCARD, nPose will not allow anyone to sit.
We can re-write the card contents above to restrict which line will run to only the menu user's seat as follows: We can create a different notecard named SET:Meditate and in this card add the following lines:
XANIM{1}|1|meditation|<0.70354, 0.68508, 0.80000>|<0.00001, 0.00000, -135.00040>|
XANIM{2}|2|meditation|<-0.75256, 0.73643, 0.80000>|<0.00001, 0.00000, -44.99962>|
XANIM{3}|3|meditation|<-0.73697, -0.71104, 0.80000>|<0.00001, 0.00000, 44.99962>|
XANIM{4}|4|meditation|<0.70354, -0.71104, 0.80000>|<0.00001, 0.00000, 135.00040>|
Since there are no restrictions on the notecard name, nPose will present this menu button to all sitters but the restrictions on each of the lines inside the notecard will prevent all seats from changing poses and only the line which the menu user is seated in will run. Thus changing only that sitter's animation and ignoring the rest of the sitters.
We can then add a second notecard by the name of SET:Stories and add the following lines:
XANIM{1}|1|npose-storyteller|<0.70354, 0.68508, 0.80000>|<0.00001, 0.00000, -135.00040>|
XANIM{2}|2|npose-storyteller|<-0.75256, 0.73643, 0.80000>|<0.00001, 0.00000, -44.99962>|
XANIM{3}|3|npose-storyteller|<-0.73697, -0.71104, 0.80000>|<0.00001, 0.00000, 44.99962>|
XANIM{4}|4|npose-storyteller|<0.70354, -0.71104, 0.80000>|<0.00001, 0.00000, 135.00040>|
We can have multiple menu choices by adding more notecards. Every sitter can then pick the pose they want to use without bothering any other sitters.
To continue on, have a look at PROPS.
-
Getting started
-
Reference
-
Changelogs
-
Internals