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
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{HL2 topicon}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{HL2 topicon}}
{{lang}}{{Ent not in fgd}}
{{lang}}{{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.]]

Revision as of 09:45, 8 January 2024

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.

grenade_ar2 is an e0 available in Half-Life 2 Half-Life 2. 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