Func fish pool: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
== Keyvalues ==
== Keyvalues ==
{{KV|World model|studio|The fish model:}}
{{KV|World model|studio|The fish model:}}
{{note|The default model, models/Junkola.mdl, won't work properly. Use one of the following models instead.}}
* <code>models/props/de_inferno/goldfish.mdl</code> gives a river fish.
* <code>models/props/de_inferno/goldfish.mdl</code> gives a river fish.
* <code>models/props/cs_militia/fishriver01.mdl</code> gives a Piranha.
* <code>models/props/cs_militia/fishriver01.mdl</code> gives a Piranha.
{{KV|Fish Count|integer|Number of Fish in this Pool}}
{{KV|Fish Count|integer|Number of Fish in this Pool}}
{{KV|Max Range|float|How far away a Fish can wander (max 255)}}
{{KV|Max Range|float|How far away a Fish can wander (max 255)}}

Revision as of 05:07, 28 July 2011

Fish swimming inside water, thanks to a func_fish_pool entity.

Template:Base point It creates a school of interactive fish that swim near this entity.

Keyvalues

World model ([todo internal name (i)]) <model path>
The fish model:
Note.pngNote:The default model, models/Junkola.mdl, won't work properly. Use one of the following models instead.
  • models/props/de_inferno/goldfish.mdl gives a river fish.
  • models/props/cs_militia/fishriver01.mdl gives a Piranha.
Fish Count ([todo internal name (i)]) <integer>
Number of Fish in this Pool
Max Range ([todo internal name (i)]) <float>
How far away a Fish can wander (max 255)