Hello
I have a script for Text and a Picture (JPG Image).
Here it is:
debriefing = 0;
showNotepad = 0;
onLoadMission = Your House...
onLoadIntro = Reformation
onLoadIntroTime = false;
onLoadMissionTime = false;
#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"
#define CT_STATIC 0
#define CT_HTML 9
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_UP 3
#define ST_DOWN 4
#define ST_VCENTER 5
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 256
#define ST_NO_RECT 512
class RscPicture
{
type = CT_STATIC;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 0;
};
class RscText
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
h = 0.04;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 1;
};
class RscStdText
{
type=0
idc=-1
style=2
colorBackground[]={0,0,0,0};
colorText[]={0.839,0.839,0.4,1};
font="Garamond64";
size=2;
};
class RscBackground
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorBackground[] = {0, 1, 0, 1};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 0;
text = "";
};
class RscHTML
{
type = CT_HTML;
idc = -1;
style = 0;
colorBackground[] = {1, 1, 1, 1};
colorText[] = {0, 0, 0, 1};
colorBold[] = {0, 0, 0.2, 1};
colorLink[] = {0.4, 0.4, 0.8, 1};
colorLinkActive[] = {0.8, 0.35, 0.48, 1};
// styles
class H1
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 1.0;
};
class H2
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.7;
};
class H3
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.5;
};
class H4
{
font = FontHTML;
fontBold = FontHTMLBold;
size = 0.4;
};
class H5
{
font = FontBOOK;
fontBold = FontBOOK;
size = 0.6;
};
class H6
{
font = FontNOTES;
fontBold = FontNOTES;
size = 0.7;
};
class P
{
font = FontHTML;
fontBold = FontHTML;
size = 0.47;
};
};
class RscTitles
{
titles[] = {"Text1","Texte2","Texte3","Texte4",Texte5","Flyer"};
class Texte1
{
name = "Texte1";
duration = 4;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "Mission Name: Delta Snipers";
x = 0.15; y = 0.40; w = 0.65; h = 0.4;
colorText[] = {0, 0, 1, 1};
font = SteelfishB128;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
class Texte2
{
name = "Texte2";
duration = 4;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "Chapter 1: Reformation";
x = 0.15; y = 0.20; w = 0.65; h = 0.4;
colorText[] = {0, 1, 0, 1};
font = AudreysHandI48;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
class Texte3
{
name = "Texte3";
duration = 4;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "Mission Codename: Blackhawk Down";
x = 0.15; y = 0.40; w = 0.65; h = 0.4;
colorText[] = {0, 0, 1, 1};
font = SteelfishB128;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
class Texte4
{
name = "Texte4";
duration = 4;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "Created By: OFPWiZard";
x = 0.15; y = 0.20; w = 0.65; h = 0.4;
colorText[] = {0, 1, 0, 1};
font = AudreysHandI48;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
class Texte5
{
name = "Texte5";
duration = 15;
idd = -1;
movingEnable = false;
controls[]=
{
name1
};
class name1 : RscText
{
style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
lineSpacing = 1.0;
text = "US Flag - United States Army\nMilitary Base\nDelta and Rangers";
x = 0.15; y = 0.70; w = 0.65; h = 0.4;
colorText[] = {1, 0, 0, 1};
font = tahomaB24;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
class Flyer
{
idd=-1;
movingEnable=0;
duration=10;
fadein=1;
name="OFPWiZard";
controls[]={"Bild"};
class Bild: RscStdText
{
style=48;
text="ofpwp.jpg";
colorText[]={1,1,1,1};
colorBackground[]={0,0,0,0};
x=0;
y=0;
w=577;
h=158;
};
};
};
When i load the mission and make the trigger to have the Image pop up it gave me this Error Message, as shown in the picture.
Please help me fix this...