Non GlobalAnimations test age

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

Non GlobalAnimations test age

Postby Lontahv » Sat Apr 19, 2008 5:13 pm

Here's an example of what you can do with other-age Avatar-anims. When you link to this age try to climb the wall. ;)

You'll notice that none of the anims are from the global Prps(except the avatar-idle/run/etc. if you're picky :P ).

It's nowhere near perfect, I just wanted to share this with you.

http://lontahv.googlepages.com/OneShotMod_example.zip

~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Non GlobalAnimations test age

Postby Grogyan » Sat Apr 19, 2008 10:36 pm

I like it, i'll be using this technique for my shell.

Yet another feature I didn't have time to do for the contest

The animation i'm interested in is the exitwater animation for Ahnonay sphere 1

Are you able to redo that test age so that we could climb just on the wall in Gahreesen?
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Non GlobalAnimations test age

Postby Lontahv » Sun Apr 20, 2008 1:01 am

Well, yes... but also no. There's lots to the Gahreesen wall, and even though it's broken, there's still a lot of stuff there. If you've ever tried fly-mode and then dropped in the wall-room, you crash. It'd be better to make a patch out of some of the UU files and then it'd be full-function.

The neat part about the age is that you can climb at any part in the wall(unlike with ladders). I think a lot can be done with automated ladders. :) Such as clicking the ladder and you climb up. Rather than having to hold the "Up" key you go up.

~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Non GlobalAnimations test age

Postby Aloys » Sun Apr 20, 2008 6:28 am

That pretty neat, could be very useful in some Ages. :) All imperfections aside it shows some potential..

I always had in mind a climbing Age.. A sort of obstacle course, but around a mountain (think the relto 'mountain' 30 times bigger..), with all sort of jumping and climbing until you get to the top. :p With rocks to jump/climb, and pits to avoid, maybe even some water with currents... Think of all the platforming parts of Uru in a single Age and twice more difficult. There'd be no panic link, you'd just fall or slide until you get to the bottom and have to start again..
It could make for some fun multiplayer stuff too; contests and all. We could have small puzzles for teams, like you need two players to cooperate to unlock ladders or open paths.. We could also have some sitting areas around for spectators.
All kinds of ideas come to mind. :p I could write a five pages design document just for that..

We were discussing not too long ago how ladders can be tilted at an angle, is it possible for the 'climb' animations?
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Non GlobalAnimations test age

Postby D'eux » Sun Apr 20, 2008 7:34 am

Seems like someone just provided the means to get out of Eh'ko ;)

-: D'eux :-
| Ki# 4586709 | Book of D'eux |
User avatar
D'eux
 
Posts: 110
Joined: Fri Nov 16, 2007 9:45 pm
Location: Serenia

Re: Non GlobalAnimations test age

Postby D'Lanor » Sun Apr 20, 2008 8:57 am

Aloys wrote:We were discussing not too long ago how ladders can be tilted at an angle, is it possible for the 'climb' animations?

Yep. It is the same principle.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Non GlobalAnimations test age

Postby Lontahv » Sun Apr 20, 2008 9:26 am

Not sure why it does that "jumping" thing... it's like the python isn't making a smooth enough transition.

Here's the meat of the anim code if your interested:

Code: Select all

def PlayAvAnim(animName, animTime):
   
    obj = PtGetLocalAvatar()
    objkey = obj.getKey()
    currLoopTime = 1
    while currLoopTime < (animTime + 1):               
        obj.avatar.oneShot(objkey,1,1,animName,0,0)
        currLoopTime += 1
    return

##when region is triggered (on notify)
            PtPageInNode("MaleWallClimbMountUp")
            PtPageInNode("MaleWallClimbUp")
            PtPageInNode("MaleClimbOffTreeLadder")
       
            PlayAvAnim("MaleWallClimbMountUp", 1)
            PlayAvAnim("MaleWallClimbUp", 7)       
            PlayAvAnim("MaleClimbOffTreeLadder", 1)



:)

The numbers after the anim names are number of times to play the anim.


~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Non GlobalAnimations test age

Postby Grogyan » Tue Jul 15, 2008 11:56 pm

I'm just curious, been thinking again, sorry.

Is it possible to do this entirely with AlcScript yet?
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Non GlobalAnimations test age

Postby D'Lanor » Wed Jul 16, 2008 3:02 am

The animations can be done in alcscript but if you are using non-global animations you need a way to page them in. Apart from Python that could perhaps be done with a custom ini file. If I am not mistaken Uru goes through any ini file it finds at startup no matter what it is called.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Non GlobalAnimations test age

Postby Grogyan » Wed Jul 16, 2008 4:12 am

Yeah I mean't non global animations, specifically the exit water animation in Ahnonay 1, it'd be ideal to have this one easily scripted as its one that'll have many applications, eg my shell.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Next

Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests

cron