Author Topic: Waves  (Read 2945 times)

Yes waves where a feature in water before, but now the water has changed and those waves are no longer possible.

those waves aren't what the topic is about though

can you make the water higher than what the slider allows? Considering all the mods only go as far as the slider does, Idk if it can go any higher.
Code: [Select]
//Make the water able to go up 1000 units instead of 100
function fixWater()
{
waterPlane.setTransform("0 0 -0.5 1 0 0 0");
waterZone.setScale("1000000 1000000 1000");
waterZone.setTransform("-500000 500000 -1000 1 0 0 0");
waterPlane.sendUpdate();
}
//Set the water level to a specific height
function setWaterHeight(%height)
{
waterPlane.setTransform("0 0" SPC %height - 0.5 SPC "1 0 0 0");
waterZone.setTransform("-500000 500000" SPC %height - 1000 SPC "1 0 0 0");
waterPlane.sendUpdate();
}
Yes, you can