ArmoredThirteen Posted December 20, 2011 Share Posted December 20, 2011 I've been searching online (youtube, google, these forums, you name it) and so far haven't come up with a solution. So don't yell at me for not doing my research. I have been. For days. If I missed something than kindly point me in the right direction (search terms or a link to someone else who had my problem and got it resolved). Okay, so: I have a new mesh that I built for Skyrim. Mesh works fine, I put it in place of the steel greatsword for testing, and everything appears to be fine in that area. The texture is what is messing up. Inside of nifskope the texture is visible and fine, but in game the weapon is black and incredibly shiny. I haven't made a custom texture for the normal or specularity or any of that, so it's still using the maps for those (which are visible under the blackness of the weapon). Some tests:Original steel greatsword with default texture: Works fine.Original sword with test texture: Texture works (though looks crazy because it wasn't designed for the weapon).New weapon with steal greatsword texture: Black as described above.New weapon with test texture: Black as described above. When I save the file in nifskope is displays the dreaded "link points to wrong block type". Now there are some things I've done to fix/test this:Render -> Settings -> Rendering has the Skyrim data folder added.When I load up one of Bethesda's nifs, change nothing, and save it again it displays the same error but works fine in game.The textures display fine inside nifskope, for my new mesh and for the original meshes. I've also attempted the ".obj method" with no luck. I will note, however, that I have never used obj's before so I'm not really 100% sure if I'm exporting it properly (though they get into nifskope just fine with proper scale alignment, etc). I do not use the material library for them because I don't know what they do. I'm using 3ds max 2012 with niftools plugin. I've enclosed a .zip that has the .max file of my mesh. If you need any other files just let me know. Link to comment Share on other sites More sharing options...
Varta Posted December 20, 2011 Share Posted December 20, 2011 I've been having the same issue, albeit I haven't dabbled with Nifskope since Morrowind and and am really rusty, I still thought I knew plenty enough to get a simple mesh retexture in-game. My issue is simply trying to retexture over skin, like you, everything renders/shows up fine in Nifskope, but in game acts like the normal mesh, as if it was un-altered. The one in question is the Dragonbone armor, I'm trying to add chainmail over where it would show bare skin. I'm also getting the same error,"Link points to wrong block type," and I can't figure it out for the life of me. Are you using BSAopt to extract meshes? I was wondering if maybe they were being corrupted on converting, that's the only thing I could think of. Link to comment Share on other sites More sharing options...
d0kefish Posted December 20, 2011 Share Posted December 20, 2011 (edited) When I save the file in nifskope is displays the dreaded "link points to wrong block type". Now there are some things I've done to fix/test this:Render -> Settings -> Rendering has the Skyrim data folder added.When I load up one of Bethesda's nifs, change nothing, and save it again it displays the same error but works fine in game.The textures display fine inside nifskope, for my new mesh and for the original meshes. I've also attempted the ".obj method" with no luck. I will note, however, that I have never used obj's before so I'm not really 100% sure if I'm exporting it properly (though they get into nifskope just fine with proper scale alignment, etc). I do not use the material library for them because I don't know what they do. Did you follow the tutorial about copying the matrialsettings in Nifscope and replacing the textures in there? Edited December 20, 2011 by d0kefish Link to comment Share on other sites More sharing options...
Varta Posted December 20, 2011 Share Posted December 20, 2011 Did you follow the tutorial about copying the matrialsettings in Nifscope and replacing the textures in there? To which tutorial are you referring? The basic one @ http://cs.elderscrolls.com/index.php/NifSkope_Comprehensive_Guide? Or is there an updated one with information relating to Skyrim specifically? I've looked around quite abit and haven't found anything myself, so perhaps you can save me :P Link to comment Share on other sites More sharing options...
d0kefish Posted December 20, 2011 Share Posted December 20, 2011 Did you follow the tutorial about copying the matrialsettings in Nifscope and replacing the textures in there? To which tutorial are you referring? The basic one @ http://cs.elderscrolls.com/index.php/NifSkope_Comprehensive_Guide? Or is there an updated one with information relating to Skyrim specifically? I've looked around quite abit and haven't found anything myself, so perhaps you can save me :P I used thisone and it works great. :) http://www.thenexusforums.com/index.php?/topic/478312-tutorial-3ds-max-skinned-meshes-into-game/ Link to comment Share on other sites More sharing options...
Varta Posted December 20, 2011 Share Posted December 20, 2011 (edited) I used thisone and it works great. :) http://www.thenexusforums.com/index.php?/topic/478312-tutorial-3ds-max-skinned-meshes-into-game/ Followed that the best I could considering I'm not using 3ds max for the simplest of texture swaps and still have the same issue, renders fine with no problems in Nifskope (barring the block type error) but reverts back to default once in game. I also get massive errors when using anything but the default nif.xml : \ Edited December 20, 2011 by Varta Link to comment Share on other sites More sharing options...
d0kefish Posted December 20, 2011 Share Posted December 20, 2011 This might be a stupid question but are you putting the texture in the right folder and use the right format? Link to comment Share on other sites More sharing options...
Varta Posted December 20, 2011 Share Posted December 20, 2011 (edited) This might be a stupid question but are you putting the texture in the right folder and use the right format? Yes, :P Edit - I got it to work by overwriting the shader property with a different meshs. Now I just need to hunt the settings down that prevented it from showing up in game the "clean" way. Edited December 20, 2011 by Varta Link to comment Share on other sites More sharing options...
ArmoredThirteen Posted December 20, 2011 Author Share Posted December 20, 2011 Did you follow the tutorial about copying the matrialsettings in Nifscope and replacing the textures in there? To which tutorial are you referring? The basic one @ http://cs.elderscrolls.com/index.php/NifSkope_Comprehensive_Guide? Or is there an updated one with information relating to Skyrim specifically? I've looked around quite abit and haven't found anything myself, so perhaps you can save me :P I used thisone and it works great. :) http://www.thenexusforums.com/index.php?/topic/478312-tutorial-3ds-max-skinned-meshes-into-game/ I still get the link pointing to wrong block type error, however my test texture now appears fine. I followed this part in the tutorial: Still in your NiTriShapeData, find Has Vertex Colors, and change it from No to Yes. If it was already Yes, it's likely you had accidentally checked Vertex Colors on export, which you shouldn't have done! I find this step is very important, as Skyrim needs the vertex colour information to render the texture properly; without it, my diffuse textures didn't appear (or they appeared black). Not sure what to do about my blocks... But if the texture works I can't ask for more right now, thank you for your help :) Link to comment Share on other sites More sharing options...
Recommended Posts