grenade_spit
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
|  Class hierarchy | 
|---|
| CGrenadeSpit | 
|  grenade_spit.cpp | 
grenade_spit  is a   model entity  available in  Half-Life 2 series and
 Half-Life 2 series and  Portal. It is the projectile spat by npc_antlion with flag Worker Type set.
 Portal. It is the projectile spat by npc_antlion with flag Worker Type set.
Multiple projectiles are shot by the antlion worker with different sizes corresponding to models models/spitball_large.mdl, models/spitball_medium.mdl, models/spitball_small.mdl and damage multipliers 1x, 0.5x, 0.25x.
The sound playing if projectile is large or medium is NPC_Antlion.PoisonBall
Convars
ConVar sk_antlion_worker_spit_grenade_dmg ( "sk_antlion_worker_spit_grenade_dmg", "20", FCVAR_NONE, "Total damage done by an individual antlion worker loogie."); ConVar sk_antlion_worker_spit_grenade_radius ( "sk_antlion_worker_spit_grenade_radius","40", FCVAR_NONE, "Radius of effect for an antlion worker spit grenade."); ConVar sk_antlion_worker_spit_grenade_poison_ratio ( "sk_antlion_worker_spit_grenade_poison_ratio","0.3", FCVAR_NONE, "Percentage of an antlion worker's spit damage done as poison (which regenerates)");

