Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

compatibvle Animation override

Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
12-06-2004 02:09
i did a pair of boots and crafted my own animation overrider (with help of ferran thanns ^_^ )

but i was thinking if there was anybody interested by building a sort of "compatible" AO system

the kind of system that could be used with morethan one object without interfering with another instance of the script.

Dont know how it can be done in a reliable way

and of course with few resource use
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
12-06-2004 02:15
Well... if you want different objects to over-ride different animations, then you could just have them chat on a secret channel with a central over-rider. Of course, if there are any conflicts (two objects want to override the same animation), then you'll have to come up with some way of choosing one or the other.

You'd also want each requester object to send a keepalive to the overrider, otherwise when someone detaches it wierdly it will keep on overriding. Plus add an on_attach event, checking for if( key == NULL), and sending a message in your secret channel to cancel the animation overrides for this object.

Francis Chung has an OpenSource animation over-rider that you could use as the basis of this. For all I know it already does this; I'm not sure. But if it doesnt it wouldnt be that hard to add the above functionality into it I am sure.

Azelda
_____________________