func_dustmotes

From Valve Developer Community

Jump to: navigation, search

This is a brush entity available in all Source games.

Contents

Entity Description

A brush entity that spawns sparkling dust motes within its volume.

Keyvalues

  • Targetname:

Name <string>
The targetname other entities refer to this entity by.
  • EnableDisable:

Start Disabled <bool>
Stay dormant until activated (probably with the Enable input).
  • 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>

Inputs

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
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 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
  • TurnOn
Turn on.
  • TurnOff
Turn off.

Outputs

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
Personal tools