Info zombie spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added additional keyvalues that were missing and added with the sacrifice)
Line 6: Line 6:
* '''Population''' <code><[[string]]></code>
* '''Population''' <code><[[string]]></code>
:A set of infected to spawn. See left4dead\scripts\population.txt for possible values.
:A set of infected to spawn. See left4dead\scripts\population.txt for possible values.
 
* '''AttackOnSpawn''' <code><[[bool]]></code>
:Forces the spawned zombie to attack instantly (has to be added with [[SmartEdit]] at the moment)
* '''Parent''' <code><[[targetname]]></code>
:The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
* '''Offer Spawned Tanks to PZs''' <code><[[bool]]></code>
:Offer this tank to a Player on spawn?
== Flags ==
== Flags ==
* none
* none

Revision as of 21:49, 21 March 2011

Template:L4d series point It is an entity used to spawn a zombie.

Stub

This article or section is a stub. You can help by expanding it.

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.
A set of infected to spawn. See left4dead\scripts\population.txt for possible values.
  • AttackOnSpawn <bool>
Forces the spawned zombie to attack instantly (has to be added with SmartEdit at the moment)
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
  • Offer Spawned Tanks to PZs <bool>
Offer this tank to a Player on spawn?

Flags

  • none

Inputs

  • SpawnZombie
Spawns a random infected.
Startle the zombie (witches only).

Outputs

  • OnSpawnNormal
Fired when the spawner creates a normal infected.
  • OnSpawnSmoker
Fired when the spawner creates a Smoker.
  • OnSpawnBoomer
Fired when the spawner creates a Boomer.
  • OnSpawnHunter
Fired when the spawner creates a Hunter.
  • OnSpawnSpitter
Fired when the spawner creates a Spitter.
  • OnSpawnJockey
Fired when the spawner creates a Jockey.
  • OnSpawnCharger
Fired when the spawner creates a Charger.
  • OnSpawnWitch
Fired when the spawner creates a Witch.
  • OnSpawnTank
Fired when the spawner creates a Tank.


See also