Env smokestack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: fixed param types)
Line 10: Line 10:
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* '''InitialState'''
* '''InitialState'''
: {{boolean}}
: {{boolean}}
* '''BaseSpread'''
* '''BaseSpread'''
: <float> Amount of random spread in the origins of the smoke particles when they're spawned.
: <float> Amount of random spread in the origins of the smoke particles when they're spawned.
* '''SpreadSpeed'''
* '''SpreadSpeed'''
: <integer> Amount of random spread in the velocity of the smoke particles after they're spawned.
: <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.
: <integer> The speed at which the smoke particles move after they're spawned.
* '''StartSize'''
* '''StartSize'''
: <float> Size of the smoke particles when they're first emitted.
: <float> Size of the smoke particles when they're first emitted.
* '''EndSize'''
* '''EndSize'''
: <float> Size of the smoke particles at the point they fade out completely.
: <float> Size of the smoke particles at the point they fade out completely.
* '''Rate'''
* '''Rate'''
: <integer> Rate at which to emit smoke particles (i.e. particles to emit per second).
: <integer> Rate at which to emit smoke particles (i.e. particles to emit per second).
* '''JetLength'''
* '''JetLength'''
: <integer> Length of the smokestack. Lifetime of the smoke particles is derived from this & particle speed.
: <integer> Length of the smokestack. Lifetime of the smoke particles is derived from this & particle speed.
* '''WindAngle'''
* '''WindAngle'''
: <integer> This specifies the wind direction. It is an angle in the XY plane. WindSpeed specifies the strength of the wind.
: <integer> This specifies the wind direction. It is an angle in the XY plane. WindSpeed specifies the strength of the wind.
* '''WindSpeed'''
* '''WindSpeed'''
: <integer> The strength of the wind.
: <integer> The strength of the wind.
* '''SmokeMaterial'''
* '''SmokeMaterial'''
: <string> Material of the smoke particles emitted by this stack.
: <material> Material of the smoke particles emitted by this stack.
 
* '''twist'''
* '''twist'''
: <float> The amount, in degrees per second, that the smoke particles twist around the origin.
: <float> The amount, in degrees per second, that the smoke particles twist around the origin.
* '''rendercolor'''
* '''rendercolor'''
: {{color}} Base Color
: {{color}} Base Color
* '''renderamt'''
* '''renderamt'''
: <integer> Translucency
: <integer> Translucency

Revision as of 13:41, 16 October 2005

Template:Wrongtitle

Entity Description

An entity that spits out a constant stream of smoke. You can place up to two env_particlelight entities near the smoke stack to add ambient light to its particles.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<boolean>
  • BaseSpread
<float> Amount of random spread in the origins of the smoke particles when they're spawned.
  • SpreadSpeed
<integer> Amount of random spread in the velocity of the smoke particles after they're spawned.
  • Speed
<integer> The speed at which the smoke particles move after they're spawned.
  • StartSize
<float> Size of the smoke particles when they're first emitted.
  • EndSize
<float> Size of the smoke particles at the point they fade out completely.
  • Rate
<integer> Rate at which to emit smoke particles (i.e. particles to emit per second).
  • JetLength
<integer> Length of the smokestack. Lifetime of the smoke particles is derived from this & particle speed.
  • WindAngle
<integer> This specifies the wind direction. It is an angle in the XY plane. WindSpeed specifies the strength of the wind.
  • WindSpeed
<integer> The strength of the wind.
  • SmokeMaterial
<material> Material of the smoke particles emitted by this stack.
  • twist
<float> The amount, in degrees per second, that the smoke particles twist around the origin.
  • rendercolor
#000000 Base Color
  • renderamt
<integer> Translucency

Inputs

  • TurnOn
Turn on the smokestack.
  • TurnOff
Turn off the smokestack.
  • Toggle
Toggles the smokestack between on and off state.
  • JetLength <float>
Set the length of the smoke trail.
  • Rate <float>
Set the rate at which to emit smoke particles (particles per second).
  • Speed <float>
Set the speed at which the smoke particles move after they're spawned.
  • SpreadSpeed <float>
Set the amount of random spread in the velocity of the smoke particles after they're spawned.

Outputs

External links