Infra corruption target: Difference between revisions
Jump to navigation
Jump to search
Warning:
Deprecated (talk | contribs) m (Changed to use INFRA point template) |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
[[File:Infra corruption target.png]] | [[File:Infra corruption target.png]] | ||
{{ | {{this is a|e0|game=infra|name=infra_corruption_target}} | ||
== Entity Description == | == Entity Description == |
Revision as of 09:15, 7 January 2024
infra_corruption_target
is an e0 available in INFRA.

- The {{{game}}} parameter is inconsistent with the name defined by the {{infra}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to INFRA.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
Entity Description
It creates a corruption target which can be triggered. Typically intended to be used with infra_document to create a readable or photographable corruption piece. Plays a satisfying sound when triggered.
Keyvalues
- Triggered by Photograph ([todo internal name (i)]) <boolean>
- Can this corruption target also be triggered by taking a photo of it?
- Needs Player Nearby ([todo internal name (i)]) <boolean>
- Can this corruption target only be triggered if the player is nearby? Doesn't affect photographing, only the Trigger input.
- Maximum Range ([todo internal name (i)]) <float>
- A picture of this target is only considered successful if the player is within this range of the entity. Set to zero or less for infinite range.
- 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
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.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- Trigger
- Marks this corruption target as 'solved'. Doesn't do anything if it's disabled or if it has been previously triggered.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnTriggered
- Fired when this is triggered.