Advanced elevators: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (wip!)
Line 1: Line 1:
{{wip}}
{{wip}}
{{wip}}
Once you've created an elevator (see [[Two-stop elevators]] or [[Multi-stop elevators]]), there are several extra features that you could add to make it more realistic.
Once you've created an elevator (see [[Two-stop elevators]] or [[Multi-stop elevators]]), there are several extra features that you could add to make it more realistic.


Line 7: Line 10:
*Multi-part sliding doors (one part slides into the other, while the other slides into the wall)
*Multi-part sliding doors (one part slides into the other, while the other slides into the wall)
:{{TODO|describe method}}
:{{TODO|describe method}}
<br><br>
{{note|This is being edited by CrabbyData. I'll post it once my other two tutorials (Two-Stop and Multi-Stop elevator) are ready. Just have a little patience --[[User:CrabbyData|CrabbyData]] 03:48, 28 Apr 2006 (PDT)}}

Revision as of 07:34, 28 April 2006

Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Once you've created an elevator (see Two-stop elevators or Multi-stop elevators), there are several extra features that you could add to make it more realistic.

  • Doors that re-open when blocked
Simply tying an Open output to an OnBlocked input will not work, because the OnBlocked doesn't detect both phyics objects and the player.
Todo: describe the solution (parented trigger_multiples)
  • Counterweight
Use a func_physbox for the counterweight, constrained to the wall with a vertical phys_slideconstraint and attached to the elevator with a phys_pulleyconstraint. Remember to add the cables. Since there's more than one constraint, also use a phys_constraintsystem.
  • Multi-part sliding doors (one part slides into the other, while the other slides into the wall)
Todo: describe method