Jump to content
Sign in to follow this  
dupa

Displaying a picture in a dialog.

Recommended Posts

Hi, I'm trying to make a custom map (not a mission, but the map when you press M in game). I have defined a picture dialog, which is created by a display event handler, when the M key is pressed. The problem is that I cannot get any image to show there. My map is 1024x1024, I saved it as png, loaded in Texview 2 and saved as paa. When I start the mission, it says it cannot load mipmap or just displays a black rectangle. I tried converting with the command line tool pal2pace with the same result. However, when I extracted some random paa file from some modfolder and replaced my map, it displayed fine.

My question is: How to create paa files that can be properly shown in dialogs?

Edited by dupa
Fixed a typo

Share this post


Link to post
Share on other sites

OK I just figured it out. I had Textcolor set to black in the dialog and it appears that the text color controls the image opacity.

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  

×