This article relates to the game "Half-Life 2". Click here for more information.

Grenade ar2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|Grenade ar2}}
{{HL2 topicon}}
{{ent not in fgd}}
{{Lang|title=grenade_ar2}}
{{Ent not in fgd}}
[[File:item_ammo_smg1_grenade.jpg|thumb|200px|right|Submachine gun grenade.]]
[[File:item_ammo_smg1_grenade.jpg|thumb|200px|right|Submachine gun grenade.]]
{{Entity|grenade_ar2|game=Half-Life 2|type=e0}} This is the grenade created and launched by the [[weapon_smg1|SMG]] alt-fire. It is not affected by the gravity gun. Despite the name, it is not related to the [[AR2]], which emits a {{ent|prop_combine_ball}} for secondary fire.
{{Entity|grenade_ar2|game=Half-Life 2|type=e0}} This is the grenade created and launched by the [[weapon_smg1|SMG]] alt-fire. It is not affected by the gravity gun. Despite the name, it is not related to the [[AR2]], which emits a {{ent|prop_combine_ball}} for secondary fire.

Revision as of 12:55, 27 February 2023

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Submachine gun grenade.

Template:Entity This is the grenade created and launched by the SMG alt-fire. It is not affected by the gravity gun. Despite the name, it is not related to the AR2, which emits a prop_combine_ball for secondary fire.

C++ In code, it is represented by theCGrenadeAR2class, defined in thegrenade_ar2.cppfile.

ConVars/Commands

Cvar/Command Parameters or default value Descriptor Effect
sk_smg1_grenade_radius 250 Hammer units Radius inside which to damage objects, when a grenade explodes.
smoke_trail 1 0 disables, 1 enables Leaves a small smoke trail behind SMG grenades.

FGD code

[Todo]

Keyvalues

Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history