OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: chrisb1220 on 18 Jan 2003, 01:38:43
-
I'm trying to get a pic show up during the game in my mission. How?
-
Do you mean as in having a picture show up in the briefing? Or do you mean more like as a poster on a wall or some such? I know how to do the briefing pictures, if that's what you mean. Let me know.
-
Ummmmm, hard to explain. :-\ During the mission, right in the middle of the screen
-
I'm not sure but I think that if you create your own image as .PAA extension, then you'll be able to use it as a CutRsc (Cut Resource)...
Just trying... :-\
-
Umm, I know how to make them .paa but that's it. Can somebody please help!!!!!!!!!!!!!!!!!
-
put this in your description.ext
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 yourpic
{
idd=-2;
movingEnable=1;
duration=8;
name="yourpic";
controls[]={"pic1"};
class pic1: RscPicture
{
text="yourpicturename.paa";
x=0.00000;
y=0.00000;
w=1.0;
h=1.0;
};
};
titles[]={"yourpic"};
};
change this bit and the yourpicturename to what you want
x=0.00000;
y=0.00000;
w=1.0;
h=1.0;
x & y are the position on the screen, and w & h are how big your pic is on the screen, 1 is full screen.
thats about it