Vgui neurotoxin countdown: Difference between revisions
Jump to navigation
Jump to search
Note:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.
No edit summary |
|||
Line 1: | Line 1: | ||
{{portal series point|vgui_neurotoxin_countdown}} | {{portal series point|vgui_neurotoxin_countdown}} It is a neurotoxin countdown display. In Portal 1, the time to countdown (in seconds) is set by using the [[startneurotoxins]] console command. In Portal 2, it is set with the countdown KeyValue. | ||
{{note|Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a {{ent|point_hurt}} instead.}} | |||
It is a neurotoxin countdown. In Portal 1, the time to countdown (in seconds) is set by using the [[startneurotoxins]] console command. In Portal 2, it is set with the countdown KeyValue. | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV| | {{KV|Countdown|integer|Time (in seconds) to countdown.|since=P2}} | ||
{{KV|Panel width|intn=width|integer|Width of the panel in units.}} | {{KV|Panel width|intn=width|integer|Width of the panel in units.}} | ||
{{KV|Panel height|intn=height|integer|Height of the panel in units.}} | {{KV|Panel height|intn=height|integer|Height of the panel in units.}} |
Revision as of 19:36, 21 May 2022
Template:Portal series point It is a neurotoxin countdown display. In Portal 1, the time to countdown (in seconds) is set by using the startneurotoxins console command. In Portal 2, it is set with the countdown KeyValue.

Keyvalues
- Countdown ([todo internal name (i)]) <integer> (in all games since
)
- Time (in seconds) to countdown.
- Panel width (width) <integer>
- Width of the panel in units.
- Panel height (height) <integer>
- Height of the panel in units.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Inputs
- Enable
- Make slideshow visible.
- Disable
- Make slideshow invisible.