Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Env smokestack
From HalfLife 2 Knowledge Base
Contents |
[edit]
env_smokestack
Source(core) Point Entity
[edit]
description
An entity that spits out a constant stream of smoke. See particlezoo.vmf for sample usage. You can place up to two env_particlelight entities near the smoke stack to add ambient light to its particles.
[edit]
properties
- Parent parentname(target_destination)
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent. - Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis. - Name targetname(target_source)
The name that other entities refer to this entity by. - Initial State InitialState(choices)
- 0 - Off
- 1 - On
- Spread at the base BaseSpread(integer) - default: 20
Amount of random spread in the origins of the smoke particles when they're spawned. - Spread Speed SpreadSpeed(integer) - default: 15
Amount of random spread in the velocity of the smoke particles after they're spawned. - Speed Speed(integer) - default: 30
The speed at which the smoke particles move after they're spawned. - Particle start size StartSize(integer) - default: 20
Size of the smoke particles when they're first emitted. - Particle end size EndSize(integer) - default: 30
Size of the smoke particles at the point they fade out completely. - Emission rate Rate(integer) - default: 20
Rate at which to emit smoke particles (i.e. particles to emit per second). - Length of smoke trail JetLength(integer) - default: 180
Length of the smokestack. Lifetime of the smoke particles is derived from this & particle speed. - Wind X/Y Angle WindAngle(integer) - default: 0
This specifies the wind direction. It is an angle in the XY plane. WindSpeed specifies the strength of the wind. - Wind Speed WindSpeed(integer) - default: 0
The strength of the wind. - Particle material SmokeMaterial(string) - default: particle/SmokeStack.vmt
Material of the smoke particles emitted by this stack. - Twist twist(integer) - default: 0
The amount, in degrees per second, that the smoke particles twist around the origin. - Base Color (R G B) rendercolor(color255) - default: 255 255 255
- Translucency renderamt(integer) - default: 255
[edit]
spawn flags
none.
[edit]
inputs
- SetParent(string)
Changes the entity's parent in the movement hierarchy. - SetParentAttachment(string)
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. - ClearParent(void)
Removes this entity from the the movement hierarchy, leaving it free to move independently. - TurnOn(void)
Turn on the smokestack. - TurnOff(void)
Turn off the smokestack. - Toggle(void)
Toggles the smokestack between on and off state. - JetLength(integer)
Set the length of the smoke trail. - Rate(integer)
Set the rate at which to emit smoke particles (particles per second). - Speed(integer)
Set the speed at which the smoke particles move after they're spawned. - SpreadSpeed(integer)
Set the amount of random spread in the velocity of the smoke particles after they're spawned.
[edit]
outputs
none.
[edit]
related tutorials
Submit your tutorial for env_smokestack

