Func dustmotes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


{{sfx_brush}}
{{sfx_brush}}
* Make sure you use the [[tool textures|trigger]] texture with this entity or it will not work (I use the nodraw, so this might be wrong, please correct! --[[User:Lukethenuke|Lukethenuke]] 11:50, 4 March 2011 (UTC))
* Make sure you use the [[tool textures|trigger]] texture with this entity or it will not work (I use the nodraw, so this might be wrong, please correct someone =) --[[User:Lukethenuke|Lukethenuke]] 11:50, 4 March 2011 (UTC))


* See also [[func_dustcloud]]
* See also [[func_dustcloud]]

Revision as of 04:50, 4 March 2011

Template:Wrongtitle Template:Base brush

Entity Description

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

  • Make sure you use the trigger texture with this entity or it will not work (I use the nodraw, so this might be wrong, please correct someone =) --Lukethenuke 11:50, 4 March 2011 (UTC))

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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>

Inputs

  • TurnOn
Turn on.
  • TurnOff
Turn off.

Outputs