The following in the expandable "Code" box is the new xml code for setting the water shader settings. I took the description information right out of the document file provided by Corno_1. You can open this file in Notepad++ and in fact, I recommend it especially since you have to have this application in order to actually use this API. :SMILE: The code is at the very end of the file or you can search for "<!--***Water Shader Settings***" which is the first line of what you need to replace. These are the "setter" commands.
<!--***Set Water Shader Settings*** Look into the shader for informations about these values(open effectbank/reloaded/water_basic.fx with i.e. notepad)-->
<KeyWord name="SetWaterHeight" func="yes">
<Overload retVal="" descr="-- Set the water plane height. Range: Any (default: 500).
Example: SetWaterHeight(500) Danger: Player dies under water(too high and player is in death loop)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" height value " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterColor" func="yes">
<Overload retVal="" descr="-- Set the water colour. Range: 0-255 (default: red: 158.0; green: 168.0; blue: 198.0)
Example: SetWaterColor(0,140,255)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" rgb val red,rgb val green,rgb val blue " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterWaveIntensity" func="yes">
<Overload retVal="" descr="-- Set the water wave intensity (lower value => bigger waves). Range: 1- Any (default: 155.0).
0 is flat, but create strange lightning reflections.
Example: SetWaterWaveIntensity(155.0)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterTransparancy" func="yes">
<Overload retVal="" descr="-- Set the water transparancy Range: 0-1 (default: 0.75)
Example: SetWaterTransparancy(0.80)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterReflection" func="yes">
<Overload retVal="" descr="-- Set the water reflection. Range: 0-1 (default: 0.5)
Example: SetWaterReflection(0.5)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterReflectionSparkleIntensity" func="yes">
<Overload retVal="" descr="-- Set the reflection sparkle intensity. Range: 0-Any (default: 1.9)
At 20 there is no real difference anymore.
Example: SetWaterReflectionSparkleIntensity(1.9)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterFlowDirection" func="yes">
<Overload retVal="" descr="-- Set the flow direction and the flow speed. Small tip: -1 =east/north; 1=west/south.
Speed is a multiplier of the flow direction (higher => fast flow. Range: Any (default x=1, y=1, speed=1)
Best case: x/y = 0-1 and “speed” to manage flow speed.
Example: SetWaterFlowDirection(0.5,0.5,3)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" x,y,speed " />
</Overload>
</KeyWord>
<KeyWord name="SetWaterDistortionWaves" func="yes">
<Overload retVal="" descr="-- Set the wave distortion. Range: 0-Any (default: 0.030)
Example: SetWaterDistortionWaves(0.04)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
<KeyWord name="SetRippleWaterSpeed" func="yes">
<Overload retVal="" descr="-- Set the water ripple speed. Range: 0-Any (default: 35)
Example: SetRippleWaterSpeed(45)
See Water Lua Command List.pdf in GG Doc subfolder." >
<Param name=" value " />
</Overload>
</KeyWord>
For this next set of commands, you can search for "Get water shader information" which is the first line of what you need to replace. These are the "getter" commands.
<!--***Get Water Shader Settings*** Look into the shader for informations about these values(open effectbank/reloaded/water_basic.fx with i.e. notepad)-->
<KeyWord name="GetWaterHeight" func="yes">
<Overload retVal="x = " descr="Get the water height. Example: local x= GetWaterHeight().
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterWaveIntensity" func="yes">
<Overload retVal="x = " descr="Get the water wave intensity. Example: local x= GetWaterHeight().
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterShaderColorRed" func="yes">
<Overload retVal="x = " descr="Get the red water colour value. Example: local x= GetWaterShaderColorRed()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterShaderColorGreen" func="yes">
<Overload retVal="x = " descr="Get the green water colour value. Example: local x= GetWaterShaderColorGreen()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterShaderColorBlue" func="yes">
<Overload retVal="x = " descr="Get the blue water colour value. Example: local x= GetWaterShaderColorBlue()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterTransparancy" func="yes">
<Overload retVal="x = " descr="Get the water transparency value. Example: local x= GetWaterTransparancy()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterReflection" func="yes">
<Overload retVal="x = " descr="Get the water reflection value. Example: local x= GetWaterReflection()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterReflectionSparkleIntensity" func="yes">
<Overload retVal="x = " descr="Get the water reflection sparkle intensity. Example: local x= GetWaterReflectionSparkleIntensity()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterFlowDirectionX" func="yes">
<Overload retVal="x = " descr="Get the water flow direction value for x-axis. Example: local x= GetWaterFlowDirectionX()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterFlowDirectionY" func="yes">
<Overload retVal="x = " descr="Get the water flow direction value for y-axis. Example: local x= GetWaterFlowDirectionY()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterFlowSpeed" func="yes">
<Overload retVal="x = " descr="Get the water flow speed value. Example: local x= GetWaterFlowSpeed()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetWaterDistortionWaves" func="yes">
<Overload retVal="x = " descr="Get the water wave distortion value. Example: local x= GetWaterDistortionWaves()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
<KeyWord name="GetRippleWaterSpeed" func="yes">
<Overload retVal="x = " descr="Get the water ripple speed. Example: local x= GetRippleWaterSpeed()
See Water Lua Command List.pdf in GG Doc subfolder.">
<Param name="" />
</Overload>
</KeyWord>
At the very end of the xml file are two commands
</AutoComplete>
</NotepadPlus>
Please, Do Not accidentally delete these lines.
One more tip, Corno_1 has provided a document entitled, "Water Lua Command List.pdf" in the GG Doc subfolder.
Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory