Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Retored relevant link. Some people use commentary_zombie_spawner in non-commentary instead of info_zombie_spawn. It happens often! Awesome re-formatting job on the VDC, Barracuda.)
mNo edit summary
Line 1: Line 1:
{{l4d series point|commentary_zombie_spawner}} It is a manual spawning point for specific types of zombies for the commentary mode.
{{l4d series point|commentary_zombie_spawner}} It is a manual spawning point for specific types of zombies for the commentary mode.


== Keyvalues ==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV Angles}}
{{KV Parentname}}
{{KV Parentname}}


== Inputs ==
==Inputs==
{{IO|SpawnZombie|Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g. 'smoker,BostonJoe' or 'common_male_suit').<br/> Zombie types: boomer, common_*, hunter, smoker, tank, witch|param=string}}
{{IO|SpawnZombie|Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g. 'smoker,BostonJoe' or 'common_male_suit').<br/> Zombie types: boomer, common_*, hunter, smoker, tank, witch|param=string}}
{{I Targetname}}
{{I Targetname}}
{{I Parentname}}
{{I Parentname}}


== Outputs ==
==Outputs==
{{IO|OnSpawnedZombieDeath|One of the zombies spawned by this entity has died}}
{{IO|OnSpawnedZombieDeath|One of the zombies spawned by this entity has died}}
{{O Targetname}}
{{O Targetname}}


== See also ==
==See also==
* [[info_zombie_spawn]]
* [[info_zombie_spawn]]

Revision as of 11:25, 1 February 2015

Template:L4d series point It is a manual spawning point for specific types of zombies for the commentary mode.

Keyvalues

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.
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.

Inputs

SpawnZombie <stringRedirectInput/string>
Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g. 'smoker,BostonJoe' or 'common_male_suit').
Zombie types: boomer, common_*, hunter, smoker, tank, witch


Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs

OnSpawnedZombieDeath
One of the zombies spawned by this entity has died


See also