Jump to content

Home

Need A New MDLOps


Darth_Tempust

Recommended Posts

To enable people who wish to make new lightmap-enabled module MDL files, we need the following:

 

"texture1 <texturefile>"

"lightmapped <0 or 1>"

(if you know of anything else we would need for this, let me know)

 

I've managed to at least get another texture filename printed in the .mdl file by doing a copy of the bitmap code, but it doesn't get read by the game. So we need an actual programmer lol.

 

Anyone out there who can code? ;)

Link to comment
Share on other sites

Lightmap texture files are mentioned in the module MDL files & stored as "texture1 <filename>" in the uncompiled ascii MDL (none of our tools can decompile/compile MDLs to have this option or lightmapped). "texture0 is the same as "bitmap", so its not needed. If we can get these lightmap texture names stored in the module MDL and then successfully read by the game, then we can make our own module MDLs with lightmaps instead of without.

 

After some digging through NWN stuff, "Lightmapped <0 or 1>" is to tell the game that this MDL uses lightmaps, so load the lightmap texture from the second texture mentioned.

 

We need MDLOps updated to decompile/compile these options, then we can worry about adding these to NWMax.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...