Prop indicator panel

From Valve Developer Community
Revision as of 12:23, 13 September 2013 by Fayti1703 (talk | contribs) (→‎Entity description: Adding a bit more)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Template:Portal2 point

Entity description

It is a tick panel or a timer.

Keyvalues

Timer Duration ([todo internal name (i)]) <float>
Amount of time the counter will count down
Start visible? ([todo internal name (i)]) <boolean>
Whether the timer should be initially visible. - (Buggy, see Discussion page)
Is a timer ([todo internal name (i)]) <boolean>
Whether we're a countdown timer or not.
Is checked ([todo internal name (i)]) <boolean>
If this is a binary indicator, whether this is checked or not.
Indicator Lights ([todo internal name (i)]) <targetname>
If supplied, assumes this is a group of indicators lights to toggle when the indicator is toggled.
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

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.
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.

Inputs

Check
Sets the indicator state to be 'checked'.
Uncheck
Sets the indicator state to be 'unchecked'.
Start
Start counting down.
Stop
Stop the counter at its current value.
Reset
Reset the timer back to its default value.


Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs