Author Topic: Minor texture issue - anyone run into this?  (Read 682 times)

Legacy_Chaszmyr

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Minor texture issue - anyone run into this?
« on: February 24, 2016, 08:31:30 am »


               

Searched around and didn't find anything on this - maybe I just used bad search terms. Apologies if this has been covered before.


 


I'm combining some smaller custom content packs together for a large custom content hak file for my server. I've moved a greatsword model from its original hak to mine, and when I load up my test module and select this weapon model, the texture is completely wrong - its a weird white texture with splotches of red and gold, which doesn't look like any other texture in that hak. When I open my hak in NWN Explorer and view the weapon model there, everything looks fine. I've moved this hak to the top with the same results, nothing should be overriding it.


 


Any ideas? Any more information needed to take a guess at it? I've moved other models, only one of them is having this issue. Thanks in advance!



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Minor texture issue - anyone run into this?
« Reply #1 on: February 24, 2016, 06:22:59 pm »


               

Export the model, if necessary de-compile it and look inside for the line(s) that say bitmap. This is the filename of the texture without the extension. Export the texture if it is in tga so you can look at in an image viewer.


 


TR



               
               

               
            

Legacy_Chaszmyr

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
Minor texture issue - anyone run into this?
« Reply #2 on: February 25, 2016, 07:26:57 am »


               

I played around with the tga file in photoshop. I made sure it was the correct 24 bit uncompressed variant, played around with opacity, etc. Nothing has any impact in game.


 


If I throw the unmodified source hak in a blank module, the sword looks just fine. If I throw that very same unmodified source hak as the highest priority hak in my builder module with all of my files, it looks corrupted and messed up. How is that even possible? What could possibly be messing with it from a lower priority?


 


EDIT: Nevermind, figured it out. a .dds texture of the same name from a lower hak (cep2_core1.hak) was overriding the desired .tga texture from a higher priority hak. The More You Know!!