Coop Door (Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (moved Co-Op Door to Coop Door)
Line 2: Line 2:


==Creation==
==Creation==
To detect the bots, use a [[trigger_multiple]] with the outputs OnStartTouchBlue, OnStartTouchOrange, OnEndTouchBlue and OnEndTouchOrange.
To detect the bots, use a [[trigger_playerteam]] with the outputs OnStartTouchBlue, OnStartTouchOrange, OnEndTouchBlue and OnEndTouchOrange.
 
To make the signs that are above the door, use [[signage/coop/teamdoor]] textures on func_brushes with an env_texturetoggle to change from an X to a Check.
To make the signs that are above the door, use [[signage/coop/teamdoor]] textures on func_brushes with an env_texturetoggle to change from an X to a Check.


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

Revision as of 09:37, 12 May 2011

Co-Op doors consist of two triggers that both bots step on to open the door and for each trigger a person sign lights up.

Creation

To detect the bots, use a trigger_playerteam with the outputs OnStartTouchBlue, OnStartTouchOrange, OnEndTouchBlue and OnEndTouchOrange. To make the signs that are above the door, use signage/coop/teamdoor textures on func_brushes with an env_texturetoggle to change from an X to a Check.