Test Door (Portal 2)
This article is a stub. You can help by adding to it.
A Test Door corresponds to the double round doors found in the regular testing course. One of the sides displays Portal 2's Exit symbol.
In the official levels following the introduction chapter, that type of door is used specifically in test chambers to show the beginning and the end of the test chamber, in order to separate unrelated puzzles (as opposed to Portal where that type of door can be found in the middle of the course as an integral puzzle element).
To create a door, you will need to place an prop_testchamber_door and an entity that can activate it. You will need to set the Inputs and Outputs to open the door when activated, and close the door when deactivated.
A simpler method is to create a prop_dynamic entity, select it and press alt+enter to view its properties. Change the world model to models/props/portal_door_combined.mdl , this has all the door animations in it, you can use triggers to trigger these animations. The door will NOT automatically make sound, so you are going to have to trigger these sounds using an ambient_generic entity.
The sound names are:
*Bug: The animated door cannot be set to idleclose, it will automatically default back to idleopen
*Fix: Place a logic_auto , in the outputs tab, make an output with these settings:
My output named: OnMapSpawn Target entities named: <Name you gave your door> Via this Input: SetAnimation With a parameter override of: Idleclose
The underground doors are present in the underground motel, in the Fall chapter.