Water lod control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=water_lod_control}}
[[File:Waterlodcontrol.png|left|link=]]
{{base_point}}


== Entity description ==
{{base point|water_lod_control}} It is used to control the [[LOD]] behavior of any water in the map. If your map has water, this entity is required.
[[Image:Waterlodcontrol.png|left]]An entity used to control the [[LOD]] behavior of any water in the map. If your map has water, this entity is required.
 
* {{map_properties}}
{{map_properties}}
{{clr}}
{{clr}}
* See also [[Adding Water]]


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Start Transition to Cheap Water|float|This is the distance from the camera that water will start transitioning to cheap water, in inches.}}
* '''cheapwaterstartdistance'''
{{KV|End Transition to Cheap Water|float|This is the distance from the camera that water will finish transitioning to cheap water, in inches.}}
: <float> This is the distance (inches) from the camera that water will start transitioning to cheap water.
{{KV Targetname}}
* '''cheapwaterenddistance'''
: <float> This is the distance (inches) from the camera that water will finish transitioning to cheap water.


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|SetCheapWaterStartDistance|Set the distance that water starts transitioning to cheap water.|param=float}}
* '''SetCheapWaterStartDistance <float>'''
{{IO|SetCheapWaterEndDistance|Set the distance that water finishes transitioning to cheap water.|param=float}}
: Set the distance that water starts transitioning to cheap water.
{{I Targetname}}
* '''SetCheapWaterEndDistance <float>'''
: Set the distance that water finishes transitioning to cheap water.


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}
 
== See also ==
* [[Adding Water]]

Revision as of 16:52, 28 July 2011

Waterlodcontrol.png

Template:Base point It is used to control the LOD behavior of any water in the map. If your map has water, this entity is required.

Template:Map properties

Keyvalues

Start Transition to Cheap Water ([todo internal name (i)]) <float>
This is the distance from the camera that water will start transitioning to cheap water, in inches.
End Transition to Cheap Water ([todo internal name (i)]) <float>
This is the distance from the camera that water will finish transitioning to cheap water, in inches.
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

Inputs

SetCheapWaterStartDistance <floatRedirectInput/float>
Set the distance that water starts transitioning to cheap water.
SetCheapWaterEndDistance <floatRedirectInput/float>
Set the distance that water finishes transitioning to cheap water.


Outputs

See also