grenade_abrams_shell

From Valve Developer Community
Jump to navigation Jump to search
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map because it wasn't supposed to be used via Hammer Hammer by the developers. You still can use it for your map or mod, just add required code to the FGD.
Grenade abrams shell.jpg

grenade_abrams_shell is a point entity available in Black Mesa Black Mesa. The grenade entity that used by npc_abrams. This is a projectile fired from the barrel of an Abrams tank. All inputs and outputs are same as CBaseAnimating.

Used CBaseCombatCharacter as a base class.

Icon-Important.pngImportant:In Black Mesa Black Mesa Steam versions, this grenade type represented by grenade_tank_shell entity. See the page for information about this version of the grenade.
Note.pngNote:Used model from MP5's grenade model for some reason.


Inputs

SetTimer <float>
Sets amount of time before detonate.
Detonate <void>
Detonates this entity.
SetThrower <void>
Fired by this entity when launched. Doesn't do anything.

Outputs

OnDetonate <void>
Fired by this entity when detonated.

Dedicated ConVars

Cvar/CommandParameters or default valueDescriptorEffect
sk_grenade_abrams_shell_dmg30FloatAmount of damage from this entity.
sk_grenade_abrams_shell_radius256FloatRadius of explosion from this entity.
sk_grenade_abrams_shell_airspeed3500FloatSpeed of this entity.