Jump to content

Home

Elevators: Some tough questions


MightyMidget

Recommended Posts

Posted

I was wondering if this is possible, and if so, how can i do it?

 

I want an elevator that goes both up and down, and will stop at a user-specified area.

 

E.g. If i have a 20-story tower and I want to be able to press a button from any one of those stories that will bring the elevator up or down to me, and then once i'm in the elevator I want to be able to select any one of those 20 stories to go to. Is this possible? I figure i could make a wall texture with 20 colored boxes on it and then if i shoot one of the boxes, or press use against one of them it'll take me to the level i want to go to. Anyone have any idea how i could do somthing like this? I don't really want to use just stairs, and I really don't want to use 20 different elevators! :p Thanks.

 

-MM

Posted

You've got problems here.

The Quake3 engine has a few limitations.

The func_door and func_plat entities only move between 1 start and 1 stop point.

You could use a func train - but it keeps moving.

It is possible to do it - but you'll have to script it and it will only work in Single Player mode (As far as I know).

In MP there are more restrictions. (Currently you can't script events in MP - though I believe this will change when Jedi Academy comes out).

 

If anyone else is aware of a solution, then by all means correct me (ESP. - for multi-player!!)

 

Monsoontide

Posted

Indeed, in single player you could handle it with scripting, using only a few buttons, if you would like. For example, you could make one screen, which would show the floor number, and when you would use it, the floor number would change. Then another button would take the elevator to the desired floor shown on the screen. Although even this would be a bit tricky and would need some very sophisticated scripting, and func_buttons piled on top of each other, because you can't design such a shader that would have 20 anim frames. But not a big deal.

 

Of course, the much more inferior MP doesn't give you any tools for this kind of work :p

 

Sorry about that. But I had to say it at least once during my long mapping career ;)

Posted
Originally posted by lassev

Of course, the much more inferior MP doesn't give you any tools for this kind of work :p

 

Sorry about that. But I had to say it at least once during my long mapping career ;)

Booo! Hiss! MP rocks!

 

*throws rotten fruit / vegetables at lassev*

 

:D

Posted

I'm starting to suspect that scripting was only ported to the "siege" gametype of JA multiplayer, so don't put all your hopes and dreams into "scripting in JA will be the magic band-aid" stock.

  • 2 weeks later...
Posted

Would be the damn biggest elevator I had ever seen to host 20 separate buttons. They should be separated so much that the player stands only in one triggering area at a time. And have you seen an elevator with buttons all over the walls? :rolleyes:

 

Besides, it wouldn't still work in MP, because all the buttons would have to be coupled with a separate entity, as you can't cause one entity to move different lenghts without scripting.

Posted

Since you can code entities right in C for MP, I don't see what all the "limitation" fuss is about. Sure, it's harder to do, but a lot of people have it set in their minds that it's impossible.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...