Basehlcombatweapon: 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 (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{this is a|e0|name=basehlcombatweapon|series=Half-Life 2}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.
{{this is a|point entity|name=basehlcombatweapon|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.


{{stray ent|{{portal}} {{portal2}}}}
{{stray ent|{{portal}} {{portal2}}}}

Revision as of 19:06, 17 May 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

basehlcombatweapon is a point entity available in Half-Life 2 Half-Life 2, Half-Life 2: Episode One Half-Life 2: Episode One, Half-Life 2: Episode Two Half-Life 2: Episode Two, and Half-Life 2: Deathmatch Half-Life 2: Deathmatch. It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.

Note.pngNote:This entity is also in the code for Portal Portal 2. Its functionality is not guaranteed.


C++ In code, it is represented by theCBaseHLCombatWeaponclass, defined in thebasehlcombatweapon_shared.cppfile.