lonesoldier 0 Posted June 26, 2003 Hehe. Hey fellas. In my description.ext i have defined a custom resource overlay, and it works. It makes a 512x512 .jpg pop up on-screen when i activate a certain trigger. Now, everything works fine, BUT one thing is an annoyance. The picture is a suicide note, and when it pops up on screen, it only stays on for about 5 seconds. Which gives the player basically no time to read it. Is there any way at all to make it stay up for as long as i want? Can i define a time limit that it is displayed for? Another Question: Can i have more than one custom resource defined in the description.ext? Because i have multiple pictures that i would like to be displayed throughout the mission. I tried copying the syntax i used for the first picture, and then pasted it in the description.ext, but it says it has already been defined... That is basically all i need to know for now. If i could get an answer ASAP it would be great. Cheers. Share this post Link to post Share on other sites
RED 0 Posted June 26, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class RscPicture { type=0; idc=-1; style=48; colorBackground[]={0,0,0,0}; colorText[]={1,1,1,1}; font="tahomaB24"; size=0; }; class RscTitles { class Title { idd=-1; movingEnable=0; duration=8; name="Title"; controls[]={"Title"}; class Title: RscPicture { text="Title.paa"; x=0.200000; y=0.200000; w=0.600000; h=0.600000; }; }; class Title_2 { idd=-1; movingEnable=0; duration=8; name="Title"; controls[]={"Title_2"}; class Title: RscPicture { text="Title_2.paa"; x=0.200000; y=0.200000; w=0.600000; h=0.600000; }; }; }; I added to the Sui's little tutorial at the OFPEC: http://www.ofpec.com/yabbse....start=0 RED Share this post Link to post Share on other sites
lonesoldier 0 Posted June 26, 2003 Thankyou very much mate! Fuck yeah, cheers man! Share this post Link to post Share on other sites
lonesoldier 0 Posted June 26, 2003 Another Question: Is it possible to have more than one graphic displayed one screen at the same time? Share this post Link to post Share on other sites