grenade_spit

From Valve Developer Community
Revision as of 05:40, 27 May 2025 by MyGamepedia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Source Engine ( General | Half-Life: Source | Black Mesa )
edit
C++ Class hierarchy
CGrenade_Spit
CBlackMesaBaseGrenade
CBlackMesaBaseDetonator
CBaseAnimating
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code in Steam versions of the game. In the mod version, it is invisible if spawned like this.
Grenade spit large.png
Grenade spit small.png

grenade_spit is a model entity available in Black Mesa Black Mesa. The grenade entity that is used by npc_bullsquid and npc_gonarch. This is green glowing corrosive acid spit that used by some xen creatures to attack from distance. The spit is sprayed along a radius after reaching a surface or target. This entity are using 2 models, large and small. Steam versions use console variables to configure this entity, the mod version provides exclusive inputs and outputs that are cut in Steam versions of the game.

Note.pngNote:It have collision for weapon bullets and the models are using concrete surface property for some reason.
Note.pngNote:It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Icon-Bug.pngBug:It bounce of dynamic (not physics) objects, such as prop_dynamic. Usually happens with objects that have a dynamic collision, or objects that are in motion (not in Black Mesa (mod)).
Example.


Icon-Bug.pngBug:Doesn't work properly with func_water_analog in Steam versions of the game. Instead of ignoring the surface of this entity, it will float in and then stop moving after few seconds. You can find this on bm_c4a3c.
Icon-Bug.pngBug:Decals from this acid are glitchy on models.
Confirm:Can be fixed ?
Icon-Bug.pngBug:Decals from this acid doesn't save on corpus created by NPC (client side ragdolls only).

Inputs

SetTimer <floatRedirectInput/float> (only in Black Mesa (mod))
Sets amount of time before detonate.
Detonate <void> (only in Black Mesa (mod))
Detonates spit.
SetThrower <void> (only in Black Mesa (mod))
Fired by this entity when throwed. Doesn't do anything.

Outputs

OnDetonate <void> (only in Black Mesa (mod))
Fired by this entity when detonated.

Dedicated ConVars

Note.pngNote:ConVars that affects certain NPCs are not listed here.

Black Mesa Black Mesa

Cvar/Command Parameters or default value Descriptor Effect
sk_detenator_spit_airspeed 1000 Float Doesn't seem to affect anything.
sk_detenator_spit_gravity 400 Float Gravity scale, also affects flight altitude.
Icon-Bug.pngBug:May not appear with large values.
sk_detenator_spit_plr_dmg 4 Float Amount of damage from spit.
sk_detenator_spit_plr_dmg_radius 96 Float Damage radius from spit.

Black Mesa (mod) Black Mesa (mod)

Cvar/Command Parameters or default value Descriptor Effect
sk_bullsquid_spit_speed 792 Float Speed value, also affects bullsquid's range.
Icon-Bug.pngBug:May not appear with large values.
sk_bullsquid_spit_dmg 4 Float Amount of damage from spit.
sk_bullsquid_spit_radius 96 Float Damage radius from spit.

See Also