Waterbullet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created entity page. (Information from the Jungle Inferno leak of TF2.))
 
(-added class hierarchy, added example. cleanup)
Line 1: Line 1:
{{base point|waterbullet}} It is a bullet in water and operates with underwater physics.
{{Ent not in fgd|nolink=1}}
{{CD|CWaterBullet|file1=waterbullet.cpp}}


{{code class|CWaterBullet|waterbullet.cpp}}
{{entity|type=e0|waterbullet}} It is a bullet in water and operates with underwater physics. In {{hl2}} created automatically when enemies shoot at player underwater.
__TOC__


==Keyvalues==
__NOTOC__
{{KV BaseAnimating}}
[[File:Waterbullet.png|thumb|Half-Life 2 waterbullet example]]
{{KV BaseEntity}}
 
==Inputs==
{{I BaseAnimating}}
{{I BaseEntity}}
 
==Outputs==
{{O BaseAnimating}}
{{O BaseEntity}}

Revision as of 06:26, 4 August 2023

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CWaterBullet
CBaseAnimating
CBaseEntity
C++ waterbullet.cpp

Template:Entity It is a bullet in water and operates with underwater physics. In Half-Life 2 created automatically when enemies shoot at player underwater.


Half-Life 2 waterbullet example