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 is a model entity available in
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: It have collision for weapon bullets and the models are using concrete surface property for some reason.
Note: It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Bug: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
).
Example.
|
Here it bounce of this metal door. The door is prop_dynamic with dynamic collision (required for animations). End particle position and position of the grenade.
|
Bug: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.
Bug:Decals from this acid are glitchy on models.
Confirm:Can be fixed ?
Bug:Decals from this acid doesn't save on corpus created by NPC (client side ragdolls only).
Inputs
- SetTimer <floatRedirectInput/float> (only in
)
- Sets amount of time before detonate.
- Detonate <void> (only in
)
- Detonates spit.
- SetThrower <void> (only in
)
- Fired by this entity when throwed. Doesn't do anything.
Outputs
- OnDetonate <void> (only in
)
- Fired by this entity when detonated.
Note: ConVars that affects certain NPCs are not listed here.
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.
Bug: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)
| Cvar/Command |
Parameters or default value |
Descriptor |
Effect |
| sk_bullsquid_spit_speed |
792 |
Float
|
Speed value, also affects bullsquid's range.
Bug: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