Jump to content
Sign in to follow this  
scianima

Arma 2 Intro image

Recommended Posts

I'm trying to add a logo at the beginning of my missions but the only thing that displays is a blue box. Here's my code in the description.ext file:

class RscTitles

{

class RscIntroLogo

{

idd = -1;

movingEnable = 0;

duration = 10;

controlsBackground[ ]={ introLogo };

controls[ ]={ };

class introLogo

{

idc = -1;

type = 0;

style = 48;

font = "TahomaB";

text = "\mylogo.paa";

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

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

sizeEx = 48;

x = .35;

y = 0.1;

w = .3;

h = .2;

};

};

};

AND init.sqf:

titleRsc["RscIntroLogo","PLAIN"];

Image size is 256 x 256 .paa file format

Share this post


Link to post
Share on other sites

Not my field but this is what I used in Arma to through a picture up at the start of a mission.

description.ext

class RscStdText

{

type=0;

idc=-1;

style=2;

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

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

font="BitStream";

size=1;

};

class RscTitles

{

titles[] = {"unspic","intro"};

class unspic

{

idd=-1; // ID ... always -1

movingEnable = false; // always false

duration=3; // time of the effect (in seconds)

name = "unspic"; // name in editor

sizeEx = 256;// Size required for ARMA

controls[]= {"Pic"};

class Pic : RscStdText //RscPicture // For pictures

{

style=48;

x = 0.1;

y = -0.05;

w = .8;

h = .9;

text="CSJUH1.paa";

sizeEx = 1;

};

};

class intro

{

idd=-1; // ID ... always -1

movingEnable = false; // always false

duration=20; // time of the effect (in seconds)

name = "intro"; // name in editor

sizeEx = 256;// Size required for ARMA

controls[]= {"Pic"};

class Pic : RscStdText //RscPicture // For pictures

{

style=48;

x = 0;

y = 0.1;

w = 0.9;

h = 1;

text="tuyen2.paa";

sizeEx = 1.5;

};

};

};

intro.sqs

cutRsc["unspic", "PLAIN", 2];

~10

pic was 1024x1024 paa

hope this helps

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  

×