Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Elevators Again

Page: 1 of 1
 Cosman
06-20-2004, 6:04 AM
#1
Ok. :rolleyes: I know you have discus it a lot but I want to make an automatic elevator.
I have a 3 floor building and I need an elevator that will automatically stop for 8 sec in each floor and open the floors door (or force field) how I do this thing. :confused:
Well I have seen it in Forbidden Twilight (a map for jk2). Another thing the tutorial link for elevator in page http://www.lucasforums.com/showthread.php?s=&threadid=110416)
from wedge2211 is broken I think…. (Or am I wrong?)
 Codja X
06-20-2004, 6:21 AM
#2
The only thing I can suggest is to use a script. Make your lift, and then use a script to move it on the z-axis the required number of game units, use a wait command in the script with the value 8000.

Put that in a loop for 3 iterations, create another loop that has the elevator going down (a negative value on the z-axis).

Loop that 3 times and put those 2 loops in a big infinte loop.

Don't ask me for the code as all I do to create scripts is press the buttons that look correct, but the above pseudo-pseudo-code should do the trick!

I can do the theory but not the practice. Anyone out there want to explain this better?

Some pseudocode:

loop forever
begin

loop 3 times
begin
move platform z=512
wait (8000)
end

loop 3 times
begin
move platform z=-512
wait (8000)
end

end
 Cosman
06-20-2004, 12:11 PM
#3
I thought to use script :rolleyes: but I don’t know how to build one. If any1 knows tutorials for scripting ( or can build me this script) plz help.
 Oidar
06-20-2004, 3:46 PM
#4
Its always worth checking other sites such as Q3 sites and map-center.com

this should help you out. its a tutorial on fully automatic elevators

http://www.map-review.com/index.php?page=tutorial_view&id=4)
 Shadow_stone
06-20-2004, 5:49 PM
#5
u can also use a func_train if u want to stop at every floor sinceu got 3 :P but u wont be able to call it when u want ur gonna have to wait heh
 Codja X
06-21-2004, 7:37 AM
#6
Originally posted by Shadow_stone
but u wont be able to call it when u want ur gonna have to wait heh

Just like in real life then:)
 Cosman
06-21-2004, 10:40 AM
#7
well :rolleyes: func_train has some problems with my map and also I cant program it to open doors
 Jedi_Vogel
06-22-2004, 5:27 AM
#8
Um, you can't open doors on your map :? that's kinda...bad lol

you have set the doors to a func_door haven't you?

Dumb question, but gotta start with the basic answers lol
 WadeV1589
06-22-2004, 12:10 PM
#9
Ya mis-read what he said (even though it was bad english)...he's talking about an elevator, think how the doors operate as an elevator moves and re-read his post :p
 Jedi_Vogel
06-22-2004, 12:29 PM
#10
Um, oops, thanks for pointing that out Wade :o
Page: 1 of 1