Jump to content
Official BF Editor Forums
Sign in to follow this  
Outlawz

Crack Texture Won't Export Properly

Recommended Posts

What does the material setup look like for the exported object? What technique did you use and are the textures plugged into the correct slots?

Share this post


Link to post
Share on other sites

Found the valid shader techniques list. My object had color, detail and crack, which is not a valid technique :P

Edited by Outlawz

Share this post


Link to post
Share on other sites

It will be valid if you use the BaseDetailCrackNDetailNCrack technique. To use it you need an appropriate texture plugged into Base, Detail, NDetail and NCrack. And you need UVs in the correct channels. Base=1, Detail=2, Dirt=3, Crack=5, Lightmap=5

You can always change material setups after you export with Bfmeshview, or Bfmaterials.

These are the techniques listed in the Poe tools help file

Base

BaseDetail

BaseDetailDirt

BaseDetailNDetail

BaseDetailDirtNDetail

BaseDetailCrackNDetailNCrack

BaseDetailNDetailparallaxdetail

BaseDetailDirtCrackNDetailNCrack

BaseNDetail

alpha_one

Share this post


Link to post
Share on other sites

The problem is that because the mesh is just a box with the bottom face removed, you have no control over where the Crack channel is on the mesh. The white stripe is part of the texture and it shows up because the alpha for that area is white. You sshould make some cuts into the wall face so you can place the crack UVs (ch 4) where you want them and then move everything else to the null area of the texutre (black alpha)

Share this post


Link to post
Share on other sites

But if you look at the 3ds Max pic, technically I've placed the texture where I want it and everything else on the blank part. It just got more messed up the the second try. I'll try with slices then.

edit: still doesn't work, I even separated the materials and only added the mat with crack texture on faces where I want crack texture.

walffs.jpg

fffuuuu.jpg

Edited by Outlawz

Share this post


Link to post
Share on other sites

You should be able to accomplish this with only a single material. This is what I meant by making cuts and placing the crack textures only where you want them, everything else is in a null area of the texture.

wall_test_01.png

I have included the finished object and the MAX 9 file.

http://www.mediafire...e37da7vhhaj6eiu

You should watch this tutorial if you havent already.

http://battlefield2.filefront.com/file/Tutorial_BF2_Layers;46165

Edited by Coronaextra

Share this post


Link to post
Share on other sites

I don't know if you are still having this issue but I just ran into a export error in max that may be related to this problem.

If you are using a technique that used Crack but not Dirt, you have to delete the third UV set or the Shader will use that channel for the Crack (which should be 4). There is a UV manager utility in the Poe tools that can delete UV channels.

I ran into this problem using BaseDetailCrackNDetailNCrack Technique.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×