Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multilayered Transparancy
08-11-2006, 07:34 PM,
#1
Multilayered Transparancy
-=Download Reference Files=- for this tutorial.

It's a 7-zip archive. 7-zip is a freeware zip program which can be downloaded from 7-zip.org. It can achieve superior compression compared to any other zip program out there.


What you'll need for this tutorial:
- 3D Studio Max v8.0
- Civ4 Nif Exporter
- NifSkope


In the previous tutorial - Exporting Transparant Textures - you learned how to create, set up, and export transparant textures through using 3D Studio Max and the Civ4 Nif Exporter. In this tutorial you will learn how to set up multiple layers of transparancy. Why would you need to do that, you may ask - was there anything wrong with the frizzy edge on the rug in the first tutorial? No, there wasn't, because it would never have to worry about transparant layers on the other side of it from the player's perspective. But in many cases when working with transparant textures, that will be the case.

Simply put, when you export a transparant texture on a model with the Civ4 Exporter, the transparant part of it will look invisible to the player whether there is another transparant layer behind it or not.

[Image: th_TutorialMultilayeredTransparancy01.jpg]

Instead of me trying to explain it in words, go ahead and open up "RP01a - Lacks proper transparancy.nif" (in the "Nif Example Files" folder) in NifSkope, which should look similar to Image 1. Examine the canopy, and you'll see what I meant. Because the transparant layers can be viewed through each other, it will look very bizarre and shoddy and not at all like Dracus intended it when he modelled the tree.

[Image: th_TutorialMultilayeredTransparancy02.jpg]

We need to examine and edit the block details of the nif file, so press F2 or go to "View > Block Details" in order for this infobox to become visible.

[Image: th_TutorialMultilayeredTransparancy03.jpg]

When you open a nif in NifSkope, the nif tree is rolled up. To unroll it for the RP01a nif, click on the plus sign to the left of the text "NiNode". Continue to unroll it until it looks like in Image 3 and you can see the text "NiAlphaProperty". Now check out the block details, and you'll see the number 237 to the right of a flag symbol.

[Image: th_TutorialMultilayeredTransparancy04.jpg]

If you doubleclick on the number 237 you'll get a textbox, in which will let you replace the number with the proper one. Remember, as the name implies the Civ4 Nif Exporter was designed for a totally different game than Oblivion, and the fact that it works at all is nothing short of a miracle. After you've doubleclicked the number you'll need to left-click once in the textbox to get the cursor to show up, then use backspace on your keyboard to delete the number, and instead write 4845.

[Image: th_TutorialMultilayeredTransparancy05.jpg]

Hit returns to see the magic happen before your eyes. Yaay, it looks like a tree again! If you didn't get it to work, NifSkope the other nif file - "RP01b - Has proper transparancy" - where it's set up, and compare the differences in it with the RP01a nif.

If you would like to use this tree in your mod, you are free to do so. It's not my assets to share, but you should credit Dracus for the model and leaf texture and Lemog3d for the bark texture. Of course, don't forget to change the texture paths in NifSkope to wherever you choose to place the texture files, otherwise the tree will turn up untextured. If you don't know how, check out some of the reskinning tutorials on the wiki.

My personal thankyou goes out to all the hardworking guys of the NifTools group, who's amazing tools have enabled us modellers to unleash our creativity for Oblivion mods. Cheers guys!
¤ How to add images or files to your post ¤ Silgrad's UBBCode
My pet peeve: huge images in img code. I reserve the right to make any such image into a clickeable thumbnail whenever I see it.
Angel mired in filth
[Image: SignatureBannerRazorwing.jpg]
Reply
08-29-2006, 04:21 AM,
#2
 
Awesome. Good tute :banana:
Reply
08-29-2006, 04:55 AM,
#3
 
Hey, can I have those trees as better placeholders for the bitter coast trees?
Lol what?
Reply
08-29-2006, 09:59 PM,
#4
 
Thanks Leone!

Quote:Originally posted by IAMTHEEMPEROR
Hey, can I have those trees as better placeholders for the bitter coast trees?

Sure, if you want. I'll PM you the link.
¤ How to add images or files to your post ¤ Silgrad's UBBCode
My pet peeve: huge images in img code. I reserve the right to make any such image into a clickeable thumbnail whenever I see it.
Angel mired in filth
[Image: SignatureBannerRazorwing.jpg]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)