Omen Torgeson
Registered User
Join date: 12 Jun 2004
Posts: 155
|
06-25-2004 07:09
I know that when uploading custom animations, the highest override is (4). And that doesn't completely clear your av of its usual movements (swaying, hands on hips, etc).
I was trying to use a custom animation tonight with a script I'm using on a boat. It "sort of" did it. The position of the arms slightly resembled what I'd uploaded. But the hands were not in a fist, and it just wasn't quite the same as when I tested the animation standing up.
I figure that the default animation for sitting down is getting in the way of this.
Is there a way, via script, to override animations and only use the animation you call for in the script? (even if that means the av is completely still - courtesy of a 3 frame static pose?
For example...
Say I build a gondola (you know, boats on the canals in italy). I want my av (when he 'sits' on the boat to control it) to be standing up, and hold whatever pose I upload, instead of sitting down per usual. Same thing for like a surfboard, skateboard, etc etc. Is it possible to drive a car on hands and knees - fly a plane in fetal position - ride a motorcycle while in a handstand - or skipper a boat while doing jumping jacks? (you get the idea here).
Anyone?
Thanks, Omen
Is this possible?
|
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
|
06-25-2004 10:24
It's completely possible..
You need to stop the sit animation and start your animation instead.
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
06-25-2004 10:50
Yes you'll need to stop the sit animation... llStopAnimation("sit"  ; llStartAnimation("stand"  ; Should do it, this will stop the sit, and put you in the stand animation, which looks alot better for most animations. Just stoping the sit will sometimes put your avatar in a weird pose, so hence the calling the stand animation. As for things like some movements your avatar does in idle, or breathing, we can't stop any of those really. If you need a script on this, and no one posts one before me, next time I'm in world I'll grab one I have and post it.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
Omen Torgeson
Registered User
Join date: 12 Jun 2004
Posts: 155
|
06-25-2004 15:01
Thank you! Never expected it would be as simple as that. I'm new to scripting and think sometimes I forsee this language being a lot more complicated than it really has to be. No need to post a script. I'm working off one at the moment. Thank you anyway though, Oz. Really appreciate the replies. Especially considering I overlooked such an obvious answer to it. Omen
|
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
|
06-25-2004 15:15
I just did this last night with a bed. If anyone else is looking for a script to override animations the scripted midevial bed in the GNU Wave Architects store will do the trick.
|