Spitter: Difference between revisions
Jump to navigation
Jump to search
Tip:To spawn spitter manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning:Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game
Important:Spawned spitter's classname is
(-cvars) |
(-hmm) |
||
Line 4: | Line 4: | ||
{{tip|To spawn spitter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}} | {{tip|To spawn spitter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}} | ||
{{warning|Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game}} | {{warning|Trying to spawn spitter using SpawnEntityFromTable script function or by placing her directly in a map will crash the game}} | ||
{{ | {{important|Spawned spitter's classname is <code>player</code>}} | ||
{{clr}} | {{clr}} | ||
[[File:Spitter.png|thumb]] | |||
== ConVars == | == ConVars == | ||
{{varcom|start}} | |||
spitter_pz_claw_dmg | {{varcom|spitter_pz_claw_dmg|4||Amount of damage done by a PZ spitter's regular melee attack}} | ||
z_spitter_health | {{varcom|z_spitter_health|100||Spitter zombie max health}} | ||
z_spitter_high_chance | {{varcom|z_spitter_high_chance|10||}} | ||
z_spitter_limit | {{varcom|z_spitter_limit|1||}} | ||
z_spitter_max_wait_time | {{varcom|z_spitter_max_wait_time|30||}} | ||
z_spitter_range | {{varcom|z_spitter_range|850||}} | ||
{{varcom|end}} | |||
== See Also == | == See Also == |
Revision as of 17:51, 21 July 2023
![]() |
---|
Spitter |
Template:Entity By default director tries to spawn her in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Spitter spawns with weapon_spitter_claw which is her melee ability and ability_spit which controls her special ability. Her special ability creates spitter_projectile when used.



player
ConVars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
spitter_pz_claw_dmg | 4 | Amount of damage done by a PZ spitter's regular melee attack | |
z_spitter_health | 100 | Spitter zombie max health | |
z_spitter_high_chance | 10 | ||
z_spitter_limit | 1 | ||
z_spitter_max_wait_time | 30 | ||
z_spitter_range | 850 |