Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: ru
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2020-03-03 06:46        
     
Hello there, i'm tryin to make a simple dialog and have some issues with inserting a picture in it.
So what i did, is #include "dialog\picture.hpp" in my description.ext. In "picture.hpp" copy\paste some code, which a get there in the "Static Pictures" section, and edited it a bit.
(My monitor resolution is 1280x1024)
In game I put in player's init line addAction command which execute an .sqf script which has only this line:
_ok = createDialog "PicTest";
So, when I chose this action, the dialog appears like an empty screen with mouse on it and nothing else.
Actually i don't know am i did picture right. I made a simple .jpg picture 128x128 p. in photoshop, then open it in TexView 2 and then simply save it as .paa. Is there anything else I need to do with my picture to make it work in Arma or did I do something wrong in coding?

Added 8 hours 58 minutes later:

Nevermind, solve this.
Just need to save picture as .tga in PS, and only then save it as .paa in TexView.

This post was edited by omnicure (2020-03-03 15:44, 85 days ago)