Grenade spit: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Nescius moved page Grenade spit to Grenade spit (Black Mesa))
Tag: New redirect
 
(Removed SDK 2007 due to the tmp bug.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[Grenade spit (Black Mesa)]]
{{TabsBar|main=grenade_spit}}
{{stub}}
{{Ent not in fgd|nolink=1}}
{{CD|CGrenadeSpit|file1=1}}
{{This is a|model entity|name=grenade_spit|game=Half-Life 2 series|game1=Portal}} It is the projectile spat by {{ent|npc_antlion}} with flag '''Worker Type''' set.
 
Multiple projectiles are shot by the antlion worker with different sizes corresponding to models <code>models/spitball_large.mdl</code>, <code>models/spitball_medium.mdl</code>, <code>models/spitball_small.mdl</code> and damage multipliers 1x, 0.5x, 0.25x.
 
The sound playing if projectile is large or medium is <code>NPC_Antlion.PoisonBall</code>
 
== Convars ==
<pre>
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)");
</pre>
 
== Gallery ==
<gallery mode=packed widths=400px heights=300px>
Grenade spit.jpg
</gallery>
== See also ==
* {{ent|npc_antlion}}

Latest revision as of 12:38, 1 July 2025

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.
C++ Class hierarchy
CGrenadeSpit
CBaseGrenade
CBaseProjectile
CBaseAnimating
CBaseEntity
C++ 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