Asian Kid Posted April 19, 2014 Report Share Posted April 19, 2014 Need a picture to display over the main screen. It displays when a script is launched Not sure how to do this but this is what I have so far. class RscTitles { titles[] = {"info"}; class info { idd = -1; movingEnable = 0; duration = 30; fadein = 2; fadeout = 2; name="info"; controls[]={"Picture"}; class Picture { x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH; text="info.jpg"; sizeEx = -1; type=0; idc=-1; style=48; colorBackground[]={0,0,0,0}; colorText[]={1,1,1,1}; font="Bitstream"; }; }; }; To launch the picture i have cutRsc["info", "PLAIN"]; The problem is that is show up as a white screen Link to comment Share on other sites More sharing options...
0 peipo118 Posted April 19, 2014 Report Share Posted April 19, 2014 First it needs to be a .paa picture ;) then i would rather create a dialog with the picture in it. Create it in a .hpp file that you include in the script and then open it with the create Dialog command ;) Link to comment Share on other sites More sharing options...
0 Asian Kid Posted April 19, 2014 Author Report Share Posted April 19, 2014 How would I convert the picture I have texviewer 2 but wont load the image Link to comment Share on other sites More sharing options...
0 peipo118 Posted April 19, 2014 Report Share Posted April 19, 2014 Hmm long time since i last did that.. i think i used Gimp then to make .TGA and then TexViewer2 to make the .paa out of that Link to comment Share on other sites More sharing options...
0 Asian Kid Posted April 19, 2014 Author Report Share Posted April 19, 2014 I got it had to use png not jpg going to test it soon Link to comment Share on other sites More sharing options...
Question
Asian Kid
Need a picture to display over the main screen.
It displays when a script is launched
Not sure how to do this but this is what I have so far.
To launch the picture i have
The problem is that is show up as a white screen
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now