Func dustmotes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{screenshot}})
(Added screenshot.)
Line 1: Line 1:
{{wrongtitle|title=func_dustmotes}}
{{wrongtitle|title=func_dustmotes}}
{{screenshot}}
{{base_brush}}
{{base_brush}}


==Entity Description==
==Entity Description==
A [[brush entity]] that spawns sparkling dust motes within its volume.
A [[brush entity]] that spawns sparkling dust motes within its volume.  
[[Image:Func_dustmotes_example_css.jpg|thumb|right|300px|A Func_Dustmotes can be seen in CS_Militia]]


{{sfx_brush}}
{{sfx_brush}}
* Make sure you use the [[tool textures#trigger|trigger]] texture with this entity.
* Make sure you use the [[tool textures#trigger|trigger]] texture with this entity.
{{note|The [[tool textures#nodraw|nodraw]] texture can also be used, but not recommended.}}
{{note|The [[tool textures#nodraw|nodraw]] texture can also be used, but not recommended.}}
 
* See also [[func_dustcloud]]
* See also [[func_dustcloud]]



Revision as of 06:00, 8 March 2011

Template:Wrongtitle Template:Base brush

Entity Description

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

A Func_Dustmotes can be seen in CS_Militia
  • Make sure you use the trigger texture with this entity.
Note.pngNote:The nodraw texture can also be used, but not recommended.

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