How to make priority 5! Animations (has to be possible pls read)
|
Babette Ultsch
Registered User
Join date: 26 Mar 2007
Posts: 15
|
09-09-2009 06:42
i recently was in the making of new shoes and explored the new maitreya gold line shoes and they have a build in AO with an Animation (called Ankle Lock) which has indeed a priority of 5. Anyone knows how to make these? I assume its a hack but how to reach that? I only came across a priority of 4 by now.
thank you
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
09-09-2009 13:48
they aren't priority 5, they are 4, however the trick is that when an animation of the same prority is played over top of another, the last one played wins (at least for the joints it affects)
so the trick is just to keep replaying the priority 4 animation repeatedly via script on a fast timer, to layer it on top of any other animation.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
09-09-2009 18:27
Edit SecondLife/skins/default/xui/en-us/floater_animation_preview.xml Look for a spinner with label="Priority" and change max_val="4" to max_val="6" I believe 6 is the highest priority currently supported
|
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
|
09-09-2009 22:45
/me turns it up to 11.
|
Vance Adder
Registered User
Join date: 29 Jan 2009
Posts: 402
|
09-10-2009 05:00
From: Day Oh Edit SecondLife/skins/default/xui/en-us/floater_animation_preview.xml Look for a spinner with label="Priority" and change max_val="4" to max_val="6" I believe 6 is the highest priority currently supported Does that actually work when you try to import an animation as priority 6?
|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
09-21-2009 07:32
heyas;
i uploaded a p6 animation to the beta grid, but was disappointed to see that a p4 animation overrode it, just as if it were a p4 animation. actually, i didn't see if the behavior on the main grid was the same. in this particular case, i had designed for a p4 anyway, so it didn't really matter.
im me and remind me to test it, and i will tell you for sure; if i don't get back to here.
|
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
|
09-21-2009 09:56
Seems like you would be able to tell the priority easily enough with Anim Info.
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
09-21-2009 10:00
Yeah, you can set the base priority higher with the XML tweak, but there is other code in the viewer that forces everything back down to 4. There is a special exception for turn_180, the viewer does this by adding it to the list of playable animations but not registering it.
|
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
|
09-22-2009 13:24
Yep, verified with some scientific tests that they are forced back down to priority 4 internally. There is definitely some code that is forcing it back down.
_____________________
 Geometric Library, for all your 3D maths needs. https://wiki.secondlife.com/wiki/Geometric Creator of the Vertical Life Client
|
Babette Ultsch
Registered User
Join date: 26 Mar 2007
Posts: 15
|
12-18-2009 07:12
how did maitreya made their priority 5 animation play on top of every other priority 4 animation? Its definitely not a script involved (spamming animation stack with the ankle lock) since the animation works on its own the same when played from the inventory without the help of a script!
I was making my own priority 5 animation and like told before its getting capped to 4 when played in the viewer, which means any pri 4 animation playing on top overrides it.
|
Babette Ultsch
Registered User
Join date: 26 Mar 2007
Posts: 15
|
12-18-2009 07:19
somewhere i was reading that sl uses local priorities for the limbs in the format the animations where stored on the server. And it is possible to download these as xml and reupload them after editing the local priorities. Might this be the cause for the maitreya animation to work? A theoretical approach might be having only the ankle rotation at priority 5 and the rest at a lower priority, so it maybe will pass the viewer capping. (Besides this on the sl wiki its said P5 work in sl and they refer to the turn_180° animation, its interesting to see how bad the documention of sl actually is, not only in this case)
Just in case anyone is able to do that pls contact me i will pay well for a full perm version of a working animation in p5 like the ones used in the maitreyas.
|