Env rock launcher: Difference between revisions
Jump to navigation
Jump to search
(Reformat) |
m (Add internal names of keyval keys) |
||
Line 2: | Line 2: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Target Name|target_destination|The name of the entity to throw the rock at.}} | {{KV|Target Name|intn=RockTargetName|target_destination|The name of the entity to throw the rock at.}} | ||
{{KV|Rock Damage Override|integer|damage to be used instead of the the default rock damage. }} | {{KV|Rock Damage Override|intn=RockDamageOverride|integer|damage to be used instead of the the default rock damage. }} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV Angles}} | {{KV Angles}} |
Revision as of 07:57, 17 March 2021
Template:L4d series point This entity spawns and launches rocks that are typically spawned by the Tank in the Left 4 Dead Series. It is useful for cutscenes or other scripted events.
Keyvalues
- Target Name (RockTargetName) <targetname>
- The name of the entity to throw the rock at.
- Rock Damage Override (RockDamageOverride) <integer>
- damage to be used instead of the the default rock damage.
- 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
- 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
- LaunchRock
- Launch a rock
- SetTarget <string >
- Target a new entity (by name)