Func dustcloud: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 13: Line 13:
== Keyvalues ==
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* {{kv enabledisable}}
* {{KV EnableDisable}}
* '''Color'''
* '''Color'''
: {{color}} Particle Color
: {{color}} Particle Color

Revision as of 19:46, 19 January 2009

Template:Wrongtitle Template:Base brush

Entity description

A brush entity that spawns a translucent dust cloud within its volume. You should use the trigger texture for this to work.

Keyvalues

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • Color
#000000 Particle Color
  • SpawnRate
<integer> Number of particles to spawn, per second.
  • SpeedMax
<integer> Maximum speed that the particles can move after spawning.
  • LifetimeMin
<integer> Minimum number of seconds until each particle dies. Particles live for a random duration between this and 'Maximum Particle Lifetime'.
  • LifetimeMax
<integer> Maximum number of seconds until each particle dies. Particles live for a random duration between 'Minimum Particle Lifetime' and this.
  • DistMax
<integer> Maximum distance at which particles are visible. They fade to translucent at this distance.
  • Frozen
<boolean> If set, this entity spawns the number of particles in SpawnRate immediately, and then goes inactive.
  • SizeMin
<integer> Minimum Particle Size
  • SizeMax
<integer> Maximum Particle Size
  • Alpha
<byte> Opacity of the dustcloud; 0-255.

Inputs

  • TurnOn
Turn on.
  • TurnOff
Turn off.

Outputs