Vgui neurotoxin countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (added language bar.)
Line 1: Line 1:
{{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.
{{lang|{{PAGENAME}}}}
{{note|Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a {{ent|point_hurt}} instead.}}
{{portal series point|vgui_neurotoxin_countdown}} It is a neurotoxin countdown display. In ''Portal'', the time to countdown (in seconds) is set by using the {{ent|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.}}


==Keyvalues==
==Keyvalues==
Line 6: Line 7:
{{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.}}
{{KV Targetname}}
{{KV BaseEntity|l4d2=1}}
{{KV Angles}}
{{KV Parentname}}
 
==Inputs==
==Inputs==
{{IO|Enable|Make slideshow visible.}}
{{IO|Enable|Make slideshow visible.}}
{{IO|Disable|Make slideshow invisible.}}
{{IO|Disable|Make slideshow invisible.}}
{{I Targetname}}
{{I BaseEntity}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}

Revision as of 09:35, 22 May 2022

English (en)Translate (Translate)

Template:Portal series point It is a neurotoxin countdown display. In Portal, 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.pngNote:Portal 2 does not automatically hurt/kill the player when the timer reaches 0. Use a point_hurt instead.

Keyvalues

Countdown ([todo internal name (i)]) <integer> (in all games since Portal 2)
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.

Inputs

Enable
Make slideshow visible.
Disable
Make slideshow invisible.


Outputs