Pstemarie wrote...
Great news!
Anyway to fix the misspelling of setfillumcolor...
Selfillumcolor and Setfillumcolor
As explained by OldMansBeard of the CTP Team It is not uncommon for a model exported by NWMax to not compile when run through nwnmdlcomp. This is caused by an error in the spelling of the “Setfillumcolor†parameter. At some point the spelling was incorrectly changed to “Selfillumcolorâ€. When you export a model using NWMax, the exporter scripts will change the spelling of “Setfillumcolor†to “Selfillumcolorâ€. NWMax IS WRONG, nwnmdlcomp is correct! Although the spelling has no effect in the game, to fix (so that you can properly compile your models), follow the procedure below:
1. Export the model using NWMax
2. Open the ascii file using Textpad.
3. Replace ALL instances of the word “selfillumcolr†with “setfillumcolor†(the correct spelling).
4. The models should now compile correctly with nwnmdlcomp.
I did some testing on this:
selfillumcolor is correct. Thus the issue lies with nwnmdlcomp.
Using an ascii model, I tested the two spellings:
selfillumcolor 0.0 0.0 1.0
setfillumcolor 0.0 0.0 1.0
What does all this mean, it means NWMax was fixed long ago, and nwnmdlcomp has been the culprit all this time.
For the end-user. If you want to compile your models you'll need to do so outside of NWMax/NWMax Plus, and you'll need to "fix" the ascii file prior to using nwnmdlcomp as stated above.
The way NWMax/NWMax Plus exports the ascii file works in game to produce the desired results.
I will attempt to fix this so that models can be compiled inside of NWMax Plus.
MDA
Modifié par Michael DarkAngel, 23 février 2014 - 05:48 .