grenade_satchel

From Valve Developer Community
Jump to navigation Jump to search
Granede satchel.png

grenade_satchel is a point entity available in Black Mesa Black Mesa. The grenade entity that is used by weapon_satchel. It is a Wikipedia icon C-4 (explosive) charges that can be detonated with the remote radio. It also uses VPhysics, so you can pick it up and throw it like any other physical object. 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_Satchel.

Note.pngNote:This is the only prop that a player can pick it up in multiplayer mode (sometimes causes in glitchy animations for weapons, there is also a lack of interpolation and/or prediction).
Icon-Bug.pngBug:You can't spawn satchels via Hammer Hammer or ent_create grenade_satchel in Black Mesa Black Mesa (the mod version). The game will crash instantly.
Note.pngNote:While you can do this in the Steam version of the game, using this entity is pointless, mainly because Steam versions doesn't provide any inputs or abilities to detonate them.
PlacementTip.pngWorkaround:Use a toggleable model (or prop_physics_multiplayer) with env_explosion.
Icon-Bug.pngBug:Doesn't work properly with level transitions if it wasn't transferred to the next level:

1. Becomes solid to player (only in Black Mesa).

2. Can't be remotely detonated.

Inputs

SetTimer <float> (only in Black Mesa)
Sets amount of time before detonate.
Detonate <void> (only in Black Mesa)
Detonates satchel.
SetThrower <void> (only in Black Mesa)
Fired by this entity when throwed. Doesn't do anything.

Outputs

OnDetonate <void> (only in Black Mesa)
Fired by this entity when detonated.

Dedicated ConVars

Black Mesa Black Mesa

Cvar/Command Parameters or default value Descriptor Effect
sk_detenator_satchel_airspeed 420 Float Speed value at the moment of throwing. Affects the throwing range.
Note.pngNote:With high values it can deal damage and even gib enemies.
sk_detenator_satchel_plr_dmg 150 Float Amount of damage from satchel.
sk_detenator_satchel_plr_dmg_radius 300 Float Damage radius from satchel.
sk_detenator_frag_elasticity 0.45 Float Satchel's elasticity or how hard does it bounce. Doesn't work. Probably QPhysics was planned instead of VPhysics for satchels in multiplayer mode.
sk_detenator_satchel_gravity 400 Float Gravity scale for satchel. Doesn't work. Probably QPhysics was planned instead of VPhysics for satchels in multiplayer mode.
sk_detenator_satchel_friction 0.2 Float Friction scale for frag. Doesn't work. Probably QPhysics was planned instead of VPhysics for satchels in multiplayer mode.
sk_weapon_satchel_max_active 10 Integer Max amount of satchels that can throw single player. If the value has been exceeded, the game will explode the satchel that was thrown earlier than the others (first, second, third, etc.). This is not a global value for all players, it affects only each individual players, for instant, one player can't have 20 satchels, but two can.

Black Mesa Black Mesa (the mod version)

Cvar/Command Parameters or default value Descriptor Effect
sk_plr_dmg_grenade_satchel 100 Float Amount of damage from player's satchel.
sk_npc_dmg_grenade_satchel 0 Float Amount of damage from NPC's satchel.

See Also