Jump to content
Sign in to follow this  
Axelsson

Adding a small image to be shown on screenTitleRsc

Recommended Posts

So, im trying to get a logo to be shown on the screen for approx, 5 seconds. Just because it looks nice. the image is correctly made .paa file, im SURE. I tried to borrow scripts from missions that had this effect. Altho they were much much more complicated than what i need. trying 2 or 3 different, but yet similar ones, i did not get any effect, and in one of them the image was tiny. So, are there are just basic setup available? I have spent and hour searching the forum, and nothing suitable came up. And the wiki has no information whatsoever.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class RscTitles

{

titles[]={};

class overlayblack

{

idd=-1;

movingEnable=false;

duration=10000;

fadein=0;

fadeout=0;

name="overlayblack";

controls[]={"black","titel1"};

class black

{

idc=-1;

x=-1.5;

y=-0.1;

w=4;

h=1.2;

type=0;

style=48;

colorBackground[]={0,0,0,0};

colorText[]={1,1,1,1};

font=BitStream;

sizeEx=0;

lineSpacing=0;

access=ReadAndWrite;

text="#(argb,8,8,3)color(0,0,0,1)";

};

class titel1:

RscText{font=FontM;

style=ST_LEFT;

sizeex=0.025;

text=" please wait ...";

x=0;

y=0.96;

w=1;

h=0.04;

};

};

class Trailer1{

movingEnable=0;

duration=5;

name="Trailer1";

controls[]={"titel1"};

class titel1:

RscGraphic

{

text="kelly.paa";

colorText[]={1,1,1,0.6};

sizeEx=1;

x=0.375;

y=0.30;

w=0.25;

h=0.32;

fadein=4;

fadeout=4;

};

};

and calling

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

TitleRsc["trailer1","PLAIN"]

did not work. I took the code from a random berzerk map, altho their code seems to be more complicated than it needs to?

Please help! goodnight.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×