grenade_spit

From Valve Developer Community
Jump to navigation Jump to search
Source Engine ( General | Half-Life: Source | Black Mesa )
edit

Stub

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

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
CGrenadeSpit
CBaseGrenade
CBaseProjectile
CBaseAnimating
CBaseEntity
grenade_spit.cpp

grenade_spit is a model entity available in Half-Life 2 series Half-Life 2 series and Portal 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)"); 

Gallery

See also