darknotfear Posted January 17, 2014 Posted January 17, 2014 Hello, Im new to skyrim moddering, and I've encountered with this problem that the BSLightingShaderProperty is not exported from 3ds max corrently (or may be it is not correctly imported from the beginning?) which results a wierd effect in game, the texture are not properly rendered. Platform information: Windows 8 3ds max 2010 NIF max 2010 plugin version 3.7.3 I know that this can be solved by copying the original BSLightingShaderProperty from the source file and paste it on the new one. That works fine for me. But I've got dozens of models to work with while most of them are formed by masses of NiTriShapeData. Doing this by hand with my wooden laptop would be a disaster. So is there a possible way to fix this problem? Or the only possible solution would be coding some scripts using NifLib?(Or there is already some sort of script existed?) Thanks in advance and sorry for my bad English.
Guest Mogie56 Posted January 17, 2014 Posted January 17, 2014 you can use any piece of armor/clothing in nifscope and copy "CTRL - C" it's BSlightingshaderproperty then on your newly exported armor/clothing use CTRL - DEL on that armor/clothing pieces BSlightingshaderproperty to delete it. then paste "CTRL - V" the one you just copied in it's place since it's still in the clipboard. then change it's texture path to your texture path. Sorry I don't have pictures to show. I'm sure there's a better tutorial on this somewhere in the tutorials section.
darknotfear Posted January 18, 2014 Author Posted January 18, 2014 you can use any piece of armor/clothing in nifscope and copy "CTRL - C" it's BSlightingshaderproperty then on your newly exported armor/clothing use CTRL - DEL on that armor/clothing pieces BSlightingshaderproperty to delete it. then paste "CTRL - V" the one you just copied in it's place since it's still in the clipboard. then change it's texture path to your texture path. Sorry I don't have pictures to show. I'm sure there's a better tutorial on this somewhere in the tutorials section. Thanks, I can totally understand what you say, but my problem is too much datablocks to copy, which would be very hard by doing so manually, so I just wonder if there is a way to do this in batch. Thanks anyway. I will trying to code some batch script then.
darknotfear Posted January 18, 2014 Author Posted January 18, 2014 Have you tried 3ds Max Nif Importer-Exporter ? ya, that works fine except some problem with BSLightingShaderProperty Block
Guest Demiales Posted January 18, 2014 Posted January 18, 2014 found this: 1) The BSLightingShaderProperty's "Texture Clamp Mode" HAS to be set to "WRAP_S_WRAP_T". Exporting with the 3DS Max Plugin Plugin http://www.nexusmods.com/skyrim/mods/5622/? always puts it as "CLAMP_S_CLAMP_T" which doesn't work for Skyrim.2) The BSLightingShaderProperty's "UV Scale" has to be set to x = 1.0000 y = 1.0000, anything else will give you really weird texturing errors. 3DS Max's Plugin always exports this as 0.000, 0.000 this script http://www.nexusmods.com/skyrim/mods/40209/? makes the right entries
FastestDogInTheDistrict Posted January 19, 2014 Posted January 19, 2014 found this: 1) The BSLightingShaderProperty's "Texture Clamp Mode" HAS to be set to "WRAP_S_WRAP_T". Exporting with the 3DS Max Plugin Plugin http://www.nexusmods.com/skyrim/mods/5622/? always puts it as "CLAMP_S_CLAMP_T" which doesn't work for Skyrim. 2) The BSLightingShaderProperty's "UV Scale" has to be set to x = 1.0000 y = 1.0000, anything else will give you really weird texturing errors. 3DS Max's Plugin always exports this as 0.000, 0.000 this script http://www.nexusmods.com/skyrim/mods/40209/? makes the right entries Yes, that looks promising - however, read some of the posts in that mod's Comments. It is possible that there are other issues related to it that you will then find yourself having to deal with. The method B3lisario outlines is foolproof - I really would suggest sticking to it for now.
darknotfear Posted January 19, 2014 Author Posted January 19, 2014 found this: 1) The BSLightingShaderProperty's "Texture Clamp Mode" HAS to be set to "WRAP_S_WRAP_T". Exporting with the 3DS Max Plugin Plugin http://www.nexusmods.com/skyrim/mods/5622/? always puts it as "CLAMP_S_CLAMP_T" which doesn't work for Skyrim. 2) The BSLightingShaderProperty's "UV Scale" has to be set to x = 1.0000 y = 1.0000, anything else will give you really weird texturing errors. 3DS Max's Plugin always exports this as 0.000, 0.000 this script http://www.nexusmods.com/skyrim/mods/40209/? makes the right entries looks great! Thank you very much, I'll test it later.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.