This article's documentation is for anything that uses the Source engine. Click here for more information.

Waterbullet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(note, see also)
Line 1: Line 1:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1|because=it can be properly configured only via code}}
{{CD|CWaterBullet|file1=waterbullet.cpp}}
{{CD|CWaterBullet|file1=waterbullet.cpp}}


Line 5: Line 5:


__NOTOC__
__NOTOC__
{{Note|Default model name: <code>models/weapons/w_bullet.mdl</code>}}
[[File:Waterbullet_jpg.jpg|thumb|Half-Life 2 waterbullet example.|center|500px]]
[[File:Waterbullet_jpg.jpg|thumb|Half-Life 2 waterbullet example.|center|500px]]
== See Also ==
* [[water]]

Revision as of 02:00, 28 June 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can be properly configured only via code.
C++ Class hierarchy
CWaterBullet
CBaseAnimating
CBaseEntity
C++ waterbullet.cpp

waterbullet is a point entity available in all Source Source games. It is a bullet in water and operates with underwater physics. In Half-Life 2 Half-Life 2 created automatically when enemies shoot at player underwater.


Note.pngNote:Default model name: models/weapons/w_bullet.mdl
Half-Life 2 waterbullet example.

See Also