grenade_mp5_contact

From Valve Developer Community
Revision as of 05:47, 7 December 2024 by MyGamepedia (talk | contribs) (Created page with "{{ent not in fgd|codeonly=1}} 100px|right {{this is a|point entity|name=grenade_mp5_contact|game=Black Mesa}} The grenade entity that used by {{ent|weapon_mp5}} and {{ent|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. Used <code>CBlackMesaBaseGrenade</code> as a base class. {{important|In {{bms12|4}} (the mod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.
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.

Used CBlackMesaBaseGrenade as a base class.

Icon-Important.pngImportant:In Black Mesa (mod) Black Mesa (mod) (the mod version), this grenade type represented by grenade_mp5 entity, without _contact prefix. 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

Black Mesa Black Mesa: Definitive Edition

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.