Basehlcombatweapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Classifying as model entity)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{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.
{{CD|CBaseHLCombatWeapon|file1=basehlcombatweapon_shared.cpp}}
{{this is a|model entity|name=basehlcombatweapon|game=Half-Life 2 series}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.


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


{{code class|CBaseHLCombatWeapon|basehlcombatweapon_shared.cpp}}


[[Category:Half-Life 2 Weapons]]
[[Category:Half-Life 2 Weapons]]
[[Category:Base Entities]]
[[Category:Base Entities]]

Latest revision as of 04:30, 19 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CBaseHLCombatWeapon
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ basehlcombatweapon_shared.cpp

basehlcombatweapon is a model entity available in Half-Life 2 series Half-Life 2 series. 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.