Switch (Portal 2): Difference between revisions
mNo edit summary |
(→Super Button: changed minor things in Super Button added Under_button) |
||
Line 16: | Line 16: | ||
==Super Button== | ==Super Button== | ||
[[Image:Super_button_p2_blue.jpg|thumb|left|100px|The Super button]] | [[Image:Super_button_p2_blue.jpg|thumb|left|100px|The Super button]] | ||
The 1500 Megawatt Aperture Science Heavy Duty Super-Colliding Super Button. Used in [[Portal 2]] to open doors, raise stairs and turn entities on and off. | The 1500 Megawatt Aperture Science Heavy Duty Super-Colliding Super Button. Used in [[Portal 2]] to open doors, raise stairs and turn entities on and off. It can be activated by cubes, the player, and other objects. It is usually made of only one [[prop_floor_button]], but in official maps it is commonly found as part of one of the [[List of Portal 2 Instances#buttons | button instances]]. | ||
===Creation=== | ===Creation=== | ||
Line 23: | Line 23: | ||
Note: not in a way that it'll look like the cube only button. | Note: not in a way that it'll look like the cube only button. | ||
To Do: Please expand on this for me, there may be a few errors or short comings, I just wanted to help people who needed it now. | To Do: Please expand on this for me, there may be a few errors or short comings, I just wanted to help people who needed it now. | ||
==Underground Button== | |||
This button, acts exactly as the Super Button does, the only difference is the appearance. It can be triggered by the player and cubes. For consistency this button is used only in the [[Old Aperture]] in official maps, and usually is activated by the 'antique cube'. | |||
==Other Switches== | ==Other Switches== |
Revision as of 10:41, 19 May 2011
There are several types of switches used throughout portal 2. This article list them and also provides tutorials on how to create them in the hammer editor.
Pillar Button
The tall, red, player activated buttons used in Portal 2 are very simple to create. The button is used as a trigger for doors and many other entities in the game, as well as a self contained timer.
Creation
Firstly place a prop_button entity on the ground and position it where you want it. Direct the OnPressed output to a logic_relay or instance containing the actions that should occur when the button is pressed.
To have the button act as a timer, set the Delay Before Reset property to the desired amount of time and Play timer sound? to "Yes." Direct the OnButtonReset to the trigger you want to activate when time runs out.
Super Button
The 1500 Megawatt Aperture Science Heavy Duty Super-Colliding Super Button. Used in Portal 2 to open doors, raise stairs and turn entities on and off. It can be activated by cubes, the player, and other objects. It is usually made of only one prop_floor_button, but in official maps it is commonly found as part of one of the button instances.
Creation
Select the entity creation tool and choose prop_floor_button from the list. Spawn it, an place it where you want on the map. By going into the properties of the button, you can choose what you want to happen when it is pressed (OnPressed) or when it is released (OnUnPressed). Under the 'Button model' property in the 'Class Info' tab you can change the way the floor button looks. Just filter "portal_button" in the model browse menu. Note: not in a way that it'll look like the cube only button. To Do: Please expand on this for me, there may be a few errors or short comings, I just wanted to help people who needed it now.
Underground Button
This button, acts exactly as the Super Button does, the only difference is the appearance. It can be triggered by the player and cubes. For consistency this button is used only in the Old Aperture in official maps, and usually is activated by the 'antique cube'.
Other Switches
(To do)
- Gel Pump control switch
- Old Aperture Big Red Button
- Edgeless Safty Cube holder/button
- CD Drive trigger