Basehlcombatweapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Undo revision 259573 by Kestrelguy (talk))
Tag: Undo
No edit summary
Line 2: Line 2:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{hl2 point|basehlcombatweapon}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.
{{hl2 point|basehlcombatweapon}} It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.
{{note|In {{game name|gmod|name=Garry's Mod}}, basehlcombatweapon is a .357 Magnum that shoots fast.}}


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

Revision as of 09:05, 10 December 2022

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

Template:Hl2 point It is an invisible, non-functional weapon. Basically a coding template for creating new weapons.

Note.pngNote:In Template:Game name, basehlcombatweapon is a .357 Magnum that shoots fast.
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.