Getting Emotional about it…

For all my Lelutka Mesh Head using friends in particular… did you realize that you can control the animations that show emotions on your head by chat command? A lot of people don’t know that the Lelutka creator makes this openly available!*
I’m including an excerpt from the website but please visit the link and read the info first hand. This is a really cool feature to include in your choreography or machinima!

Mesh Head – Animation API
If you are developing a product and you would like to include some of LeLutka’s facial animations in your product, there are a few ways you can control the animations that are installed in the LeLutka head using chat commands on channel 7780.
Commands
play [animation name] — Plays an animation
stop [animation name] — Stops an animation (not necessary unless it is a looped animation)
list — Returns two animation lists on channel 7779 (added in 2.1, so make sure your head is up to date!)mood:[anim1],[anim2],[etc.] — a list of all mood animations
expr:[expr1],[expr2],[etc.]  — a list of all expressionsNote: due to SL’s limit of 1024 characters per chat message, if the head contains too many animations (80+) to fit in this many characters, the list may wind up being incomplete. It is unclear how important this feature is at this stage, but if it turns out to be widely used, this will be revised to cut the list into multiple chat messages, most likely using “mood+” and “expr+” tags to add to the respective lists.
If you are planning to communicate with someone’s head, and the object starting the animation does not belong to the head owner (such as a couch that several people might sit on), then the command must start with the key of the owner of the head.
e.g. /7780 cab64911-5c77-416f-862e-30283ab88d25list
or if the item you are creating is a wearable item or gesture (so the owner of the item will be the same as the owner of the head), you can skip the uuid
e.g. /7780 list
Decoding Animation Names
LeLutka’s head animations use codes to indicate what sort of animation it is. The first tag indicates what major category the animation belongs to.
e.g. l.+.smile01
m (mood)
Mood animations are priority 1 animations which are usually very minor facial animations meant to be mixed in randomly with the head.
u (utility)
Utility animations are priority 2 animations which primarily control the eyelids, with the exception of the blink animation which is priority 3.
l (looped expression)
Looped expressions are priority 2 animations.  Note that if you start a looped expression, you must remember to stop it when you wish for it to stop! Looped expression started using these commands will not light up in the expressions browser on the user’s HUD, so the only way they will be able to stop it is using the “STOP EXPRESSION” button on the HUD. Looped expressions will be maintained by the head script until they are intentionally stopped using either the HUD or another chat command.
s (single play  expression)
Single play expressions are priority 2 animations.
Expressions (l or s) have a secondary tag which indicates whether it is a positive (+), negative (-), or neutral (0) expression. For example a smile is a positive expression, while a frown is a negative expression.
Animations List
mood animations
m.happy.clench
m.happy.doubt
m.happy.glance
m.happy.relax
m.happy.serene
m.happy.smile
m.happy.smile2
m.happy.smirk
m.happy.soft
m.happy.swallow
m.happy.talk
m.neutral.balm
m.neutral.brow_lift
m.neutral.glance
m.neutral.inhale
m.neutral.loose_jaw
m.neutral.mouth_shift
m.neutral.movement
m.neutral.purse
m.neutral.scan ground
m.neutral.squint
m.neutral.swallow
m.neutral.talk
utility animations
u.blink
u.closed
u.partlip
u.relaxed
u.sleepy
u.suspicious
u.wide
expressions
(looped)
l.+.monalisa
l.+.rockstar
l.+.sexy
l.+.smile01
l.+.smile02
l.+.wink02
l.-.disbelief
l.-.dislike
l.-.ego
l.-.sad
l.-.snarl
l.0.betterthanyou
l.0.ismellarat
l.0.lipbite
l.0.photo
l.0.yell
(unlooped)
s.+.hubba
s.+.mwah
s.+.sexy
s.+.wink02
s.-.ew
s.0.eyeroll
s.0.flutter
s.0.hm
Note that there is no guarantee that the animation you wish to play will be in the version of the head being worn. The above list is from the released Simone head.

*All heads work fundamentally the same and some creators make the channels and commands more or less publicly available. Please contact the creator and/or developer website for your preferred brand for more info.

Leave a Reply

Your email address will not be published. Required fields are marked *