Re: [slscripters] secondlifescripters Digest, Vol 83, Issue 4

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] secondlifescripters Digest, Vol 83, Issue 4

Chloe Constantine
There was a brief point when they'd been rolled out to a couple of the RCs and then rolled back; then they were rolled out again and this time they stuck!

As an exercise, I took a version of ZHAO II core and rewrote it to be compatible with the linked message interface you were using, but use the new functions; the script can be found here: http://pastebin.com/7BVsUjBF

It still needs to poll for swimming but I figured that could be done at a much slower rate than normally used in an AO. I had to forgo the ability to replace the typing anim since that would require a faster timer.

The new animation override functions don't allow for stacking anims in the way you used to with the , separator so that was given up. Finally, in the interests of cramming the core into a single 16k LSL compiled script I didn't implement the timing option for the different anims; it could certainly be done, I just chose not to do so!

Chloe


Message: 1
Date: Sun, 26 Jan 2014 07:57:32 -0800
From: Ziggy Puff <[hidden email]>
Subject: [slscripters] LSL animation questions
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I might be getting back into doing some SL scripting after several years
away, and I have a couple of questions:

  * I remember there was talk of adding features that would remove the
    need for a polling AO like ZHAO. Looking through the LSL wiki, I see
    some new functions for setting animation overrides. I also found
    some discussions of these having been rolled back. What's the state
    of the animation override functions? Are they stable and generally
    deployed across the grid?
  * I thought at one point there was talk about change event
    notifications if the avatar's animation stage changed, but I
    couldn't find anything like that. If an avatar attachment wanted to
    perform some other function (besides change the animation) based on
    the avatar's animation state, is polling still the only available
    option?

Thanks,
Ziggy

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] secondlifescripters Digest, Vol 83, Issue 4

Ziggy Puff
Thanks everyone.

I found some forum threads talking about scripts based on the new functions not working, I don't remember the dates.

I'm not planning on writing another ZHAO based on the new functions, that's not what this question is about. I'm working on a project that requires attachment behavior changes based on animation state, which is why I'm asking these questions. Sounds like I'll have to stick to legacy-AO-style polling to get the behavior I want.

Thanks,
Ziggy

On 1/26/2014 12:09 PM, Chloe Constantine wrote:
There was a brief point when they'd been rolled out to a couple of the RCs and then rolled back; then they were rolled out again and this time they stuck!

As an exercise, I took a version of ZHAO II core and rewrote it to be compatible with the linked message interface you were using, but use the new functions; the script can be found here: http://pastebin.com/7BVsUjBF

It still needs to poll for swimming but I figured that could be done at a much slower rate than normally used in an AO. I had to forgo the ability to replace the typing anim since that would require a faster timer.

The new animation override functions don't allow for stacking anims in the way you used to with the , separator so that was given up. Finally, in the interests of cramming the core into a single 16k LSL compiled script I didn't implement the timing option for the different anims; it could certainly be done, I just chose not to do so!

Chloe


Message: 1
Date: Sun, 26 Jan 2014 07:57:32 -0800
From: Ziggy Puff <[hidden email]>
Subject: [slscripters] LSL animation questions
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I might be getting back into doing some SL scripting after several years
away, and I have a couple of questions:

  * I remember there was talk of adding features that would remove the
    need for a polling AO like ZHAO. Looking through the LSL wiki, I see
    some new functions for setting animation overrides. I also found
    some discussions of these having been rolled back. What's the state
    of the animation override functions? Are they stable and generally
    deployed across the grid?
  * I thought at one point there was talk about change event
    notifications if the avatar's animation stage changed, but I
    couldn't find anything like that. If an avatar attachment wanted to
    perform some other function (besides change the animation) based on
    the avatar's animation state, is polling still the only available
    option?

Thanks,
Ziggy


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters