Well, if it's really the shader-code itself causing the trouble, I'm the wrong one since, unfortunately, I don't have a clue about shaders at all Anyway, would you mind posting those "all kinds of" errors so we can at least have a guess or two whether it is related to C-Script or to the shader code?
Formerly known as The Matrix - ICQ 170408644
I've been here for much longer than most people think. So where's my "Expert" status?