Info zombie spawn: Difference between revisions
Jump to navigation
Jump to search
Bug:Trying to spawn spitter or jockey will result in common infected being spawned with a model of spitter or jockey respectively [todo tested in ?]
(-bug, notoc, rearrange) |
(-only l4d2 marked) |
||
Line 8: | Line 8: | ||
{{KV|Population|intn=population|string|Zombie population to choose among.}} | {{KV|Population|intn=population|string|Zombie population to choose among.}} | ||
{{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|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| | {{KV|Offer Spawned Tank to PZs|intn=offer_tank|choices|only=l4d2}} | ||
:*0: No | :*0: No | ||
:*1: Yes | :*1: Yes | ||
Line 15: | Line 15: | ||
==Inputs== | ==Inputs== | ||
{{IO|SpawnZombie|Spawn a zombie now.}} | {{IO|SpawnZombie|Spawn a zombie now.}} | ||
{{IO|StartleZombie|Startle the zombie (witches only).| | {{IO|StartleZombie|Startle the zombie (witches only).|only=l4d2}} | ||
==Outputs== | ==Outputs== | ||
Line 22: | Line 22: | ||
{{IO|OnSpawnBoomer|Fired when the spawner creates a Boomer.}} | {{IO|OnSpawnBoomer|Fired when the spawner creates a Boomer.}} | ||
{{IO|OnSpawnHunter|Fired when the spawner creates a Hunter.}} | {{IO|OnSpawnHunter|Fired when the spawner creates a Hunter.}} | ||
{{IO|OnSpawnSpitter|Fired when the spawner creates a Spitter.}} | {{IO|OnSpawnSpitter|Fired when the spawner creates a Spitter.|only=l4d2}} | ||
{{IO|OnSpawnJockey|Fired when the spawner creates a Jockey.}} | {{IO|OnSpawnJockey|Fired when the spawner creates a Jockey.|only=l4d2}} | ||
{{IO|OnSpawnCharger|Fired when the spawner creates a Charger.}} | {{IO|OnSpawnCharger|Fired when the spawner creates a Charger.|only=l4d2}} | ||
{{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.}} |
Revision as of 20:17, 24 August 2023
![]() |
---|
CInfoZombieSpawn |
Template:Entity 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
- 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
- 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.
- Pitch Yaw Roll (Y Z X) (angles) <angles>
- Angles spawned zombie will have
Inputs
- SpawnZombie
- Spawn a zombie now.
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.
- 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