Jump to content
Battlefront is now Slitherine ×

Modding trees, is it possible afterall?


Recommended Posts

Hello,

I'd like to ask for help from fellow modders and people who know about the game and how it works.

So, I wanted to see what can be done with trees and mod them somehow.

There are two files out there:

tree-X-bb

tree-X-leaves

(and the bark one)

First, I tried to change color, saturation, brightness, and it worked well. The changes appear in game. The bark texture can be replaced easly and it works.

But then I tried to change the textures themselves (of the two above mentioned files), and I had no result whasoever showing in game, so... what's the deal with trees?

Do I have to match each and every pixel of the original tree respecting each and every pixel of the Alpha channel there's behind it? Do I have to change both "Leaves" and "bb" files?

Thanks in advance for any help-

Link to comment
Share on other sites

Does "no result whatsoever" mean that no trees were visible? If so, then you've probably had semitransparent pixels in the alpha channel. In that case, it helps (in my version of photoshop) to adjust the channel via image/adjustments/threshold. In my version threshold automatically removes semitransparent pixels.

Hope this helps - looking forward to see the trees.

Cheets

Link to comment
Share on other sites

Oh, by no result I mean that the game loads the stock textures only.

I had a test with the branches that make up the "low bocage" and got the no-visible result, as the bracnhes disappeared, and the reason must be the one you nailed, bit with the trees I can't even get that result, the game just loads the stock one.

Link to comment
Share on other sites

If so, then you've probably had semitransparent pixels in the alpha channel

There's good news in that regard. Tree leaves can handle greyscale dots in the alpha channels. DO NOT try that for 'hedges' and 'bocage' though. Hedges and bocage want a pure black & white alpha channel.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...