Jump to content
Sign in to follow this  
Evilhardt

Custom Textures with transparent Background?

Recommended Posts

Hey,

I would like to add a texture with transparent background to my mission, because nether the 1 m nor the 10 m user texture object is appropriate for my needs. But .jpg does not support transparency. Does Arma 3 accept any image formats that support transparency? Or, if not, is there any other workaround to achieve this?

Share this post


Link to post
Share on other sites

Thank you, but that did not work for me. I created a TGA, installed the tools, opened the TGA with TexView2 and saved it as a PAA. I put the PAA in the folder of the mission and put "this setObjectTexture [0, "<filename>.paa"]"in the user texture object's init line. I get the error: "Picture <filename>.paa not found." Any idea why that is?? I don't see what I could have done wrong. :confused:

EDIT: Never mind, I am just retarded.

The image DOES appear ingame but with false colors and not with transparent background.

Edited by Evilhardt

Share this post


Link to post
Share on other sites

Make sure the TGA is saved in the proper format with the Alpha channel correctly applied.

Share this post


Link to post
Share on other sites

Thx for the hint. I got it to work now. But it is WAY to transparent. The part that is meant to be opaque is almost invisible as well... Do you know what that might cause?

Share this post


Link to post
Share on other sites

my works-perfectly-in-arma2 squad xml had the same thing. From what I read maybe making the image smaller would help, like 256 vs 512. Never tried it though, gave up instead. :)

Share this post


Link to post
Share on other sites

Open up an application (I use paint.net), create a new canvas (512 x 512 or 1024 x 1024). Create your image. Lower the brightness a bit (-10 or -20). Save as a TGA. Then open the TGA with the Tex2view application (available to download in the BI tools package). Leave it as a default RGBA (I think that is what it's called) file and change the option below to DX5. When you save it, make sure you put .paa at the end of the file name and change the option below the file name to 'All Files'. Then move the .paa image to your missions folder. This ought to work fine - it does for me. However, in-game you'll need to make sure you set the day to full overcast or night. There is a glitch that makes user textures too bright in open sunlight. For example, if you place a user texture inside a building or in the shade, it will look really strange... Hope that helps.

---------- Post added at 07:01 ---------- Previous post was at 06:59 ----------

http://feedback.arma3.com/view.php?id=11373

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×