Fish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fish.)
 
(updates)
Line 1: Line 1:
{{ent not in fgd}}
{{lang|Fish}}
{{base point|fish}}
{{ent not in fgd|nolink=1|because=it can't move or even show a model on its own}}
{{base point|fish}} These are the fish created by {{ent|func_fish_pool}}.


==Entity description==
{{warning|<code>Kill</code>ing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.}}
The fish created by the [[func_fish_pool]] entity.
{{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 ==
{{code class|CFish|fish.cpp}}
{{KV Targetname}}


{{KV Parentname}}
==Keyvalues==
{{KV Angles}}
{{KV BaseAnimating}}
{{KV BaseEntity}}


{{KV RenderFxChoices}}
==Inputs==
{{I BaseAnimating|portal2=1}}
{{I BaseEntity}}


{{KV RenderFields}}
==Outputs==
 
{{O BaseAnimating|portal2=1}}
{{KV|Model|studio|Model of the fish.}}
{{O BaseEntity|l4d=1}}
 
{{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.}}

Revision as of 20:52, 3 October 2018

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.

Template:Base point 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.
C++ In code, it is represented by theCFishclass, defined in thefish.cppfile.

Keyvalues

Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history