env_smokestack
Jump to navigation
Jump to search
Code classes:
CSmokeStack
CBaseParticleEntity
CBaseEntity
(all ents)
env_smokestack
is a point entity present in all Source games. It spits out a constant stream of smoke. You can place up to two env_particlelight
s near the smoke stack to add ambient light to its particles.
Keyvalues[edit | edit source]
- Initial State
(InitialState)
<choices>
- Initial state of the entity.
- 0: Off
- 1: On
- Spread at the base
(BaseSpread)
<integer>
- How far away the smoke particles can spawn from the entity.
- Spread Speed
(SpreadSpeed)
<integer>
- Amount of random spread in the velocity of the smoke particles after they're spawned.
- Speed
(Speed)
<integer>
- The speed at which the smoke particles move after they're spawned.
- Particle start size
(StartSize)
<integer>
- Size of the smoke particles when they're first emitted.
- Particle end size
(EndSize)
<integer>
- Size of the smoke particles at the end of their lives.
- Emission rate
(Rate)
<integer>
- Rate at which to emit smoke particles (i.e. particles to emit per second).
- Length of smoke trail
(JetLength)
<integer>
- Length of the smokestack. Lifetime of the smoke particles is derived from this and Speed.
- Wind X/Y Angle
(WindAngle)
<integer>
- This specifies the wind direction. It is an angle in the XY plane.
- Wind Speed
(WindSpeed)
<integer>
- The strength of the wind.
- Wind Vector (Not in FGD)
(Wind)
<vector>
- Wind direction, not limited to any axis.
- Particle material
(SmokeMaterial)
<material>
- Material of the smoke particles emitted by this entity.
- Twist
(Twist)
<integer>
- The amount, in degrees per second, that the smoke particles twirl around the smoke stack entity.
- Roll Speed
(Roll)
<float>
- How fast sprites rotate around themselves in degrees per second.
- Base Color (R G B)
(rendercolor)
<color255>
- The color of the particles.
- Translucency
(renderamt)
<integer>
- How much you can see through the particles.
Inputs[edit | edit source]
- TurnOn
- Turn on the smokestack.
- TurnOff
- Turn off the smokestack.
- Toggle
- If on, turn off. If off, turn on.
- JetLength
<integer>
- Sets Length of smoke trail.
- Rate
<integer>
- Sets Emission rate.
- Speed
<integer>
- Sets Speed.
- SpreadSpeed
<integer>
- Sets Spread Speed.
- Color (Not in FGD)
<color255>
- Sets Base Color.
- Alpha (Not in FGD)
<int>
- Sets Translucency.