bmortar

From Valve Developer Community
Jump to navigation Jump to search
Bmortarimage.png
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.

bmortar is a point entity available in Black Mesa Black Mesa. It is a gonarch's bomb that exploads that explodes shortly after landing to ground. The damage at the epicenter of the explosion causes huge damage to player, it doesn't huge damage if player is located at a short distance from the epicenter of the explosion. It can be detonated in air using a weapon or any other source of damage, but after landing, it is immune to bullet damage (still can be exploded by damage from explosion). There is no cvars related to this entity (needs confirm). All inputs and outputs are same as CBaseAnimating.

Represented by class CBMortar.

Icon-Bug.pngBug:There are a bunch of bugs related to save load:
  • Particles disappear after save load.
  • It will explode immediately after landing if not landed before save load.
  • It will never explode if landed didn't explode before save load (still can be exploded by damage from explosion).
  • The lighting from such bomb disappears, this happens if origin of the entity is not in screen space (this bug not related to save load).

Dedicated ConVars

Cvar/CommandParameters or default valueDescriptorEffect
sk_gonarch_mortar_rotation_speed_X12FloatBomb rotation speed at X axis.
sk_gonarch_mortar_rotation_speed_Y12FloatBomb rotation speed at Y axis.