Info zombie spawn: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (add {{lang}}) |
(-concise page) |
||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Population|intn=population|string|Zombie population to choose among.}} | {{KV|Population|intn=population|string|Zombie population to choose among.}} | ||
{{KV|Attack On Spawn|boolean|Whether this zombie should always attack on spawn. Note that this only affects Tanks and Witches at this time, all others always attack on spawn.}} | {{KV|Attack On Spawn|intn=AttackOnSpawn|removed={{l4d2}}|boolean|Whether this zombie should always attack on spawn. Note that this only affects Tanks and Witches at this time, all others always attack on spawn.}} | ||
{{KV|Offer Spawned Tank to PZs|intn=offer_tank|choices|since=L4D2}} | {{KV|Offer Spawned Tank to PZs|intn=offer_tank|choices|since=L4D2}} | ||
:*0: No | :*0: No | ||
Line 13: | Line 13: | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV Angles}} | {{KV Angles}} | ||
==Inputs== | ==Inputs== | ||
{{IO|SpawnZombie|Spawn a zombie now.}} | {{IO|SpawnZombie|Spawn a zombie now.}} | ||
{{IO|StartleZombie|Startle the zombie (witches only).|since=L4D2}} | {{IO|StartleZombie|Startle the zombie (witches only).|since=L4D2}} | ||
==Outputs== | ==Outputs== | ||
Line 31: | Line 28: | ||
{{IO|OnSpawnWitch|Fired when the spawner creates a Witch.}} | {{IO|OnSpawnWitch|Fired when the spawner creates a Witch.}} | ||
{{IO|OnSpawnTank|Fired when the spawner creates a Tank.}} | {{IO|OnSpawnTank|Fired when the spawner creates a Tank.}} | ||
==See also== | ==See also== | ||
*[[commentary_zombie_spawner]] - An alternative entity for spawning common, special, and boss infected | *[[commentary_zombie_spawner]] - An alternative entity for spawning common, special, and boss infected | ||
*[[Left 4 Dead Infected Populations]] | *[[Left 4 Dead Infected Populations]] |
Revision as of 04:58, 23 October 2022
Template:L4d series point It is used to spawn a zombie manually.
Generally, it is recommended to leave zombie spawning to the AI Director, however there may be uses for it, such as spawning a Tank in a train car like in The Sacrifice.
Keyvalues
- Population (population) <string>
- Zombie population to choose among.
- Attack On Spawn (AttackOnSpawn) <boolean> (removed since
)
- Whether this zombie should always attack on spawn. Note that this only affects Tanks and Witches at this time, all others always attack on spawn.
- Offer Spawned Tank to PZs (offer_tank) <choices> (in all games since
)
-
- 0: No
- 1: Yes
- 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
- SpawnZombie
- Spawn a zombie now.
- StartleZombie (in all games since
)
- Startle the zombie (witches only).
Outputs
- OnSpawnNormal
- Fired when the spawner creates a Common 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
- commentary_zombie_spawner - An alternative entity for spawning common, special, and boss infected
- Left 4 Dead Infected Populations