Func dustmotes: Difference between revisions
Jump to navigation
Jump to search
Note:Make sure you use the trigger texture with this entity. The nodraw texture can also be used, but not recommended.
Tip:This entity is affected by env_wind.
Note:The default material is
Note:Fourth number effects transparency after reload.
(Added tip about how this entity is affected by env_wind) |
|||
Line 11: | Line 11: | ||
{{tip|This entity is affected by [[env_wind]].}} | {{tip|This entity is affected by [[env_wind]].}} | ||
{{note|The default [[material]] is <code>particle/sparkles.vmt</code>}} | |||
== Keyvalues == | == Keyvalues == |
Revision as of 11:15, 3 October 2016
Entity description
It spawns sparkling dust motes within its volume.



particle/sparkles.vmt
Keyvalues
- 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.