Script tauremoval: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(raw)
 
(The official FGD lacked a description for this KV so I added one for informative purposes)
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{cleanup}}
{{ent not in game}}
script_tauremoval
{{clr}}
{{this is a|point entity|cut=1|game=Half-Life 2 series|name=script_tauremoval}} It was meant to be used for a cut [[weapon_gauss|Tau Cannon]] removal sequence in the [[Highway 17]] chapter. The entity no longer exists in retail Half-Life 2, although it is still defined in the FGD.


Script: Custom entity used to handle the tau removal sequence in coast. (unused)
==Keyvalues==
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
{{KV|Vortigaunt to use|intn=vortigaunt|target_destination|A vortigaunt NPC to use with this sequence.}}


KEYS
==Inputs==
 
{{I|StartScript|Start the script.}}
Pitch Yaw Roll (Y Z X) angles <angle> 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.
{{I|RemoveTau|Start removing the Tau cannon now.}}
 
Name targetname <target_source> The name that other entities refer to this entity by.
 
Parent parentname <target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
 
Vortigaunt to use vortigaunt <target_destination>
 
 
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.
 
SetParent <string> Changes the entity's parent in the movement hierarchy.
 
SetParentAttachment <string> Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
 
ClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently.
 
StartScript Start the script.
 
RemoveTau Start removing the Tau cannon now.
 
 
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 11:06, 28 September 2025

Info-red.png
This entity is not in the game by default, but got left over in the FGD.
This feature is not available anymore.

script_tauremoval is a cut point entity available in Half-Life 2 series Half-Life 2 series. It was meant to be used for a cut Tau Cannon removal sequence in the Highway 17 chapter. The entity no longer exists in retail Half-Life 2, although it is still defined in the FGD.

Keyvalues

Name (targetname) <string>
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.
Vortigaunt to use (vortigaunt) <targetname>
A vortigaunt NPC to use with this sequence.

Inputs

StartScript
Start the script.
RemoveTau
Start removing the Tau cannon now.