No crashes here, as I still haven't tried my own models.

Currently having trouble getting my 2 models out of max. For example, I've got 2 mapping channels, the first one with the normal UV, the second with another UV. But max2mdl seems to only export models with map channel #1. Perhaps I'm doing something wrong, as I'm very new when it comes to baking levels. If someones got a solution for it, please post(I think earlier it looked like Mabyenew had no problem exporting with this?).


Edit:

Got the mesh exports working! Turns out to export as a different map channel, you have to UVW Mapping modifier, and select your map channel there. This is very simple and quick.

Anyways, i'm getting the same error as Jetpackmonkey when I try to combine my 2 meshes thru script. Basically a problem with the "loadseconduvset", then after that error, there is one with the "ent_importmesh". After running, the model has it's normal tiling textures, but with a bunch of it's faces shaded black here and there.

Code:
  str_for_entfile(tempstring,my);
//str_cpy(aemo2, tempstring);



if(str_cmp(tempstring,"YY_MAINCLIFF.MDL") == 1)
{

// // example 1
//
// // load model with texture uv-set

// // load model with light map uv-set
e2 = ent_create("l_maincliff.mdl", nullvector, 0);
//
// // generate and assign a new mesh with both uv-sets
ent_loadseconduvset(my, e2);
ent_remove(e2);
//
// // save mesh with both uv-sets for faster reuse
/// ent_exportmesh(e1, "landscape_lm.mesh");
//
//
//
//ent_remove(my);

// ent_importmesh(my, "l_maincliff.mesh");
}



Last edited by William; 05/03/07 05:53.