Water lod control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Technical limitations)
No edit summary
Line 1: Line 1:
{{wrongtitle|title=water_lod_control}}
{{wrongtitle|title=water_lod_control}}
 
==Entity Description==
An entity used to control the LOD behavior of any water in the map. If your map has water, this entity is required.
==Keyvalues==
* {{kv targetname}}
* '''cheapwaterstartdistance'''
: <float> This is the distance from the camera that water will start transitioning to cheap water, in inches.
* '''cheapwaterenddistance'''
: <float> This is the distance from the camera that water will finish transitioning to cheap water, in inches.
==Inputs==
* {{i targetname}}
* '''SetCheapWaterStartDistance <float>'''
: Set the distance that water starts transitioning to cheap water.
* '''SetCheapWaterEndDistance <float>'''
: Set the distance that water finishes transitioning to cheap water.
==Outputs==
* {{o targetname}}
==See Also==
* [[Adding Water]]
[[Category:Entities]]
[[Category:Entities]]
{{hl2}} The '''water_lod_control''' entity is used to change the distances at which any water in your level transforms from expensive to cheap as soon as the player is far enough from the water
There are two distances to set:
*the distance at which the water is starting to fade from expensive to cheap
*the distance at which this distance is done
If you do not place this entity, the game will use default settings, so it is not essential. Also, you should only use '''one''' in the entire level, even if you have multiple water brushes.
----
''See also''
[[Adding Water]]
{{stub}}

Revision as of 00:07, 18 August 2005

Template:Wrongtitle

Entity Description

An entity used to control the LOD behavior of any water in the map. If your map has water, this entity is required.

Keyvalues

<float> This is the distance from the camera that water will start transitioning to cheap water, in inches.
  • cheapwaterenddistance
<float> This is the distance from the camera that water will finish transitioning to cheap water, in inches.

Inputs

Set the distance that water starts transitioning to cheap water.
  • SetCheapWaterEndDistance <float>
Set the distance that water finishes transitioning to cheap water.

Outputs

See Also