grenade_tank_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 can only be configured through code.
Grenade tank shell.jpg

grenade_tank_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.

Represented by class CGrenade_TankShell.

Icon-Important.pngImportant:In Black Mesa Black Mesa (the mod version), this grenade type represented by grenade_abrams_shell entity. See the page for information about this version of the grenade.
Icon-Bug.pngBug:This grenade entity can stuck at dynamic (not physics) objects, such as prop_dynamic. In such situation, shell will not move until it explodes. Usually happens with objects that have a dynamic collision, or objects that are in motion.
Tip.pngTip:If you need to fix this issue, use trigger_weaponfire that will kill stucked rockets, this trigger should be toggled by logic_timer every 0.5-1.0 seconds.
Example.


Note.pngNote:Used model from MP5's grenade model for some reason.
Note.pngNote:For some reason it's spinning.

Dedicated ConVars

Cvar/CommandParameters or default valueDescriptorEffect
sk_detenator_tank_shell_dmg40FloatAmount of damage from this entity.
sk_detenator_tank_shell_radius256FloatRadius of explosion from this entity.
sk_abrams_shell_speed2000FloatSpeed of this entity.