Ok, I am attempting to apply a water shader to a model I have made. This model is not designed for a water shader... its actually my terrain. I am simply using it so I can learn how to apply shaders.
The shader I am using is the Simple Water shader found on the old wiki, seen here...
Simple Water The c-script code I am using to apply the shader is as follows...
Code:
var video_mode = 7;
var video_depth = 32;
string new_wmb = <new.wmb>;
material watershader
{
effect = <toon.fx>;
}
action shaderaction
{
my.material = watershader;
}
function main()
{
level_load (new_wmb);
wait(1);
}
nothing fancy, just enought to load the level, and apply the shader. However, when I load the level, I recieve the following error...

Could anyone help me out as far as fixing this problem? Thank you in advance.
Edit: My effect, toon.fx, is in fact my water shader. I first tried to apply the toon shader, but realised I wouldnt even be using it. After that, I was lazy and didnt feel like changing the code, so I saved the water shader as toon.fx. Sorry if that messes anyone up.