spitter

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
Spitter
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

spitter is a point entity available in Left 4 Dead 2 Left 4 Dead 2. By default director tries to spawn her in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Spitter spawns with her melee ability weapon_spitter_claw and ability_spit which controls her special ability. Her special ability creates spitter_projectile when used.

Tip.pngTip:To spawn spitter manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning.pngWarning:Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game
Icon-Important.pngImportant:Spawned spitter's classname is player
Spitter.png

ConVars

Cvar/CommandParameters or default valueDescriptorEffect
spitter_pz_claw_dmg4Amount of damage done by a PZ spitter's regular melee attack
z_spitter_health100Spitter zombie max health
z_spitter_high_chance10
z_spitter_limit1
z_spitter_max_wait_time30
z_spitter_range850

Actions

  • SpitterAssault
  • SpitterAttack
  • SpitterBehavior
  • SpitterPrepareAmbush
  • SpitterWaitInAmbush

See also