Func dustcloud

From Valve Developer Community

This Brush-based Entity is available in all Source Games.

Table of contents

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

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
  • StartDisabled
<boolean>
  • Color
<color255> 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

  • Kill
Removes this entity from the world.
Removes this entity and all its children from the world.
  • AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • TurnOn
Turn on.
  • TurnOff
Turn off.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator