Func dustmotes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added screenshot.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=func_dustmotes}}
{{base brush|func_dustmotes}}
{{base_brush}}
 
[[File:Func_dustmotes_example_css.jpg|thumb|right|260px|A func_dustmotes can be seen in CS_Militia]]


==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.
{{note|The [[tool textures#nodraw|nodraw]] texture can also be used, but not recommended.}} 
* See also [[func_dustcloud]]


==Keyvalues==
{{note|Make sure you use the [[tool textures#trigger|trigger]] texture with this entity. The [[tool textures#nodraw|nodraw]] texture can also be used, but not recommended.}}
* {{KV Targetname}}
 
* {{KV EnableDisable}}
== See also == 
* '''Color'''
* [[func_dustcloud]]
: {{color}} Particle Color
 
* '''SpawnRate'''
== Keyvalues ==
: <integer> Number of particles to spawn, per second.
{{KV|Minimum Particle Size|string}}
* '''SpeedMax'''
{{KV|Maximum Particle Size|string}}
: <integer> Maximum speed that the particles can move after spawning.
{{KV|Alpha|integer}}
* '''LifetimeMin'''
{{KV Targetname}}
: <integer> Minimum number of seconds until each particle dies. Particles live for a random duration between this and 'Maximum Particle Lifetime'.
{{KV BModelParticleSpawner}}
* '''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==
== Inputs ==
* {{I Targetname}}
{{I Targetname}}
* '''TurnOn'''
{{I BModelParticleSpawner}}
: Turn on.
* '''TurnOff'''
: Turn off.


==Outputs==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}

Revision as of 10:40, 7 June 2011

Template:Base brush

A func_dustmotes can be seen in CS_Militia

Entity Description

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

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

See also

Keyvalues

Minimum Particle Size ([todo internal name (i)]) <string>
Maximum Particle Size ([todo internal name (i)]) <string>
Alpha ([todo internal name (i)]) <integer>
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

BModelParticleSpawner:
Start Disabled (StartDisabled) <boolean>
Suspend spawning particles after spawning ? Default value is 0
Particle Color (R G B) (Color) <color255>
Color of the particles.
Particle Per Second (SpawnRate) <integer>
Number of particles to spawn, per second.
Note.pngNote:Fourth number effects transparency after reload.
Maximum Particle Speed (SpeedMax) <string>
Maximum speed that the particles can move after spawning.
Minimum Particle Lifetime (LifetimeMin) <string>
Minimum number of seconds until each particle dies. Particles live for a random duration between this and 'Maximum Particle Lifetime'.
Maximum Particle Lifetime (LifetimeMax) <string>
Maximum number of seconds until each particle dies. Particles live for a random duration between 'Minimum Particle Lifetime' and this.
Maximum Visible Distance (DistMax) <integer>
Maximum distance at which particles are visible. They fade to translucent at this distance.
Frozen (Frozen) <boolean>
Spawn the number of particles in SpawnRate immediately, and then go inactive ? Default value is 0


Inputs

BModelParticleSpawner:
TurnOn
Turn on.
TurnOff
Turn off.

Outputs