Underground Elevator: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Unicodifying, replaced: [[Image: → [[File: (2))
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|Underground Elevator}}
{{stub}}
{{stub}}
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.]]
[[File:Underground-elevator-640.jpg|thumb|right|300px|Underground elevator ingame.]]
==Creation:==
==Creation:==
 
If you want to create a normal elevator, click here :
[https://developer.valvesoftware.com/wiki/Elevator_(Portal_2) Normal Elevator]
===Entrance:===
===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"
1. Create 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.
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.
Line 15: Line 16:
!  || My Output || Target Entity || Target Input || Delay
!  || My Output || Target Entity || Target Input || Delay
|-
|-
| [[Image:Io11.png]] || OnMapSpawn || entrance_lift_train || StartForward || 0.00
| [[File:Io11.png]] || OnMapSpawn || entrance_lift_train || StartForward || 0.00
|}
|}


Line 22: Line 23:
5. Back to your map, create an info_player_start and place it in the lift of the elevator.
5. Back to your map, create an info_player_start and place it in the lift of the elevator.


===Exit:===  
===Exit:===


Create the instance "test_dome_exit_lift_01.vmf". This is all you need to do.
Create a func_instance with VMF Filename "instances/underground/test_dome_exit_lift_01.vmf". This is all you need to do.


[[Category:Portal 2 Level Design]]
[[Category:Portal 2 Level Design]]

Latest revision as of 02:09, 9 January 2024

English (en)Русский (ru)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

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 elevator ingame.

Creation:

If you want to create a normal elevator, click here : Normal Elevator

Entrance:

1. Create 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:

My Output Target Entity Target Input Delay
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 a func_instance with VMF Filename "instances/underground/test_dome_exit_lift_01.vmf". This is all you need to do.