Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Func smokevolume
From HalfLife 2 Knowledge Base
Contents |
[edit]
func_smokevolume
Source(core) Solid Entity
[edit]
description
A brush entity that spawns smoke particles within it's volume.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Particle Color1 (R G B) Color1(color255) - default: 255 255 255
- Particle Color2 (R G B) Color2(color255) - default: 255 255 255
- Material material(material) - default: particle/smoke_grenade1
The material to use for the particle.s - Particle Draw Width (inches) ParticleDrawWidth(float) - default: 120
The size of the particles, in inches. - Particle Spacing Distance (inches) ParticleSpacingDistance(float) - default: 80
The distance between the particles inside the volume. The lower the number, the denser the particles, and the more overdraw there will be. It is best to keep it as high as you can without it looking bad. - Density Ramp Speed (seconds) DensityRampSpeed(float) - default: 1
Time to go from density 0 to density 1, in seconds. - Rotation Speed (degrees/sec) RotationSpeed(float) - default: 10
The speed that the particles should rotate, in degrees per second. - Movement Speed (inches/sec) MovementSpeed(float) - default: 10
The speed that the particles should move around, in inches per second. - Density [0..1] Density(float) - default: 1
[edit]
spawn flags
- 1: Emissive - default: OFF
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - SetRotationSpeed(float)
Set the particle rotation speed (in degrees per second). - SetMovementSpeed(float)
Set the particle movement speed (in inches per second). - SetDensity(float)
Set the particle density. It should be a range from 0 to 1.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input.
[edit]
related tutorials
Submit your tutorial for func_smokevolume

