Basic Multi Floor Elevator: Difference between revisions
(Created page with 'The following tutorial will walk you through how to create an elevator that can function properly for 2 floors or more. The elevator can be used in single-player as well as mult…') |
No edit summary |
||
Line 56: | Line 56: | ||
Next Clone both doors again (Select both doors, hold shift than drag the doors), | Next Clone both doors again (Select both doors, hold shift than drag the doors), | ||
**WORK IN PROGRESS** Sorry, will finish shortly. |
Revision as of 23:15, 1 July 2010
The following tutorial will walk you through how to create an elevator that can function properly for 2 floors or more. The elevator can be used in single-player as well as multiplayer, but online, the elevator may not function as well due to internet interference.

Creating the physical elevator
The Main Body
Begin by creating a box that is 128 x 128 x 128. Next, hollow out the cube (Ctrl + H), and make sure you type 8 as the width.
Set the Body aside for the time being.
The Doors
Begin creating the doors by creating a panel that is 32 units wide, 88 units tall, and 2 units thick.
Clone the door by holding shift + dragging the door when its selected. Than place them side by side with one door 1 unit in front of the other.
Fitting the Doors
Cut a hole that is 64 units wide and 88 units tall, and 8 units thick in the center of the wall you want your doors to be.

Do not place the doors in the elevator quite yet.
Select both doors (individually) and apply a func_door function by opening you properties menu (Ctrl + T while the object is selected).
Making it work
Lift Step 1
Select the main body portion of the elevator (walls, ceiling, and floor, NOT the doors), and open your properties menu again.
Than apply a func_tracktrain function to it.
I've named my elevator Elevator to make it really simple.
Door Operations Step 1
Place the doors in the proper location inside the elevator.
My doors will be moving north so for each door I've set the movedir (Move Direction) to "0 90 0". If your doors are moving: East use "0 0 0" West use "180 0" South use "0 270 0"
For speed I've set the 1st door to 31, while the second door's speed is 62.
In the properties menu of each door, go to the "Flags" tab and un-check the "Touch Opens" flag and check the "Toggle" flag.
Name both doors "Elevator_Doors". And parent them to "Elevator".
Architecture
We now need to create the shaft that will house the elevator. To begin create 4 walls that fit perfectly around the body of your elevator. I made my walls 384 units tall and fit perfectly around the elevator. Finally, cover the top and bottom to prevent any leaks.
Now cut holes the size of your elevator opening (88 units tall by 64 units wide) at each of the points your elevator will stop at. Since this tutorial is for a 3 story elevator, I've cut 3 holes into the the tube.
Next Clone both doors again (Select both doors, hold shift than drag the doors),
- WORK IN PROGRESS** Sorry, will finish shortly.