Func dustcloud: Difference between revisions
Jump to navigation
Jump to search
Note:Fourth number effects transparency after reload.
Pichubolt090 (talk | contribs) m (Needs a screenshot.) |
(Screenshot added, cleanup) |
||
Line 1: | Line 1: | ||
{{base brush|func_dustcloud}} It spawns randomly-sized dust particles within its volume. Use the [[tool textures#trigger|trigger]] texture with this entity. | |||
[[Image:func_dustcloud.jpg|thumb|right|250px|Func_dustcloud]] | |||
{{base brush|func_dustcloud}} It spawns | |||
{{sfx_brush}} | {{sfx_brush}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Alpha|integer|Transparency of the particles. 0 means that they are invisible, 255 | {{KV|Alpha|integer|Transparency of the particles. 0 means that they are invisible, 255 means opaque.}} | ||
{{KV|Minimum Particle Size|string| | {{KV|Minimum Particle Size|string|This value determines the minimum size the particles can be.}} | ||
{{KV|Maximum Particle Size|string|This value | {{KV|Maximum Particle Size|string|This value determines the maximum size the particles can be.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV BModelParticleSpawner}} | {{KV BModelParticleSpawner}} | ||
Line 24: | Line 21: | ||
* [[func_dustmotes]] | * [[func_dustmotes]] | ||
* [[Smoke|Dust, Fog & Smoke]] | * [[Smoke|Dust, Fog & Smoke]] | ||
* [[WiseWind|Wind and Dust]] - example VMF w/ explanation | * [[WiseWind|Wind and Dust]] - example VMF w/ explanation |
Revision as of 11:18, 24 December 2013
Template:Base brush It spawns randomly-sized dust particles within its volume. Use the trigger texture with this entity.
Keyvalues
- Alpha ([todo internal name (i)]) <integer>
- Transparency of the particles. 0 means that they are invisible, 255 means opaque.
- Minimum Particle Size ([todo internal name (i)]) <string>
- This value determines the minimum size the particles can be.
- Maximum Particle Size ([todo internal name (i)]) <string>
- This value determines the maximum size the particles can be.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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.

- 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
See also
- func_dustmotes
- Dust, Fog & Smoke
- Wind and Dust - example VMF w/ explanation