grenade_mp5_contact

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 mp5.png

grenade_mp5_contact is a point entity available in Black Mesa Black Mesa. The grenade entity that used by weapon_mp5 and npc_human_commander. It is a grenade launched from the MP5 grenade launcher that explodes instantly upon impact with a surface. All inputs and outputs are same as CBaseAnimating.

Represented by class CGrenade_MP5.

Icon-Important.pngImportant:In Black Mesa Black Mesa (the mod version), this grenade type represented by grenade_mp5 entity, without _contact postfix. See the page for information about this version of the grenade.
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.
Example.


Note.pngNote:For some reason it's spinning.

Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
sk_detenator_mp5_airspeed 1000 Float Grenade air speed.
Icon-Bug.pngBug:Values ​​above 2002 will cause grenade to disappear at certain view angles.
sk_detenator_mp5_gravity 400 Float Gravity scale, or how much gravity will affect the grenade.
sk_detenator_mp5_plr_dmg 115 Float Amount of damage from direct hit for grenade.
sk_detenator_mp5_plr_dmg_radius 250 Float Amount of damage from indirect hit for grenade (the damage from explosion).
npc_marines_detenator_mp5_airspeed 650 Float Commander's grenade air speed.