Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is there a Zhao 2 AO command for Hard Landing?

Carli Allen
Registered User
Join date: 18 Mar 2007
Posts: 3
05-30-2009 08:52
I have a Zhao 2 AO and I was wondering if there is a command for overridding the hard landing (if I fall from a high distance the animation is different). My note card only came with the option of [ Landing ] but I thought the original Zhao's had something like a landing/soft landing option.

I did a search and didn't see anyting about this so I apologize in advance if this has already been asked. Thanks in advance.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
05-30-2009 09:18
I can't get in-world now to experiment or look at the code, but it seems as if these should be two distinct things to override, because llGetAnimation() returns "Landing" and "Soft Landing". If ZHAO 2 isn't doing that, it would be interesting to figure out why not.
_____________________
Archived for Your Protection
Paracelsus Schonberg
Registered User
Join date: 11 May 2008
Posts: 375
05-30-2009 09:21
From: Qie Niangao
I can't get in-world now to experiment or look at the code, but it seems as if these should be two distinct things to override, because llGetAnimation() returns "Landing" and "Soft Landing". If ZHAO 2 isn't doing that, it would be interesting to figure out why not.
Doesn't it depend on where the ZHAO was obtained? Was it bought with animations loaded? Or, was it a freebie?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
05-30-2009 09:42
Unmodified ZHAO-II will use the Landing animation for both Landing and Soft Landing.

If you want the soft landing to be separate, look in the core script for these lines and comment out or remove them:

else if ( curAnimState == "Soft Landing" ) {
curAnimState = "Landing";
}


That's not usually what bothers people, though. It's usually the extra pair of animations where the avatar sometimes pulls itself off the ground and then (sometimes) brushes itself off. To override those, Standing Up is the entry you would want to use.
Carli Allen
Registered User
Join date: 18 Mar 2007
Posts: 3
05-30-2009 13:02
Paracelsus the Zhao 2 was purchased but was a basic model (some of the categories were blank).

Viktoria I want all the landings to be the same...I'm guessing from your comment there is only a soft or regular landing?

For some reason it's pulling a landing animation for high falls which is not the one loaded in the Zhao so I assumed it was using a default unless I specify something different (hense my assumption there was such a thing as a hard landing that just wasn't on my card to begin with).
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
06-02-2009 19:33
From: Carli Allen
Viktoria I want all the landings to be the same...I'm guessing from your comment there is only a soft or regular landing?

Yeah, that's the normal setup, and that should be what you have unless you got the AO from some animation vendor who did custom work on it.

From: someone
For some reason it's pulling a landing animation for high falls which is not the one loaded in the Zhao so I assumed it was using a default unless I specify something different (hense my assumption there was such a thing as a hard landing that just wasn't on my card to begin with).

I think, again, that it may be the Standing Up stuff that you are seeing. That actually happens just after landings, and not every time. It's the splat flat on your belly thing. You probably don't want to use the same animation as the landing there, or you would tend to get the same thing twice. Although that might be pretty cool too, depending on what you put in there.