Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Voice animations

maydaysos Young
Registered User
Join date: 29 Dec 2006
Posts: 10
02-02-2009 22:58
I was looking for some help with scripts that can be trigger by second life's voice lvl. Is this even possible? Is the a way to detect when your avatar is speaking.?
any help would be greatly helped.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
02-03-2009 01:06
You could modify those voice gestures, to "say" (whisper) a given command on a given channel ("talkLevel0";) etc..

Then you could establish a listen in a script to detect what the gestures were saying.

But there's no "direct" way to detect the speech levels via script. (this probably has to do with the fact that the speech levels are technically "client-side" (since the speech system uses a different set of servers than the SL servers).

That might be a decent enough solution, if you had a product, you could simply include the modified gestures with the product.
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
maydaysos Young
Registered User
Join date: 29 Dec 2006
Posts: 10
02-04-2009 01:06
Thanks for your answer. And your explanation
racush Cheeky
Registered User
Join date: 23 Jan 2006
Posts: 23
02-04-2009 01:38
Actually there is an alternative to the listen, I've found you get a better reaction out of the script if you have it look for animation uuids this also would keep your av from sending out a tone of spam over the given channel you would have used.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
02-04-2009 03:47
From: racush Cheeky
Actually there is an alternative to the listen, I've found you get a better reaction out of the script if you have it look for animation uuids this also would keep your av from sending out a tone of spam over the given channel you would have used.


(unless of course, you plan to play other animations)

You could upload a number of "dead animations" (priority 0, one keyed body-part, barely noticeable).. upload the same one a few times, to get different UUIDs... then install those animations in the voice gestures instead of the usual wobble and wiggle or whatever they do.

Then you could use the method racush suggests.. but either way, you're reliant on the person having all the gestures active.

Of course, if all you want to do is play some animations based on speech volume.. just modify those gestures, no scripting required! :D
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura