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

Fish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fish.)
 
m (Classifying as model entity)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ent not in fgd}}
{{LanguageBar}}
{{base point|fish}}
{{ent not in fgd|nolink=1|because=it can't move or even show a model on its own}}
{{CD|CFish|file1=fish.cpp}}
{{this is a|model entity|name=fish}} These are the fish created by {{ent|func_fish_pool}}.
{{warning|<code>Kill</code>ing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.}}


==Entity description==
== See Also ==
The fish created by the [[func_fish_pool]] entity.
* {{ent|func_fish_pool}}
{{Warning|Killing the fish entity before killing the func_fish_pool entity crashes the game, the func_fish_pool entity must be killed first.}}
 
== Keyvalues ==
{{KV Targetname}}
 
{{KV Parentname}}
{{KV Angles}}
 
{{KV RenderFxChoices}}
 
{{KV RenderFields}}
 
{{KV|Model|studio|Model of the fish.}}
 
{{KV|Sequence|integer|Default animation sequence for the model to be playing after spawning.}}
 
{{KV|Skin|integer|Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.}}

Latest revision as of 04:31, 19 May 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can't move or even show a model on its own.
C++ Class hierarchy
CFish
CBaseAnimating
CBaseEntity
C++ fish.cpp

fish is a model entity available in all Source Source games. These are the fish created by func_fish_pool.

Warning.pngWarning:Killing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.

See Also