Editing GetWaterTrait

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Function
{{Function
  |origin = JIP
  |origin = LU
  |summary = Returns the value of a numeric trait (determined by <i>traitID</i>) of the specified '''Water Type''' form.
  |summary = Returns a trait value of a water form.
  |name = GetWaterTrait
  |name = GetWaterTrait
  |returnType = traitValue:float
  |returnType = float
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = waterType
   |Name = waterForm
   |Type = ref
   |Type = ref
   }}{{FunctionArgument
   }}  
  |Name = traitID
  |example = set fWaterTraitValue to GetWaterTrait rWaterForm iTraitType
  |Type = int
  |Value = 0-50
  }}
==Water Trait IDs==
<pre>0&#09;Water property: Opacity
1&#09;Flags bitmask (1 - Causes damage; 2 - Reflective)
2&#09;Unknown
3&#09;Unknown
4&#09;Unknown
5&#09;Unknown
6&#09;Water property: Sun power
7&#09;Water property: Reflectivity
8&#09;Water property: Fresnel amount
9&#09;Unknown
10&#09;Fog property: Above water - Fog distance (near plane)
11&#09;Fog property: Above water - Fog distance (far plane)
12&#09;Shallow color (RRRGGGBBB)
13&#09;Deep color (RRRGGGBBB)
14&#09;Reflection color (RRRGGGBBB)
15&#09;Unknown
16&#09;Rain sim: Force
17&#09;Rain sim: Velocity
18&#09;Rain sim: Falloff
19&#09;Rain sim: Dampener
20&#09;Displacement sim: Starting size
21&#09;Displacement sim: Force
22&#09;Displacement sim: Velocity
23&#09;Displacement sim: Falloff
24&#09;Displacement sim: Dampener
25&#09;Rain sim: Starting size
26&#09;Noise property: Normals - Noise scale
27&#09;Noise property: Layer 1 - Wind direction
28&#09;Noise property: Layer 2 - Wind direction
29&#09;Noise property: Layer 3 - Wind direction
30&#09;Noise property: Layer 1 - Wind speed
31&#09;Noise property: Layer 2 - Wind speed
32&#09;Noise property: Layer 3 - Wind speed
33&#09;Noise property: Normals - Depth falloff start
34&#09;Noise property: Normals - Depth falloff end
35&#09;Fog property: Above Water - Fog amount
36&#09;Nosie property: Normals - UV scale
37&#09;Fog property: Under Water - Fog amount
38&#09;Fog property: Under Water - Fog distance (near Plane)
39&#09;Fog property: Under Water - Fog distance (far Plane)
40&#09;Water property: Distortion amount
41&#09;Water property: Shininess
42&#09;Water property: Reflection HDR multiplier
43&#09;Water property: Light radius
44&#09;Water property: Light brightness
45&#09;Water property: Layer 1 - UV scale
46&#09;Water property: Layer 2 - UV scale
47&#09;Water property: Layer 3 - UV scale
48&#09;Water property: Layer 1 - Amplitude scale
49&#09;Water property: Layer 2 - Amplitude scale
50&#09;Water property: Layer 3 - Amplitude scale</pre>
  |example = set fShininess to GetWaterTrait NVCleanWater 41
}}
}}
{{Water Traits}}
==See Also==
==See Also==
*[[SetWaterTrait]]
*[[SetWaterTrait]]
[[Category:Functions (Lutana)]]
 
[[Category:Water Functions (Lutana)]]
[[Category:Functions_(Lutana)]]
[[Category:Water_Functions_(Lutana)]]

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)