Alpha channel issue [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Alpha channel issue [Solved]

Post by razac920 »

So, I reskinned an ATTE and hexeditted the .msh to enable transparency (to hide bits of the ATTE). The stock texture did not contain an alpha channel. When I look at the model in StarWars Battlefront Viewer, it looks correct. However, when I look at it ingame, the parts I meant to make transparent are indeed gone, but the rest of the model is also partially transparent for some reason. The alpha channel I added is completely white over the part of the texture I want visible, and is completely black over the parts of the texture I want invisible. Does anyone have any idea why it is not working?

edit: It also does not look correct in XSI Mod Tools:
Hidden/Spoiler:
Image
Image
edit2: Fixed it! I had to change the "transparency" flag in the hexedit from 04 (what I had set original) to 10, as described in this obscurely named FAQ post
Post Reply