Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

i want my av to make automatic facial expressions

Broseybrose Writer
Madman Extraordinairre
Join date: 26 Jun 2007
Posts: 61
07-11-2007 14:42
ive seen alot of avis do this... how do i achieve it?
Milli Santos
La Princesse
Join date: 12 Oct 2006
Posts: 112
07-11-2007 15:01
They have a facial animator. Contact me in world and I'll give you a copy of the one I have. :)

*EDIT* Actually, sorry.. the one I have only works off a hud and keeps the same selection until you click a new one or stop it. A lot of people have one that smiles and stops, smiles and stops. Not sure where they got it. Search might help.
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
07-11-2007 15:08
From: Broseybrose Writer
ive seen alot of avis do this... how do i achieve it?


There are numerous items that will allow you to hold a facial expression. YadNi's emoter hud, for one. I personally use the "emote" feature in Mystitool.

If you just want to use it for emphasis, make gesture that fit popular emoticons. Some may already be in your library. I have things like":-)" set up to do it. They look like the following:

trigger: :-)
(You can also set a hot key for it. It's shift-F2 for me, but whatever works for you)
gesture: grin
text: /me smiles

Pretty simple to do, really, have works well. Well, better than just havin a ":-)" in a 3D world!

Mari
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
07-11-2007 15:09
Outy Banjo, O Scripting - Brownlee, Brownlee (246, 50, 108)
Auto Emote HUD v1.0.1

listens on channel 0 for smilies/words
can lag the crap out of everyone with sooooooo much parsing, specially in busy places
Har Fairweather
Registered User
Join date: 24 Jan 2007
Posts: 2,320
07-11-2007 15:12
Saw a hottie avatar with an automated smile feature on. It flashed at inappropriate times, looked as cold and artificial as the smile on a used-car salesman who pimps in his spare time, and made me glad I am not into cybersex. Brrr.
Maggie McArdle
FIOS hates puppies
Join date: 8 May 2006
Posts: 2,855
07-11-2007 15:52
From: Har Fairweather
Saw a hottie avatar with an automated smile feature on. It flashed at inappropriate times, looked as cold and artificial as the smile on a used-car salesman who pimps in his spare time, and made me glad I am not into cybersex. Brrr.



sorry about that Har...ill buy a new one .....:cool:
_____________________
There's, uh, probably a lot of things you didn't know about lindens. Another, another interesting, uh, lindenism, uh, there are only three jobs available to a linden. The first is making shoes at night while, you know, while the old cobbler sleeps.You can bake cookies in a tree. But the third job, some call it, uh, "the show" or "the big dance," it's the profession that every linden aspires to.
bilbo99 Emu
Garrett's No.1 fan
Join date: 27 Oct 2006
Posts: 3,468
07-12-2007 00:35
I saw a really cute blonde with a squint and a smile. The two together were mesmerising.
My fiancee picked up a freebie wearable smile that started and stopped but we found it interfered with some of the sits and hugs.
_____________________
Be polite .. that newbie could be your next ex-partner.
Aleister Montgomery
Minding the gap
Join date: 30 Apr 2006
Posts: 846
07-12-2007 04:00
An easy method would be to have a script listen to your chat emotes and trigger the appropriate facial expression. Example:


startup()
{
key temp = llGetOwner();
llRequestPermissions(temp, PERMISSION_TRIGGER_ANIMATION);
llListen(0,"",temp,"";);
}
default
{
state_entry()
{
startup();
}
on_rez(integer doesntmatter)
{
startup();
}
listen(integer chan, string name, key id, string mes)
{
if (mes=="/me smiles";)
llStartAnimation("express_smile";);
else if (mes=="/me grins" || mes=="hehe";)
llStartAnimation("express_toothsmile";);
else if (mes=="/me laughs" || mes=="lol";)
llStartAnimation("express_laugh_emote";);
}
}


Copy it, paste it into a prim, attach the prim to body or HUD. Type /me smiles in order to smile, /me grins for a wider smile, /me laughs or lol for a laughing expression... You can enhance it with additional "else if" lines. Here's a list of other built-in facial expressions:
_____________________
Gentlemen, you can't fight in here! This is the War Room.
Gillian Waldman
Buttercup
Join date: 1 Oct 2006
Posts: 697
07-12-2007 04:06
You could also use the Mirada HUD that has a smart emote mode where it listens and responds with appropriate expressions. It has loads of other features as well, and it's only 100L. I think I got mine at Hairapy sim.
_____________________
http://www.deuxlooks.com/
Aleister Montgomery
Minding the gap
Join date: 30 Apr 2006
Posts: 846
07-12-2007 04:08
Of course, you can always buy things instead of learning how to script :)

The script above is no trade secret btw. I learned how to trigger facial animations from Yadni's Emoter HUD, which comes with full perm scripts (but has a horrible interface). This ancient, secret knowledge can also be found in the LSL Wiki.
_____________________
Gentlemen, you can't fight in here! This is the War Room.
Markubis Brentano
Hi...YAH!!
Join date: 15 Apr 2006
Posts: 836
07-12-2007 04:18
~Shivers at the thought of a script listening on channel /0 ~
Aleister Montgomery
Minding the gap
Join date: 30 Apr 2006
Posts: 846
07-12-2007 04:37
From: Markubis Brentano
~Shivers at the thought of a script listening on channel /0 ~


It only listens to the owner :)

If it's only needed for smiling, one could also use
llListen(0,"",llGetOwner(),"/me smiles";);
_____________________
Gentlemen, you can't fight in here! This is the War Room.
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
07-12-2007 05:02
Coincidentally, I'm about to release a facial animation HUD I've been working on. It'll have a menu to select the facial expression you are showing, plus it'll override the typing motion so that your mouth moves when you type chat.

It's not automatic though. A couple automatic ones have been referred to; haven't seen how well they work at detecting emotion from what you type, plus it'll be laggy from listening to main chat.

EDIT: Wait, do you mean automatic in terms of automatically detecting what expression to show, or simply in terms of staying in a given expression rather than playing it for a second when you call the gesture and then it's over? Most facial animation gadgets (including my hud) do that latter, but it's a pretty tall order to expect a script to read your mind :P
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions