Grenade frag: Difference between revisions
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ent not in fgd|nolink=1|because=it can only be configured through code in [[Steam]] versions of the game. In the mod version, you still use it for rare cases, but it's more easy to use an exploadable prop}} | {{ent not in fgd|nolink=1|because=it can only be configured through code in [[Steam]] versions of the game. In the mod version, you still use it for rare cases, but it's more easy to use an exploadable prop}} | ||
[[File:Granede_frag.png|100px|right]] | [[File:Granede_frag.png|100px|right]] | ||
{{this is a|point entity|name=grenade_frag|game=Black Mesa}} The grenade entity that used by {{ent|weapon_frag}} and [[HECU]] soldiers. It is a frag grenade that explodes after a certain amount of time, it also uses [[VPhysics]], so you can pick it up and throw it like any other physical object. In multiplayer, used [[QPhysics]] (similar to {{hl|4}} and {{cs2|4}}), so you can't pick up it, but it has a predictable throw path. [[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. Other inputs and outputs are same as [[CBaseAnimating]] | {{this is a|point entity|name=grenade_frag|game=Black Mesa}} The grenade entity that used by {{ent|weapon_frag}} and [[HECU]] soldiers. It is a frag grenade that explodes after a certain amount of time, it also uses [[VPhysics]], so you can pick it up and throw it like any other physical object. In multiplayer, used [[QPhysics]] (similar to {{hl|4}} and {{cs2|4}}), so you can't pick up it, but it has a predictable throw path. [[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. Other inputs and outputs are same as [[CBaseAnimating]]. | ||
Represented by class <code>CGrenade_Frag</code>. | |||
{{bug|[[Level Transitions|Level transition]] will break the detonation timer, causing this entity to never explode.|hidetested=1}} | {{bug|[[Level Transitions|Level transition]] will break the detonation timer, causing this entity to never explode.|hidetested=1}} |
Revision as of 03:41, 18 December 2024

grenade_frag
is a point entity available in Black Mesa. The grenade entity that used by weapon_frag and HECU soldiers. It is a frag grenade that explodes after a certain amount of time, it also uses VPhysics, so you can pick it up and throw it like any other physical object. In multiplayer, used QPhysics (similar to
Half-Life and
Counter-Strike 2), so you can't pick up it, but it has a predictable throw path. 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. Other inputs and outputs are same as CBaseAnimating.
Represented by class CGrenade_Frag
.







|
Inputs
- SetTimer <float > (only in
)
- Sets amount of time before detonate. Fires with 2.985 value when a player throw a frag.
Outputs
Dedicated ConVars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_detenator_frag_fuse_time | 3 | Float | Amount of time before before detonate. |
sk_detenator_frag_throw_forward_speed_primary | 750 | Float | Throw forward speed for primary attack. |
sk_detenator_frag_throw_up_speed_primary | 255 | Float | Throw up speed for primary attack. |
sk_detenator_frag_throw_forward_speed_secondary | 500 | Float | Throw forward speed for secondary attack. |
sk_detenator_frag_throw_up_speed_secondary | 100 | Float | Throw up speed for secondary attack. |
sk_detenator_frag_plr_dmg | 100 | Float | Amount of damage from player's frag. |
sk_detenator_frag_plr_dmg_radius | 250 | Float | Damage radius from player's frag. |
sk_detenator_frag_npc_dmg | 60 | Float | Amount of damage from NPC's frag. |
sk_detenator_frag_npc_dmg_radius | 200 | Float | Damage radius from NPC's frag. |
sk_detenator_frag_elasticity | 0.45 | Float | Frag's elasticity or how hard does it bounce. Multiplayer only. |
sk_detenator_frag_gravity | 400 | Float | Gravity scale for frag. Multiplayer only. |
sk_detenator_frag_friction | 0.2 | Float | Friction scale for frag. Doesn't work. |
Black Mesa (mod) (the mod version)
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_plr_dmg_grenade_frag | 100 | Float | Amount of damage from player's frag. |
sk_npc_dmg_grenade_frag | 50 | Float | Amount of damage from NPC's frag. |
See Also
- weapon_frag - the weapon frag entity
- item_weapon_frag - the pickup frag entity
- npc_human_commander - one of NPCs that can use this entity (commander)
- npc_human_medic - one of NPCs that can use this entity (medic)
- npc_human_grunt - one of NPCs that can use this entity (grunt)
- npc_human_grenadier - one of NPCs that can use this entity (grenadier)