Page 1 of 1
Elevator
Posted: Wed Feb 18, 2009 8:06 pm
by JROD
I am making this map that is a bunch of dueling arenas that are above each other, so that way many duels can commence at the same time, and I am absolutely clueless on how to make an elevator that can move up and down between the four. Any help would be greatly appreciated. Thanks.
Re: Elevator
Posted: Wed Feb 18, 2009 9:08 pm
by YaNkFaN
i was thinking about an elevator and here is one idea i came up with it's a little difficult and complicated but it may work
you have a platform
you have an animation where the platform is moved up
you have 2 regions one at the top of the elevator one at the bottem
you make a script that tells the game that when the player enters the region the animation plays and the platform moves up. The platform will stay there until the player comes back into the second region and the animation rewinds bringing the player down.
another simpler way is to make an animation that's slow and just loops so the platform is constantly moving up and down and leave it up to human intelligence to use it..
i haven't figured out a way to have AI properly use an elevator
hope this helps
o and welcome to GT
Re: Elevator
Posted: Wed Feb 18, 2009 9:53 pm
by JROD
YaNkFaN wrote:i was thinking about an elevator and here is one idea i came up with it's a little difficult and complicated but it may work
you have a platform
you have an animation where the platform is moved up
you have 2 regions one at the top of the elevator one at the bottem
you make a script that tells the game that when the player enters the region the animation plays and the platform moves up. The platform will stay there until the player comes back into the second region and the animation rewinds bringing the player down.
another simpler way is to make an animation that's slow and just loops so the platform is constantly moving up and down and leave it up to human intelligence to use it..
i haven't figured out a way to have AI properly use an elevator
hope this helps
o and welcome to GT
Thanks for the welcome. I kinda thought of most of that; its the doing that is the problem. Maybe if someone could post a tutorial or something... Its not in the docs, i know that.
-------------------------------------------------->EDIT<-------------------------------------------------------
Sorry guys, I guess that doc slipped past me

Thanks for pointing it out, Mr. Duck.
Re: Elevator
Posted: Thu Feb 19, 2009 1:41 am
by DarthD.U.C.K.
it is covered in the "procedural animation guide.doc"
Re: Elevator
Posted: Thu Feb 26, 2009 8:28 pm
by JROD
Ok. Now the elevator moves up and down like I want it to, but it won't let me ride it. If I jump on it it acts as if I'm jumping into a stage boundary, and if I run under it I get "teleported" back the way I came when it comes down. Any suggestions? And yes, I have the build accurate object collision box checked.
Re: Elevator
Posted: Thu Feb 26, 2009 8:35 pm
by YaNkFaN
that just may be the game engine i've never tried running into an animated object so i'm not sure if that's you or if that's just a hardcoded game issue
Re: Elevator
Posted: Thu Feb 26, 2009 8:36 pm
by Maveritchell
JROD wrote:If I jump on it it acts as if I'm jumping into a stage boundary,
What?
Aside from not knowing what you mean by the above, if you have an object that moves too quickly into your character, you will fall through.
Re: Elevator
Posted: Thu Feb 26, 2009 8:38 pm
by Fiodis
What? How does it act? What is a stage boundary?
If you are sucked through it, slow it down. I've run plenty of ZE-animated objects, elavators are a piece of cupcake. Totally possible, don't worry.
And welcome to GT!
There are alternatives to elavators, which are a bit more complex but which you may want to consider:
- Teleporters
- Linked Turrets (Like on capital ships)
Re: Elevator
Posted: Thu Feb 26, 2009 8:41 pm
by YaNkFaN
i think he wants just a platform that moves him from one level of a map to another level
Re: Elevator
Posted: Thu Feb 26, 2009 8:47 pm
by JROD
YaNkFaN wrote:i think he wants just a platform that moves him from one level of a map to another level
Yes. And by stage boundary I mean like if your running into the boundary walls on mos eisley. And its not the game engine, since the LOZ mod has several elevators. I'm using a really big kamino... "object" that is very tall, so I'm having it go down so a good part of it actually goes into the ground. Could that be a problem?
Re: Elevator
Posted: Thu Feb 26, 2009 8:52 pm
by Fiodis
No, but the object you're using might be. Which is it? Perhaps more importantly, does it have a msh.option file associated with it? If yes, does the file contain the line -nocollision? If yes, remove the line.
EDIT - Lol @ "Mr. Duck"