Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LL Built In Animations

Drifter Dreamscape
Registered User
Join date: 30 Mar 2008
Posts: 182
05-01-2008 08:55
Hi All,
Apologies in advance if this is explained somewhere - I may be just dumb and unable to find it so advice would be appreciated.
Before even venturing into the complexities of animation creation, can someone tell me - is there a simple way of actually seeing what the LL built in animations actually look like without complex scripting?
I've been on the Wiki and seen the list of animation names but would like to see them all in action on my avatar.
Thanks in anticipation.
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
05-01-2008 09:03
As far as I know viewing the built-in animations requires running them from a script, but I think I've seen scripts before where you just call out the name of the animation and it is played. Heck, I could write you such a script right now except that I'm kinda under the weather today and don't feel like doing anything even remotely productive :P
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
05-01-2008 09:32
Hmm, sounds like a useful little freebie tool, easy to write if you already have anim scripts. If nobody beats me to it, I'll cook one up next time I'm ingame. I wouldn't be surprised if someone has done it already, though.

For expressions, there's FaceAnimCube (or something like that, IIRC). A freebie you can find at your favorite warehouse.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
05-01-2008 09:39
You mean these? http://wiki.secondlife.com/wiki/Internal_Animations

Just a llStart/StopAnimation with the animation name should make these work - you don't need the animation file itself.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Drifter Dreamscape
Registered User
Join date: 30 Mar 2008
Posts: 182
05-01-2008 10:10
Hi All,
Thx for replies so far.
Johan - sry you're not feeling great. Impressed that you can be bothered to post telling me you can't be bothered! lol

Lear - I've actually for the first time in my Life, R or S, found a gap in the market?? Yay! Shame I'm such a novice I can't do anything to exploit it. I'm a beginner here and even a basic script is beyond me until I get my head round it a bit more.

Meade - Yes, those are the ones I'm referring to. I'll take your word for it but see my comment to Lear above - even 'Just a llStart/StopAnimation' is somewhat alien to me at the moment.

The Freebie Tool idea sounds great so I'm prepared to flirt outrageously with Lear on the offchance that this might encourage him to 'cook one up' for me.

Flutters eyelashes and looks coy.......... Don't suppose that's one of the built in animations I haven't seen yet??
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
05-01-2008 10:27
From: Drifter Dreamscape
Meade - Yes, those are the ones I'm referring to. I'll take your word for it but see my comment to Lear above - even 'Just a llStart/StopAnimation' is somewhat alien to me at the moment.


I haven't tested it in-world but you can try dropping this in a cube..

CODE
integer	gIndex;
string gCurrent;
integer gListLen;
list gList = ["express_afraid", "aim_r_bazooka", "aim_l_bow", "aim_r_handgun",
"aim_r_rifle", "express_anger", "away", "backflip", "express_laugh",
"blowkiss", "express_bored", "bow", "brush", "busy", "clap",
"courtbow", "crouch", "crouchwalk", "express_cry", "turn_180",
"turnback_180", "dance1", "dance2", "dance3", "dance4", "dance5",
"dance6", "dance7", "dance8", "dead", "drink", "express_embarrased",
"express_afraid_emote", "express_anger_emote", "express_bored_emote",
"express_cry_emote", "express_disdain", "express_embarrassed_emote",
"express_frown", "express_kiss", "express_laugh_emote", "express_open_mouth",
"express_repulsed_emote", "express_sad_emote", "express_shrug_emote",
"express_smile", "express_surprise_emote", "express_tongue_out",
"express_toothsmile", "express_wink_emote", "express_worry_emote",
"falldown", "female_walk", "angry_fingerwag", "fist_pump", "fly",
"flyslow", "hello", "hold_r_bazooka", "hold_l_bow", "hold_r_handgun",
"hold_r_rifle", "hold_throw_r", "hoverNextShort", "hover_downNextShort",
"hover_up", "impatient", "jump", "jumpforjoy", "kissmybutt", "land",
"laugh_short", "soft_land", "motorcycle_sit", "musclebeach", "no_head",
"no_unhappy", "nyanya", "punch_onetwo", "peace", "point_me", "point_you",
"prejump", "punch_l", "punch_r", "express_repulsed", "kick_roundhouse_r",
"rps_countdown", "rps_paper", "rps_rock", "rps_scissors", "run", "express_sad",
"salute", "shoot_l_bow", "shout", "express_shrug", "sit", "sit_female",
"sit_ground", "sit_ground_constrained", "sit_generic", "sit_to_stand",
"sleep", "smoke_idle", "smoke_inhale", "smoke_throw_down", "snapshot", "stand",
"standup", "stand_1", "stand_2", "stand_3", "stand_4", "stretch", "stride",
"surf", "express_surprise", "sword_strike_r", "talk", "angry_tantrum", "throw_r",
"tryon_shirt", "turnleft", "turnright", "type", "walk", "whisper", "whistle",
"express_wink", "wink_hollywood", "express_worry", "yes_head", "yes_happy", "yoga_float"];


DoAnimation()
{
StopCurrent();

if (gIndex >= gListLen)
gIndex = 0;

gCurrent = llList2String (gList, gIndex++);

llOwnerSay ("playing '" + gCurrent + "' for 30 seconds");
llSetTimerEvent (30.0);

llStartAnimation(gCurrent);
}

StopCurrent()
{
if (gCurrent != "")
llStopAnimation(gCurrent);
}

default
{
state_entry()
{
gIndex = 0;
gListLen = llGetListLength(gList);
gCurrent = "";
}

touch_start(integer detected)
{
if (llDetectedKey (0) == llGetOwner())
{
if ((llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) != 0)
DoAnimation();
else
llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION);
}
}

run_time_permissions(integer perm)
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
DoAnimation();
}
}

timer()
{
llSetTimerEvent(0.0);
StopCurrent();
}
}
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
05-01-2008 12:19
i discovered just chatting the name of the built in animations will make them play as well. I once pasted a list of them to someone in chat, and they all played simultaneously O.o it was a truly surreal experience.
_____________________
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
05-01-2008 13:21
Active gestures?
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Drifter Dreamscape
Registered User
Join date: 30 Mar 2008
Posts: 182
05-01-2008 13:50
Hi Meade,
Appreciate your efforts. Did what you said - being of small brain, I rezzed a cube, ctrl/c'd the text you wrote and pasted it into a new script in the content tab. Tried to save and it reports (0,0) : ERROR : Syntax error. Just sits there - looking wooden - bit like how I feel!
Looks as if this stuff's beyond my feeble intellect!
:(
DaQbet Kish
cautiously reckless
Join date: 22 Jan 2007
Posts: 1,064
05-01-2008 14:10
From: Drifter Dreamscape
Hi Meade,
Appreciate your efforts. Did what you said - being of small brain, I rezzed a cube, ctrl/c'd the text you wrote and pasted it into a new script in the content tab. Tried to save and it reports (0,0) : ERROR : Syntax error. Just sits there - looking wooden - bit like how I feel!
Looks as if this stuff's beyond my feeble intellect!
:(

Drifter, make sure you do not include the
CODE
 and 
when you copy Meade’s script.
It worked for me
Drifter Dreamscape
Registered User
Join date: 30 Mar 2008
Posts: 182
05-11-2008 07:44
Meade,
Apologies. Belated thanks for your help - not been in world and applying myself to my intentions of understanding/learning animations!
Thanks too, DaQbet - you were right - the
CODE
 refs is what was stopping it functioning.
Very useful to me.

:)