Grenade mortar small: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd|nolink=1|because=it doesn't work properly in Steam versions of the game if not spawned via {{ent|env_mortar_launcher}}. It's possible to use it without the entity in mod version of the game, but still easier to launch it with the entity}} 500px|right {{this is a|point entity|name=grenade_mortar_small|game=bms}} The grenade entity that used by {{ent|env_mortar_launcher}}. This is a mortar shell that was used as an ai...")
 
(It is not how it looks in game, but it's more readable now.)
Line 15: Line 15:
</gallery>
</gallery>
==Inputs==
==Inputs==
{{I|overridedamage|param=float|Fired by {{ent|env_mortar_launcher}} if not used -1 value. This input overrides damage from the shell.}}
{{I|OverrideDamage|param=float|Fired by {{ent|env_mortar_launcher}} if not used -1 value. This input overrides damage from the shell.}}
{{I|overridedamageradius|param=float|Fired by {{ent|env_mortar_launcher}} if not used -1 value. This input overrides damage radius from the shell.}}
{{I|OverrideDamageRadius|param=float|Fired by {{ent|env_mortar_launcher}} if not used -1 value. This input overrides damage radius from the shell.}}


==Dedicated [[ConVars]]==
==Dedicated [[ConVars]]==

Revision as of 05:54, 15 December 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it doesn't work properly in Steam versions of the game if not spawned via env_mortar_launcher. It's possible to use it without the entity in mod version of the game, but still easier to launch it with the entity.
Grenade mortar image.jpg

grenade_mortar_small is a point entity available in Black Mesa Black Mesa.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{bms}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Black Mesa.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

The grenade entity that used by env_mortar_launcher. This is a mortar shell that was used as an airstrike bomb.

This game also have grenade_mortar_large, the only difference is the particle effects from explosion. Both are using same inputs, outputs and console variables.

Most inputs and outputs are same as CBaseAnimating. Used CBlackMesaBaseGrenade as a base class in Steam versions, CBaseCombatCharacter used in the mod version.

AltNames.pngAltNames: This entity is also tied to grenade_mortar.
Icon-Bug.pngBug:This entity is not functional if created via ent_create grenade_mortar_small in Steam versions of the game.
Note.pngNote:Used model from MP5's grenade model for some reason.

Inputs

OverrideDamage <floatRedirectInput/float>
Fired by env_mortar_launcher if not used -1 value. This input overrides damage from the shell.
OverrideDamageRadius <floatRedirectInput/float>
Fired by env_mortar_launcher if not used -1 value. This input overrides damage radius from the shell.

Dedicated ConVars

Black Mesa Black Mesa: Definitive Edition

Cvar/Command Parameters or default value Descriptor Effect
sk_grenade_mortar_dmg 15 Float Amount of damage from the shell.
sk_grenade_mortar_range 400 Float Range of explosion from the shell.
sk_grenade_mortar_shakeduration 1.5 Float Duration of camera shake.
sk_grenade_mortar_shakeradius 640 Float Radius in which player will get the shake.
sk_grenade_mortar_gravity 400 Float Speed of the shell.
Icon-Bug.pngBug:Starting from 875, your shells can will disappear. Max value depends on Path Start property from env_mortar_launcher.
sk_grenade_mortar_max_speed 2000 Float Max possible speed. Doesn't seems to affect anything.
sk_grenade_mortar_track_drag 0.8 Float Doesn't seems to affect anything.
sk_grenade_mortar_track_acceleration 400 Float Doesn't seems to affect anything.

Black Mesa (mod) Black Mesa (mod) (the mod version)

Cvar/Command Parameters or default value Descriptor Effect
sk_grenade_mortar_dmg 15 Float Amount of damage from the shell.
sk_grenade_mortar_range 400 Float Range of explosion from the shell.
sk_grenade_mortar_shakeduration 1.5 Float Duration of camera shake.
sk_grenade_mortar_shakeradius 640 Float Radius in which player will get the shake.

See Also