Jump to content

3dsmax exporting issue (for BSLightingShaderProperty)


darknotfear

Recommended Posts

Posted

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

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.

 

Posted

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.

Guest Demiales
Posted

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

 

Posted

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. ;)

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...