Page 1 of 1
Fade in and Fade of objects

Posted:
Tue Nov 27, 2007 9:43 pm
by Grogyan
I'm currently near the position in my experimental Age, where I need to get the avatar to sit down and have a sphere/cube envelope them, in a very similar way to the finale of Amateria.
Question is, if someone can help, I couldn't find a function that does any sort of fading, what would the code be to get something like a hollow sphere/cube to fade in and fade out at the push of a button, please?
2nd question, when using a clickable region, how does one cause the avatar to execute an animation?
This is part of the experiments I am doing before I get started on my big Age, which could involve having a sphere rolling down some tracks.
Re: Fade in and Fade of objects

Posted:
Tue Nov 27, 2007 10:01 pm
by Goofy
for the fade probley going to have to create a script to change the alpha or even a small animation of the sphere fade in and out. On the other question, as far as I know the animation for pressing buttons is default(part of the globle files).
Re: Fade in and Fade of objects

Posted:
Wed Nov 28, 2007 4:30 pm
by Nadnerb
Doing this requires animations. First you'll need a layer animation to fade the sphere in, and an avatar animation for sitting down. Perhaps later, even an animation for the ride itself. However, general animations are not something we can create yet. They are being worked on, but none of the tools openly available right now can do what you ask for here. Layer animations for textures may be done very soon, and I don't know about any others.
Re: Fade in and Fade of objects

Posted:
Wed Nov 28, 2007 5:33 pm
by Goofy
Nadnerb wrote:Doing this requires animations. First you'll need a layer animation to fade the sphere in, and an avatar animation for sitting down. Perhaps later, even an animation for the ride itself. However, general animations are not something we can create yet. They are being worked on, but none of the tools openly available right now can do what you ask for here. Layer animations for textures may be done very soon, and I don't know about any others.
Heh thats the biggest problem with the age I'm trying/wanting to make. It has animation in it. Sit regions being one of them, but atleast I can make sure the models are good(textures and such).
Re: Fade in and Fade of objects

Posted:
Wed Nov 28, 2007 8:20 pm
by Grogyan
I was under the impression that clicking on a bench was part of the clickable region with a flag that invokes an animation or sequence of events.
Ok, thanks for that, at least I can continue with some texturing experiments with transparent textures, now that the plugin supports z buffering, i'll have to a search for what that process was.
Re: Fade in and Fade of objects

Posted:
Wed Nov 28, 2007 8:57 pm
by Aloys
Unfortunately it appears triggering simple avatar animations like linking, or sitting, or pulling a lever, is actually pretty complex.. and so it's not something we can do right now. (I'm pretty sure if we had sit regions they'd be all over the Ages.)
Re: Fade in and Fade of objects

Posted:
Wed Nov 28, 2007 11:37 pm
by Chacal
But ladder climbing works. I wonder why those are so different.
Re: Fade in and Fade of objects

Posted:
Thu Nov 29, 2007 8:51 am
by Nadnerb
because ladders are a built-in feature of the engine, like walking, and swimming. The sitting animations are just that, animations, triggered by a tagged clickable object. They all seem to use the same global animation though, so it's possible that with a bit of python, you could trigger that. It would not be 'nice' though.

Re: Fade in and Fade of objects

Posted:
Thu Nov 29, 2007 3:25 pm
by Chacal
Ah yes that's true, climbing and swimming are automatically triggered by entering a region.
I can only suggest studying Cyan Ages through Blender and PrpExplorer.