Pather doesn't load most of the M2 models post 3.0.9 since blizzard fixed the ADTs and corrected the file names. In 3.0.9 they where all ending with .mdx. Now most of the ADTs are fixed and the model file names have the correct .m2 ending.
change:
Code:
// change .mdx to .m2
string file=path.Substring(0, path.Length-4)+".m2";
to (also import System.IO):
Code:
// Change .mdx to .m2 if needed
string file = path;
if (Path.GetExtension(path).Equals(".mdx"))
{
file = Path.ChangeExtension(path, ".m2");
}
I have no idea if it's +90 or -90. In my code base it's -90. Can someone confirm +90 is correct?