This article's documentation is for anything that uses the Source engine. Click here for more information.

Env steam: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{wrongtitle|title=env_steam}}
{{LanguageBar}}
{{base_point|env_steam}}
{{CD2|CSteamJet|file1=steamjet.cpp}}
{{screenshot}}
{{this is a|point entity|name=env_steam}} It is used to create a jet of steam, or heat wave distortion.


== Entity description ==
[[File:Env_steam.jpg|thumb|right|250px|Keyvalue '''type''' set to ''normal'' on the left and ''heat wave'' on the right side.]]
An entity used to create a jet of steam, or heat wave distortion. The entity appears as a cone in Hammer, the shape indicates the direction the emitter outputs the particles (away from the point).


== Keyvalues ==
The entity appears as a cone in Hammer, the shape indicates the direction the emitter outputs the particles (away from the point).
* {{KV Targetname}}
* {{KV Parentname}}
* {{KV Angles}}
* '''InitialState'''
: {{boolean}}
* '''type'''
: {{boolean}} If set, normal, otherwise heat wave
* '''SpreadSpeed'''
: <integer> The amount of random spread in the particle's velocity after they spawn.
* '''Speed'''
: <integer> The default speed at which the particles move after they spawn.
* '''StartSize'''
: <integer> The initial size of the particles after they spawn.
* '''EndSize'''
: <integer> The size of the particles at the point at which they are removed.
* '''Rate'''
: <integer> The rate of particle emission. i.e. particles per second.
* '''rendercolor'''
: {{color}} Only used if Emissive flag is set.
* '''JetLength'''
: <integer> The length of the jet determines the lifetime of each particle.
* '''renderamt'''
: <[[byte]]> Translucency
* '''{{EP1 add|rollspeed}}'''
: <float> How fast does the particles spin


== Flags ==
{{bug|In {{as|4}}, color is ''always'' white when the map is compiled with [[VRAD]].|hidetested=1|only=as}}
* 1 : Emissive - Use the value specified in the ''rendercolor'' keyvalue. (If not checked, it will instead get the ''rendercolor'' from the environment.)


== Inputs ==
{{altnames|name1=env_steamjet|misc={{note|However, env_steamjet faces left instead of forward.}} }}
* {{I Targetname}}
* {{I Parentname}}
* '''TurnOn'''
: Turns the steam jet on.
* '''TurnOff'''
: Turns the steam jet off.
* '''Toggle'''
: Toggles the steam jet between on and off.
* '''JetLength <integer>'''
: Sets the JetLength
* '''Rate <integer>'''
: Sets the Rate
* '''Speed <integer>'''
: Sets the Speed
* '''SpreadSpeed <integer>


== Outputs ==
==Flags==
* {{O Targetname}}
{{Fl|1|Emissive|Uses the value specified in <code>rendercolor</code>. If not checked, color is automatically determined by environmental lighting.}}
 
==Keyvalues==
{{KV Targetname}}
{{KV|Initial State|intn=InitialState|choices|Start enabled?
:*0: Off
:*1: On}}
{{KV|Particle Type|intn=Type|choices|Steam effect type, see image on the top right.
:*0: Normal
:*1: Heat Wave}}
{{KV|Spread Speed|intn=SpreadSpeed|integer|The amount of random spread in the particle's velocity after they spawn.}}
{{KV|Speed|intn=Speed|integer|The default speed at which the particles move after they spawn.}}
{{KV|Particle start size|intn=StartSize|integer|The initial size of the particles after they spawn.}}
{{KV|Particle end size|intn=EndSize|integer|The size of the particles at the point at which they are removed.}}
{{KV|Emission rate|intn=Rate|integer|The rate of particle emission. i.e. particles per second.}}
{{KV|Length of steam jet|intn=JetLength|integer|The length of the jet determines the lifetime of each particle.}}
{{KV|How fast does the particles spin|intn=RollSpeed|float|Particle roll speed.}}
{{KV|Color (R G B)|intn=rendercolor|color255|Steam color, only used if ''Emissive'' flag is set.}}
{{KV|Translucency|intn=renderamt|byte|Render alpha value.}}
{{KV|Start Sound|intn=StartNoise|sound|only=l4ds|Sound to play when starting emission.}}
 
==Inputs==
{{I|TurnOn|Turns the steam jet on.}}
{{I|TurnOff|Turns the steam jet off.}}
{{I|Toggle|Toggles the steam jet between on and off.}}
{{I|JetLength|param=integer|Sets '''Length of steam jet'''.}}
{{I|Rate|param=integer|Sets '''Emission rate'''.}}
{{I|Speed|param=integer|Sets '''Speed'''.}}
{{I|SpreadSpeed|param=integer|Sets '''Spread Speed'''.}}
{{I|Alpha|nofgd=1|Sets '''Translucency'''.}}
{{I|Color|nofgd=1|Sets '''Color'''.}}
 
== See Also ==
* {{ent|env_steamjet}}

Latest revision as of 01:42, 8 June 2025

English (en)Translate (Translate)
C++ class hierarchy
CSteamJet defined in C++ steamjet.cpp
CBaseParticleEntity
CBaseEntity

env_steam is a point entity available in all Source Source games. It is used to create a jet of steam, or heat wave distortion.

Keyvalue type set to normal on the left and heat wave on the right side.

The entity appears as a cone in Hammer, the shape indicates the direction the emitter outputs the particles (away from the point).

Icon-Bug.pngBug:In Alien Swarm Alien Swarm, color is always white when the map is compiled with VRAD.
AltNames.pngAltNames: This entity is also tied to env_steamjet.
Note.pngNote:However, env_steamjet faces left instead of forward.

Flags

Emissive : [1]
Uses the value specified in rendercolor. If not checked, color is automatically determined by environmental lighting.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Initial State (InitialState) <choices>
Start enabled?
  • 0: Off
  • 1: On
Particle Type (Type) <choices>
Steam effect type, see image on the top right.
  • 0: Normal
  • 1: Heat Wave
Spread Speed (SpreadSpeed) <integer>
The amount of random spread in the particle's velocity after they spawn.
Speed (Speed) <integer>
The default speed at which the particles move after they spawn.
Particle start size (StartSize) <integer>
The initial size of the particles after they spawn.
Particle end size (EndSize) <integer>
The size of the particles at the point at which they are removed.
Emission rate (Rate) <integer>
The rate of particle emission. i.e. particles per second.
Length of steam jet (JetLength) <integer>
The length of the jet determines the lifetime of each particle.
How fast does the particles spin (RollSpeed) <float>
Particle roll speed.
Color (R G B) (rendercolor) <color255>
Steam color, only used if Emissive flag is set.
Translucency (renderamt) <byte>
Render alpha value.
Start Sound (StartNoise) <sound> (only in Left 4 Dead seriesLeft 4 Dead series)
Sound to play when starting emission.

Inputs

TurnOn
Turns the steam jet on.
TurnOff
Turns the steam jet off.
Toggle
Toggles the steam jet between on and off.
JetLength <integerRedirectInput/integer>
Sets Length of steam jet.
Rate <integerRedirectInput/integer>
Sets Emission rate.
Speed <integerRedirectInput/integer>
Sets Speed.
SpreadSpeed <integerRedirectInput/integer>
Sets Spread Speed.
Alpha  !FGD
Sets Translucency.
Color  !FGD
Sets Color.

See Also