TAW_Yonose 11 Posted March 16, 2014 (edited) How do i add pictures for my intro. The picture should cover the hole screen and each picture should be about 5sec. There will also be more than 1 picture Anyone know how to do this? Edited March 16, 2014 by TAW_Yonose Share this post Link to post Share on other sites
cobra4v320 27 Posted March 16, 2014 Going to need to use a GUI, looks something like this: titles[]={"Intro"}; class Intro { idd = -1; duration = 5; fadein = 0; name = "Intro"; controls[]={"cob_picture"}; class cob_picture : RscPicture { style = 48; text = "images\intro.paa"; sizeEx = 0.04; x = 0.161979 * safezoneW + safezoneX; y = 0.214111 * safezoneH + safezoneY; w = 0.61875 * safezoneW; h = 0.560781 * safezoneH; }; }; Share this post Link to post Share on other sites
TAW_Yonose 11 Posted March 17, 2014 Where do i put this? i tried to put it in init.sqf and had it like this: titles[]={"Intro"}; class Intro { idd = -1; duration = 5; fadein = 0; name = "Intro"; controls[]={"cob_picture"}; class cob_picture : RscPicture { style = 48; text = "images\HunterEX.jpg"; sizeEx = 0.04; x = 0.161979 * safezoneW + safezoneX; y = 0.214111 * safezoneH + safezoneY; w = 0.61875 * safezoneW; h = 0.560781 * safezoneH; }; }; Is it because i have jpg? in that case i have problem to convert it to .paa, yes i have textview 2 and i trying to open something with it but the program close straight away when i open something :/ Share this post Link to post Share on other sites
RG_Magoo 10 Posted March 17, 2014 Class stuff usually go in the description.ext Skickat från min GT-I9300 via Tapatalk Share this post Link to post Share on other sites
TAW_Yonose 11 Posted March 17, 2014 just tried it, and got this error message http://gyazo.com/c53f433caac96a7f18c5efc2ea35f58a Share this post Link to post Share on other sites
cobra4v320 27 Posted March 17, 2014 Check this post out http://forums.bistudio.com/showthread.php?139954-Image-Intro&p=2223308&viewfull=1#post2223308 Share this post Link to post Share on other sites
TAW_Yonose 11 Posted March 17, 2014 cant get this to work, getting error message all the time, can someone get the code right for me, that would be great? HunterEX.jpg is the file name, resoultion is 1920x1080 Share this post Link to post Share on other sites