Heavy Door (Portal 2): Difference between revisions
Jump to navigation
Jump to search
m (Equalizer5118 moved page Heavy Door (Portal 2) to Heavy Door (Portal 2)/en) |
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: [[Image: → [[File: (2)) |
||
Line 11: | Line 11: | ||
! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ||
|- | |- | ||
| [[ | | [[File:Io11.png]] || OnEndTouchAll || ''door name'' || instance:close_door;Trigger || -- || 0.00 || No | ||
|- | |- | ||
| [[ | | [[File:Io11.png]] || OnStartTouch || ''door name'' || instance:open_door;Trigger || -- || 0.00 || No | ||
|} | |} | ||
Revision as of 10:06, 8 January 2024
The heavy door is found in the Behind the Scenes sections of Portal 2.
To add a door, the easiest method is to create a func_instance with the VMF file instances/door/vertical_security_door.vmf.
For a simple door that opens when approached, create a brush overlapping the door, link to trigger_playerteam, and add these outputs:
You can use other types of trigger (e.g. a logic relay, a button) to control when the door opens.
Use the dropdown to explore other parameters; there are fast and close opens as well as a malfunctioning open.
An easy way to make the door one-way is to put your trigger on only one side of the door.