Originally Posted by e-varmint
It's probably got something to do with the .vis file.
It says this:
I have no idea what it means, though.
I'll give the Kaurora a shot and see what happens.
Edit: No luck so far. This thread, however, may hold the answer:
Edit 2: Here's one way to fix it, form the Kaurora readme file.
"put the value "16777215" in the sun diffuse and sun ambient fields in the .ARE file"
I still don't know why the game isn't reading the original lightmapping.
MDlops doesn't know how to correctly process lightmaps. Kaurora doesn't, either... but this has to do with the fact that I don't know how to correctly export lightmaps from 3DSmax, thus it would be pointless to insert the code handling lightmaps into KAurora without creating a way of exporting those lightmaps from 3dsmax first.
Essentially, a lightmap is nothing more than a second texture applied to the model. It is combined with the first lightmap by color multiplication (the red, green and blue values of each texture for each vertex get multiplied and the resulting value is assigned to the vertex).
Within the trimesh node header, models containing a lightmap have two texture names associated with them, one for the "regular" texture file and one for the lightmap. There's also another field which tells the game what kind of data he can expect to find into the corresponding .mdx file; the specific bit of that field indicating the presence of lightmap tverts values must be set to one. Finally, you need to insert into the .mdx the lightmap tvert values for every vertex in the model... much like what you need to do with regular textures.
KAurora is capable of correctly handling the trimesh header structure and the .mdx structure; what it can't do is to import lightmap tverts data into the binary file, simply because I don't know how to make 3dsmax write the tverts values in the first place; without a format with which to work, I can't write the relevant code. Unfortunately, NWmax doesn't handle lightmaps because they weren't present into Neverwinter Nights; this means an add-on Max script is needed to add lightmap-exporting capabilities to NWMax. But I don't know how 3dsMax creates lightmaps so I can't do the script, thus I can't add the code into Kaurora, thus no lightmaps. Sorry.
[And note that even if I could write the script, you'd still have little luck as Mdlops won't export the original lightmap data, so you'd have to recreate the lightmap. Or wait for me to write code for the "export to ascii" part for KAurora]
The method you cite simply forces the "sun" generic ambient light to white light, thus giving a flat lighting to the whole area. Still better than darkness, though.