Author Topic: To compile model or not to compile?  (Read 334 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
To compile model or not to compile?
« on: March 01, 2014, 07:50:12 pm »


               

Is it good practice to compile models? I think I saw some posts about this being no longer that case. Can someone clarify this matter/explain why is that?


 


Im especially interested in tiles for my CPP project where Ive made plenty of fixes into some vanilla nwn tiles - saying in case this issue would differ on a model type.



               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
To compile model or not to compile?
« Reply #1 on: March 01, 2014, 08:01:48 pm »


               

Check this thread


 


The conversation also extended into the NWMax Plus thread. Personally, I haven't compiled models in the past and have never had a problem running the game or my small LAN server. However, going forward (now that I know more about what was causing models NOT to compile correctly) I feel its the best practice to compile models. If a compiled model causes issues then the model should be fixed, not left for the ingame compiler to sort out.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
To compile model or not to compile?
« Reply #2 on: March 01, 2014, 08:25:12 pm »


               

ok thanks, Ive read the research about setillumcolor/selfillumcolor but I didnt understand one thing, does it mean that the old compiler (which I used for compiling models for CPP) translated even models with correct name (selfillumcolor) as if they were setillumcolor and thus making this wrong? Or it was problem of a decompiling process?



               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
To compile model or not to compile?
« Reply #3 on: March 01, 2014, 11:09:50 pm »


               

The old nwnmdlcomp was wrong. The correct spelling IS setillumcolor. MDA posted a link to a revised version of nwnmdlcomp which compiles and decompiles correctly and doesn't bork the spelling of that parameter.