-
Displaying a picture in a dialog.
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?
Last edited by dupa; Oct 1 2011 at 14:43.
Reason: Fixed a typo
-
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules