Env rock launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Add internal names of keyval keys)
(-added tank_rock to see also, concise page)
Line 5: Line 5:
{{KV|Rock Damage Override|intn=RockDamageOverride|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}}


== Inputs ==
== Inputs ==
{{IO|LaunchRock|Launch a rock}}
{{IO|LaunchRock|Launch a rock}}
{{IO|SetTarget|Target a new entity (by name)|param=string}}
{{IO|SetTarget|Target a new entity (by name)|param=string}}
{{I Targetname}}


== Outputs ==
== See Also ==
{{O Targetname}}
* [[tank_rock]]

Revision as of 11:59, 27 October 2022

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 or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

LaunchRock
Launch a rock
SetTarget <stringRedirectInput/string>
Target a new entity (by name)

See Also