Page 4 of 4

Re: Non GlobalAnimations test age

Posted: Fri Jan 09, 2009 6:18 pm
by D'Lanor

Code: Select all

<region>:
    quickscript:
        selfanimation:
            animation: <animation name>

Re: Non GlobalAnimations test age

Posted: Fri Jan 09, 2009 7:26 pm
by Grogyan
Would you believe that, that doesn't work on my machine.

You said that there isn't any debug output for the building of the script, how would I add that to the quickscripts.py?

Edit:
More proof that i'm an idiot, somehow all the scripts were no longer in the AlcScript file, but in another, so they were being forgotten, the quickscript is working

Re: Non GlobalAnimations test age

Posted: Sat Jan 10, 2009 5:44 am
by D'Lanor
So where does the seekpoint go?

Re: Non GlobalAnimations test age

Posted: Mon Jan 12, 2009 12:30 am
by Grogyan
The seek point is the ObData centre, which makes it annoying tricky to place if you have complex geometry for the region, have to go into edit mode and select all vertices, then move the vertices without relation to the ObData centre, then go to Object mode to move the ObData centre to the right place, repeat and rinse.

Which is why i'd like to stick with using Empties as seek points, if I can

Re: Non GlobalAnimations test age

Posted: Mon Jan 12, 2009 3:28 am
by Tsar Hoikas
Grogyan wrote:The seek point is the ObData centre, which makes it annoying tricky to place if you have complex geometry for the region, have to go into edit mode and select all vertices, then move the vertices without relation to the ObData centre, then go to Object mode to move the ObData centre to the right place, repeat and rinse.

Which is why i'd like to stick with using Empties as seek points, if I can


You know, you can snap the center to the cursor, right?

It's one of those millions of options :ugeek:

Re: Non GlobalAnimations test age

Posted: Mon Jan 12, 2009 11:52 am
by D'Lanor
Grogyan wrote:Which is why i'd like to stick with using Empties as seek points, if I can

And now you can. ;) If you use this version of prp_QuickScripts.py from my contrib folder the following quickscript will work:

Code: Select all

<region>:
    quickscript:
        selfanimation:
            animation: <animation name>
            animtarget: <seekpoint empty>

Re: Non GlobalAnimations test age

Posted: Mon Jan 12, 2009 11:24 pm
by Grogyan
Gee, thanks much D'Lanor

Re: Non GlobalAnimations test age

Posted: Sat Jun 13, 2009 7:27 pm
by Robert The Rebuilder
D'Lanor wrote:Even more simple... add this to the fni file of the age:

Nav.PageInHold FemaleSwimDockExit
Nav.PageInHold MaleSwimDockExit



Just a follow-up on this post. The above code, added to the fni file (or to the 'init' page in Blender) will allow the non-global animation to work in your age. HOWEVER - when you attempt to link to the age that you 'borrowed' the animation from, URU will freeze at the 75% loading point. The problem is that this shortcut does nothing to unload that animation page when you leave the age, leaving it still in memory. When you visit the age that the page belongs to, there's a conflict.

To date, the safest way to borrow an animation is through Python, as described here.