public void Extract(Tim tim) { map.Extract(tim); foreach (LODModel m in lodmods) { foreach (LODHeader lh in m.lh) { Helpers.WriteToFile(Meta.BasePath + "\\models\\" + m.name + "_" + lh.name + ".obj", lh.ToObj()); } } }
public void Extract(string path, Tim tim) { map.Extract(tim, Path.Combine(path, "textures")); foreach (var model in Models) { model.Export(path); model.Save(path); } Console.WriteLine("Models done!"); }
public void Extract(string dir, Tim tim) { map.Extract(tim, ".\\textures\\"); foreach (CtrModel d in dynamics) { d.Export(dir); d.Write(dir); } Console.WriteLine("Models done!"); }