Underground Elevator: Difference between revisions
No edit summary |
|||
Line 3: | Line 3: | ||
Underground elevators are seen in the Old Aperture testing areas. They consist of metal beams which serve as a track and the elevator itself which is composed of a frame and two sliding doors. | Underground elevators are seen in the Old Aperture testing areas. They consist of metal beams which serve as a track and the elevator itself which is composed of a frame and two sliding doors. | ||
[[Image:Underground-elevator-640.jpg|thumb|right|300px|Underground elevator ingame.]] | [[Image:Underground-elevator-640.jpg|thumb|right|300px|Underground elevator ingame.]] | ||
== | ==Creation:== | ||
Entrance: | ===Entrance:=== | ||
Exit: test_dome_exit_lift_01.vmf | 1. Create the elevator in your map by creating a func_instance and set the VMF filename to "instances/underground/test_dome_entrance_lift_01.vmf" | ||
2. Select the elevator, and you will see an "Edit Instance" button. Click on this, and it will take you to the vmf of the elevator. | |||
3. Create a [[logic_auto]] entity and set up the output as follows: | |||
::{| class=standard-table | |||
! || My Output || Target Entity || Target Input || Delay | |||
|- | |||
| [[Image:Io11.png]] || OnMapSpawn || entrance_lift_train || StartForward || 0.00 | |||
|} | |||
4. Save this vmf (or if you want to, save it as another name.) | |||
5. Back to your map, create an info_player_start and place it in the lift of the elevator. | |||
===Exit:=== | |||
Create the instance "test_dome_exit_lift_01.vmf". This is all you need to do. | |||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] |
Revision as of 09:02, 29 September 2013
Underground elevators are seen in the Old Aperture testing areas. They consist of metal beams which serve as a track and the elevator itself which is composed of a frame and two sliding doors.
Creation:
Entrance:
1. Create the elevator in your map by creating a func_instance and set the VMF filename to "instances/underground/test_dome_entrance_lift_01.vmf"
2. Select the elevator, and you will see an "Edit Instance" button. Click on this, and it will take you to the vmf of the elevator.
3. Create a logic_auto entity and set up the output as follows:
4. Save this vmf (or if you want to, save it as another name.)
5. Back to your map, create an info_player_start and place it in the lift of the elevator.
Exit:
Create the instance "test_dome_exit_lift_01.vmf". This is all you need to do.