sniperbullet

From Valve Developer Community
Jump to: navigation, search

Stub

This article or section is a stub. You can help by adding to it.

Info.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
Class hierarchy
CSniperBullet
CBaseEntity
proto_sniper.cpp

Dedicated Console Variables

Cvar/CommandParameters or default valueDescriptorEffect
bulletspeed6000 Half-Life 2, 6000 Black MesaArbitrary numberThe bullet speed.