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
m (Removed heavy and useless gif (already a pic illustrating the effect))
m (Classifying as model entity)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Ent not in fgd|codeonly=1}}
{{Ent not in fgd|nolink=1}}
{{CD|CWaterBullet|file1=waterbullet.cpp}}
{{CD|CWaterBullet|file1=waterbullet.cpp}}


{{this is a|point entity|name=waterbullet}} It is a bullet in water and operates with underwater physics. In {{hl2}} created automatically when enemies shoot at player underwater.
{{this is a|model entity|name=waterbullet}} It is a bullet in water and operates with underwater physics. In {{hl2|4}} created automatically when enemies shoot at player underwater.


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

Latest revision as of 04:35, 19 May 2025

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.
C++ Class hierarchy
CWaterBullet
CBaseAnimating
CBaseEntity
C++ waterbullet.cpp

waterbullet is a model 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