Texture was already 24bit, still having problems. It doesnt seem to be anything with the texture, but the model itself.

When an object is behind an unsolid object, the unsolid becomes invisible, and the solid behind it, can be seen. The problem is eliminiated when the camera is close to the model.

I'm assuming it is infact the zbuffer, but the script for my zbuffer doesnt do anything.