I have created a new realtime water script, this time you can have individual settings for each wave and the old bug is gone.
See the blend and readme for instructions.
EDIT:
Now you can have uv coords move along the wave.
See the readme and blend for info.
Looks really nice. This script is a way shorter then the another one that has been posted 2 years ago. The way of moving those vertices looks quite nice to do. I also think it really simple to simulate a earthquake effect in games. Like a character has a big axe, smashes on the ground to activate the power of the axe, and then you see inside a cirkel range the ground doing a earthquake effect
Anyways, thanks for the script, this helps me a little to understand more about blender’s python coding.
wow this is great great for all types of games too.
one thing it would be great if it added another textures once its above a certain height (or just use a timer) so it looks like the wave has a crest of foam.
but this is great for rivers,small waves, and other things
Thanks. I was hoping there would be documentation of these functions when the game engine was put back in blender. I know you can do a print(dir) but that does not really provide you with what I call documentation. I would need something like:
[output type] = function([input argument type])
“this function takes [argument types] and return [output type]”