Fog volume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{l4d series brush|fog_volume}}
{{l4d series brush|fog_volume}} It controls fog and other visual cinematic elements within its volume. It is necessary to have at least one <code>fog_volume</code> in order for (a master) [[color_correction]] to take effect in Left 4 Dead and Left 4 Dead 2.


==Entity description==
{{tip|There is a Fog Panel in {{game link|Left 4 Dead 2}} that allows in-game manipulation of fog parameters. It is loaded via console command <code>fogui</code>.}}
<code>fog_volume</code> is a brush entity that controls fog and other visual cinematic elements within its volume. It is necessary to have at least one <code>fog_volume</code> in order for (a master) [[color_correction]] to take effect in Left 4 Dead and Left 4 Dead 2.
{{note|{{game link|Alien Swarm}} does not use the origin of a player to decide which fog volume he is in, but rather camera position. Due to this, you must make sure that your fog volume is taller (height) then the highest point a marines camera can reach, i.e: The distance from the camera in height from the marine.}}


{{tip|{{l4d2}} There is a Fog Panel in Left 4 Dead 2 that allows in-game manipulation of fog parameters. It is loaded via console command <code>fogui</code>.}}
== Keyvalues ==
{{note| {{as}} Alien Swarm does not use the origin of a player to decide which fog volume he is in, but rather camera position. Due to this, you must make sure that your fog volume is taller (height) then the highest point a marines camera can reach, i.e: The distance from the camera in height from the marine.}}
{{KV|Fog Name|target_destination|The name of the fog entity associated with this volume.}}
 
{{KV|Postprocess Name|target_destination|The name of the postprocess entity associated with this volume.}}
==Keyvalues==
{{KV|ColorCorrection Name|target_destination|The name of the color_correction entity associated with this volume.}}
*{{KV Targetname|targetname}}
{{KV Targetname}}
*{{KV EnableDisable}}
{{KV EnableDisable}}
*{{ScrollBox|title=FogName|
Fog Name <target_destination>
: The name of the [[env_fog_controller|fog entity]] associated with this volume.
}}
*{{ScrollBox|title=PostProcessName|
Postprocess Name <target_destination>
: The name of the [[postprocess_controller|postprocess entity]] associated with this volume.
}}
*{{ScrollBox|title=ColorCorrectionName|
ColorCorrection Name <target_destination>
: The name of the [[color_correction]] [[color_correction_(entity)|entity]] associated with this volume.
}}


==Inputs==
==Inputs==

Revision as of 03:56, 12 August 2011

Template:L4d series brush It controls fog and other visual cinematic elements within its volume. It is necessary to have at least one fog_volume in order for (a master) color_correction to take effect in Left 4 Dead and Left 4 Dead 2.

Tip.pngTip:There is a Fog Panel in Left 4 Dead 2 Left 4 Dead 2 that allows in-game manipulation of fog parameters. It is loaded via console command fogui.
Note.pngNote:Alien Swarm Alien Swarm does not use the origin of a player to decide which fog volume he is in, but rather camera position. Due to this, you must make sure that your fog volume is taller (height) then the highest point a marines camera can reach, i.e: The distance from the camera in height from the marine.

Keyvalues

Fog Name ([todo internal name (i)]) <targetname>
The name of the fog entity associated with this volume.
Postprocess Name ([todo internal name (i)]) <targetname>
The name of the postprocess entity associated with this volume.
ColorCorrection Name ([todo internal name (i)]) <targetname>
The name of the color_correction entity associated with this volume.
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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

See also

External links

L4D Art Direction, Part 1: Filmic Effects - Valve blog post regarding film effects in Left 4 Dead