Jump to content
Sign in to follow this  
dismas

Custom resources

Recommended Posts

I'm sure it is a very small thing, but custom resources which worked for 1.46 and prior are giving me the old brain ache with 1.75.

Please someone enlighten me.

class RscPicture

{

type=48;

idc=-1;

style=48;

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

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

font="tahomaB24";

size=0;

};

class RscTitles

{

class logo256

{

type=48

idd=-1;

movingEnable=0;

duration=2;

name="logo256";

controls[]={"pic1"};

class pic1:RscPicture

{

text="logo256.paa";

x=0.25;

y=0.25;

w=0.45;

h=0.5;

};

};

titles[]={logo256};

};

problem is that it doesn't show up using a trigger or cutRsc

maybe I have the wrong value for "type"?

Share this post


Link to post
Share on other sites

this is how I did it:

class RscStdText

{

type=0;

idc=-1;

style=2;

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

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

font="TahomaB24";

size=1;

};

class RscTitles

{

titles[]={"Balschoiw", "CiATitle"};

class Balschoiw

{

idd=-1;

movingEnable=0;

duration=6;

fadein=2;

name="Balschoiw";

controls[]={"Balschoiw00"};

class Balschoiw00

{

type=0;

idc=-1;

style=48;

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

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

font="AudreysHandI48";

size=1;

text="Balschoiw.jpg";

x=0.25;

y=0.25;

w=0.5;

h=0.35;

};

};

class CiATitle

{

idd=-1;

movingEnable=0;

duration=6;

fadein=2;

name="CiATitle";

controls[]={"CiATitle00"};

class CiATitle00

{

type=0;

idc=-1;

style=2;

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

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

font="SteelfishB128";

size=2;

text="CiA Balschoiw";

x=0.04;

y=0.27;

w=0.9;

h=0.5;

};

};

};

This is for pictures and text. Hope this helps.

Share this post


Link to post
Share on other sites

I'll give this a shot, see how it turns out.

Share this post


Link to post
Share on other sites

great, works like a dream. Thanks a buncho.

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  

×