In Creating Poses Part 1 and Part 2, we used QAvimator to create pose animations and placed the animation into an object (a purse).
In this Part 3 of the tutorial series, we are going to use multiple animations on our avatar at the same time. So you can burn your tongue on a hot cup of tea while wearing your purse :P This is made possible thru the use of Animation Priority.
Animation Priority Overview
Every animation in SL has an Animation Priority, from 0 to 4. An newly "Played" animation will override a running animation of equal or lower priority on a given body part.
For example, a animation with priority of 3 will override an animation with priority of 1 on the Right Forearm. A new animation with priority of 2 will override an existing animation with priority of 2 on the Left Forearm.
When your avatar is not Wearing any attachments that play animations, your avatar will use a set of SL "built-in" animations. You have probably seen your avatar go through his/her "built-in" stand poses many times.
Here is a list of all the SL "built-in" animations and their Animation Priorities from the LSL Wiki.
Note that most of the "built-in" animations have a priority of 2. While most of the standing, walking, or moving animations have a priority of 0.
So if you want your custom animation to always Play and override everything else, just set the Animation Priority to 4.
But if you want some "built-in" animations to work with your custom animation, then you have to pay more attention to the Animation Priority. For example, this is useful if you want the built-in "Typing" animation to work.
Testing Animation Priority
In Part 2 of this tutorial series, we created the "Hold Purse" pose animation and uploaded to Second Life.
When we uploaded the "Hold Purse" animation to SL, we selected an Animation Priority of 2.
Go ahead and Wear the purse containing the "Hold Purse" animation and the "Hold Purse Script". We are going to do a few things while we are Wearing the purse and see what happens :)
Also, be sure you take of any attachment or HUDs with animations. This includes shoes with Sexy Walk or avatar-based animations (for furries or mermaids :D). Just be a "normal" boring avatar Wearing a purse for a few minutes ;P
Typing (Priority 2)
If you open the Chat window and start typing something, your avatar should perform the normal "Typing" animation. Thats because "Typing" also has an Animation Priority of 2. So the newly played "Typing" animation would override the existing "Hold Purse" animation.
Walking (Priority 0)
Try walking while wearing your purse.
With the "normal" SL walk, your arm should be holding the purse while you walk. Thats because the normal "Walking" animation has an Animation Priority of 0. So the "Walking" animation does NOT override the "Hold Purse" animation that's running on your avatar's arm.
Sexy Walk (Priority 3/4)
Do you have an Animation Override gadget or a pair of shoes with Sexy Walk? Wear it and turn on only the Sexy Walk (but disable the "Stand" poses).
Now try walking while wearing your purse and the Sexy Walk.
You should see your arms drop down and do the Sexy Walk. When you resume your stand pose, your arms should go back to the "Hold Purse" animation. Most Sexy Walk animations have an Animation Priority of 3 or 4. So the Sexy Walk will override the "Hold Purse" animation.
Did you know your avatar has teeth? You do brush your teeth, dont you? ;P
Second Life has a number of "built-in" facial expressions/animations. They are in the Animation Priorities list with names starting with "express_" (like "express_smile").
We cannot create/upload custom facial animations. The only ones available are the ones built-into SL. Fortunately, theres quite a list to choose from!
The easiest way to play facial expressions is use Yadni's EmoterHUD.
You can pick up the EmoterHUD for free from Yadni's Junkyard (Search/Places for "yadni"). The "YadNi s EMOTERHUD v3.1" is in the "Freebie of the Month" area. Its been in the "Freebie of the Month" area since I joined SL over a year ago ;P
To use the EmoterHUD, open your Inventory window, look for the "EmoterHUD v3.1", and Wear it.
Now, just click on one of the blue faces to play an animation. You can even play multiple facial expressions at the same time (it gets pretty weird ;P)
As you can see, your avatar can perform a number of different animations at the same time. The Animation Priority determines which animation would be used for each Body Part on your avatar!
So it's possible for your avatar to play a facial expression, hold something, and do a Sexy Walk.
Note that Animation Override (AO) and multiple animations will cause lag. So dont try this in a busy sim!
But when you have a moment, give it a try. Understanding Animation Priority is important if you want to design poses and animations!
Besides, you would be amazed at all the things your avatar can do at the same time :)
© 2007 All Rights Reserved.