LucasForums (
-   Holowan Laboratories (
-   -   Need A New MDLOps (

Darth_Tempust 02-13-2013 08:04 PM

Need A New MDLOps
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? ;)

Dak Drexl 02-13-2013 09:47 PM

What are you talking about? I'm not understanding what you need.

Darth_Tempust 02-14-2013 12:46 AM

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.

Canderis 02-14-2013 07:22 AM

Darth_Tempust 02-14-2013 09:33 AM

You know, I tried to find that lightmaps for dummies thread... man I really suck at searching even though I do really try. :\

Thanks heaps for the link. :D

All times are GMT -4. The time now is 05:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.