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 (-)
m (Classifying as model entity)
 
Line 2: Line 2:
{{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|4}} 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__

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