Ability spit: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TabsBar|main=L4DAbilities}}
{{Ent not in fgd|nolink=1}}
{{stub}}
{{stub}}
{{CD|CSpitAbility}}
{{CD|CSpitAbility}}
{{This is a|logical entity|name=ability_vomit|game=Left 4 Dead 2}} It controls the [[spitter]]'s spit attack which creates [[spitter_projectile]].
{{This is a|logical entity|name=ability_spit|game=Left 4 Dead 2}} It controls the [[spitter]]'s spit attack which creates [[spitter_projectile]].


== Convars ==
== Convars ==

Latest revision as of 13:45, 23 May 2025

edit
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

Stub

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

C++ Class hierarchy
CSpitAbility
CBaseAbility
CBaseEntity

ability_spit is a logical entity available in Left 4 Dead 2 Left 4 Dead 2. It controls the spitter's spit attack which creates spitter_projectile.

Convars

z_spit_detonate_delay	0.1	"sv", "cheat"	
z_spit_interval	20	"cheat", "rep", "cl"	
z_spit_latency	0.3	"cheat", "rep", "cl"	
z_spit_range	900	"cheat", "rep", "cl"	
z_spit_spread_delay	0.2	"sv", "cheat"	
z_spit_velocity	900	"sv", "cheat"

See also