sniperbullet

From Valve Developer Community
Revision as of 09:07, 8 August 2024 by MyGamepedia (talk | contribs) (Created page with "{{ent not in fgd|codeonly=1}} {{this is a|point entity|name=sniperbullet|type=e0|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.

sniperbullet 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, Half-Life 2: Deathmatch Half-Life 2: Deathmatch, and Black Mesa Black Mesa. This is a sniper rifle bullet that appears when a sniper shoots. It doesn't use raycasting, this is real time projectile bullet.

Sniperbullet.jpg
C++ Class hierarchy
CSniperBullet
CBaseEntity
C++ proto_sniper.cpp

Dedicated Console Variables

Cvar/Command Parameters or default value Descriptor Effect
bulletspeed 6000 Half-Life 2, 6000 Black Mesa Arbitrary number The bullet speed.