Basehlcombatweapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Removed deprecated templates)
m (Classifying as model entity)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{lang|Basehlcombatweapon}}
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{entity|basehlcombatweapon|type=e0|series=Half-Life 2}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.
{{CD|CBaseHLCombatWeapon|file1=basehlcombatweapon_shared.cpp}}
{{note|In {{game name|gmod|name=Garry's Mod}}, basehlcombatweapon is a .357 Magnum that shoots fast.}}
{{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.