Celery
Dec 16 2006, 23:24
I'm busy making intros and other things that require some fancy writing and user interfaces. When I used parts of an OFP description.ext to have a template for an on-screen title splash and spectator UI, ArmA started giving errors. I got RscTitles fixed so it doesn't give any errors, but now it doesn't work. The text doesn't show.
This is how the unfinished product looks like now:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class RscTitles
{
titles[]={starttext1};
class starttext1
{
idd=-1;
movingEnable=0;
duration=6;
fadein=0;
fadeout=0;
name="starttext1";
controls[]={"Title1","Title2"};
class Title1 : RscStdText
{
text="WARNING";
colorText[]={0.9,0,0,1};
font="TahomaB48";
sizeEx=1.0;
x=0.1;
y=0.42;
w=0.8;
h=0.3;
};
class Title2 : RscStdText
{
text="This map contains";
colorText[]={0.9,0.9,0.9,1};
font="TahomaB48";
sizeEx=0.2;
x=0.1;
y=0.32;
w=0.8;
h=0.3;
};
};
};[/QUOTE]
I'm trying to bring it up with the TitleRsc ["starttext1","plain",6] command but nothing shows up. Please help!
This is how the unfinished product looks like now:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class RscTitles
{
titles[]={starttext1};
class starttext1
{
idd=-1;
movingEnable=0;
duration=6;
fadein=0;
fadeout=0;
name="starttext1";
controls[]={"Title1","Title2"};
class Title1 : RscStdText
{
text="WARNING";
colorText[]={0.9,0,0,1};
font="TahomaB48";
sizeEx=1.0;
x=0.1;
y=0.42;
w=0.8;
h=0.3;
};
class Title2 : RscStdText
{
text="This map contains";
colorText[]={0.9,0.9,0.9,1};
font="TahomaB48";
sizeEx=0.2;
x=0.1;
y=0.32;
w=0.8;
h=0.3;
};
};
};[/QUOTE]
I'm trying to bring it up with the TitleRsc ["starttext1","plain",6] command but nothing shows up. Please help!