Env rock launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Reformat)
Line 1: Line 1:
{{l4d series point|env_rock_launcher}} 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.
{{l4d series point|env_rock_launcher}} 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==
== Keyvalues ==
{{KV|Target Name|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 Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV Angles}}
*;Target Name <code><target_destination></code>
:The name of the entity to throw the rock at.
*;Rock Damage Override <code><[[int]]></code>
:Damage to be used instead of the the default rock damage.


==Inputs==
== Inputs ==
{{IO|LaunchRock|Launch a rock}}
{{IO|SetTarget|Target a new entity (by name)|param=string}}
{{I Targetname}}
{{I Targetname}}
*;LaunchRock
:Launch a rock.
*;SetTarget <code><[[string]]></code>
:Target a new entity (by name).


==Outputs==
== Outputs ==
{{O Targetname}}
{{O Targetname}}
==See also==
==External links==

Revision as of 03:45, 12 August 2011

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 ([todo internal name (i)]) <targetname>
The name of the entity to throw the rock at.
Rock Damage Override ([todo internal name (i)]) <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

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 <stringRedirectInput/string>
Target a new entity (by name)


Outputs