Author Topic: Placeable wall texture question...  (Read 555 times)

Legacy_Kara_Lucielle_Pythiana

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Placeable wall texture question...
« on: December 09, 2012, 02:58:59 am »


               I was trying to make a new texture for one of the placeable walls in the CEP, for use in a module I am building. So I downloaded the Mosaic texture that is available on the Neverwinter Vault, the one used in the Maze tileset which looks like stained glass. So I created a hak pak that included an updated placeables.2da file with everything normal and typical except that one of the walls is set to use the Mosaic texture I downloaded. But when I tried it out in-game, I found I could walk through the wall. When I remove the mosaic texture and set everythign back as it was, the wall was solid again and I could not walk through it. The wall in question is set to Static by default in the .2da file, plus I have it set for Static in the toolset itself.

But oddly enough, when I use that texture it becomes totally able to be walked through. 'Image

So I assumed it was just that texture. I downloaded a wall texture in .jpg format from the web and I converted it to .tga format and tried to use that. Again, I could walk through the wall... althrough the new texture shows up just fine. I then thought perhaps I aught to convert the .tga file to dds, which I did. But it was the same, I could still walk through the wall. So I was wondering...

Is there something special you need to do with a texture, in order to make it so it functions normally and does not redner the placeable you put it on as able to be walked through?

I found this side effect of retexturing a placeable wall to be rather... curious. 'Image
               
               

               
            

Legacy_Kara_Lucielle_Pythiana

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Placeable wall texture question...
« Reply #1 on: December 09, 2012, 03:22:06 am »


               Ah! I figured it out. I decided to try an experiment so I reskinned one of the Starship Placeable walls with the mosaic textures as well as my new ones. Both worked with those walls and I discovered why: those walls have a walkmesh file (pwk)  to match the model file. I had not created one for my earlier attempts, so of course those were able to be walked through! So I took a bit of a shortcut and exported the Starship Placeables' mdl file for the wall, as well as its' pwk file so that I have them for use as templates for making my own. This way I can try out all the different textures I like without having to worry about making a new pwk file from scratch for each wall I create. I'll just have to make sure that if I rename the wall to Mosaic Wall or something similar, I change it in the mdl file as well, along with all texture names so that they point to the new textures I use. That way, all will work perfectly!

And the best part? No more walking through walls! (Although you COULD create some awesome illusionary walls this way, if one were so inclined).

Ta for now, all! 'Image