basehlcombatweapon

From Valve Developer Community
Jump to: navigation, search
Info.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.


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