Baseprojectile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd}} {{base point|baseprojectile}} It is an invisible, non-functional projectile. Basically just a coding template for new projectile entities. {{code class|CBa...")
 
(more info)
Line 1: Line 1:
{{ent not in fgd}}
{{lang|Baseprojectile}}
{{base point|baseprojectile}} It is an invisible, non-functional projectile. Basically just a coding template for new projectile entities.
{{ent not in fgd|nolink=1}}
{{hl2 point|baseprojectile}} It is a base class for sprite-based projectiles. It seems to have never been used for anything in Half-Life 2.


{{code class|CBaseProjectile|baseprojectile.cpp}}
This entity should not be confused with {{ent|CBaseProjectile}}, which is tied to {{ent|proj_base}}.
 
{{code class|CBaseSpriteProjectile|cbasespriteprojectile.cpp}}

Revision as of 04:48, 19 September 2018

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 a base class for sprite-based projectiles. It seems to have never been used for anything in Half-Life 2.

This entity should not be confused with CBaseProjectile, which is tied to proj_base.

C++ In code, it is represented by theCBaseSpriteProjectileclass, defined in thecbasespriteprojectile.cppfile.