Info teleporter countdown: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Technical limitations and cleanup)
No edit summary
 
(22 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_teleporter_countdown}}
{{LanguageBar}}
{{cleanup}}
{{CD|CInfoTeleporterCountdown|file1=info_teleporter_countdown.cpp}}
{{this is a|logical entity|name=info_teleporter_countdown|game=Half-Life 2 series}} This is intended to be a timer counting down how much time is left before Breen teleports away from Earth, in {{ent|d3_breen_01}}. It seems it was never fully finished. The status of the teleporter will appear on {{ent|vgui_screen}} entities whose '''Panel Name''' is '''teleport_countdown_screen'''.


info_teleporter_countdown


Countdown timer for the teleporter. The status of the teleporter will appear on vgui_screen entities whose panel is 'teleport_countdown_screen'.
==Keyvalues==
{{KV Targetname}}


KEYS
==Inputs==
 
{{I|StartCountdown|param=float|Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.}}
Name targetname <target_source> The name that other entities refer to this entity by.
{{I|Disable|Pauses the countdown. This pause can be indicated on the HUD.}}
 
{{I|Enable|Restarts the countdown. {{confirm|Restart, or ''resume''?}}}}
 
{{I|StopCountdown|Stops the countdown permanently.}}
INPUTS
 
Kill Removes this entity from the world.
 
KillHierarchy Removes this entity and all its children from the world.
 
AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
 
FireUser1 Causes this entity's OnUser1 output to be fired.
 
FireUser2 Causes this entity's OnUser2 output to be fired.
 
FireUser3 Causes this entity's OnUser3 output to be fired.
 
FireUser4 Causes this entity's OnUser4 output to be fired.
 
StartCountdown <float> Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.
 
StopCountdown Stops the countdown permanently
 
Disable Pauses the countdown due to a temporary malfunction. A warning sign will appear on the linked vgui screens.
 
Enable Restarts the countdown since the malfunction is finished.
 
 
OUTPUTS
 
OnUser1 Fired in response to FireUser1 input.
 
OnUser2 Fired in response to FireUser2 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.

Latest revision as of 17:45, 5 June 2025

English (en)Translate (Translate)
C++ Class hierarchy
CInfoTeleporterCountdown
CPointEntity
CBaseEntity
C++ info_teleporter_countdown.cpp

info_teleporter_countdown is a logical entity available in Half-Life 2 series Half-Life 2 series. This is intended to be a timer counting down how much time is left before Breen teleports away from Earth, in d3_breen_01. It seems it was never fully finished. The status of the teleporter will appear on vgui_screen entities whose Panel Name is teleport_countdown_screen.


Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

StartCountdown <floatRedirectInput/float>
Starts the teleporter countdown. Requires an argument which is the number of seconds for the countdown.
Disable
Pauses the countdown. This pause can be indicated on the HUD.
Enable
Restarts the countdown.
Confirm:Restart, or resume?
StopCountdown
Stops the countdown permanently.