Jump to content
Sign in to follow this  
Balschoiw

.paa picture settings for description.ext

Recommended Posts

Hi !

I´m looking for a way to implement a transparent .paa picture

into a mission but up to now only ended up with CTD´s when the description.ext is called.

The method seems to have changed from OFP so it would be nice

if someone could post an example of the description.ext code with

some explanations or redirect me to a source for info on that.

The pic I have is 512x256 pixels.

Thx !

Share this post


Link to post
Share on other sites
Quote[/b] ]

class RscTitles

{

titles[] =

{

"Evo"

};

class Evo

{

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

movingEnable = true;

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

fadein=1;

name = "Evo"; // name in editor

controls[]=

{

Picture

};  

class Picture : RscPicture // For pictures

{

x = 0.30;

y = 0.50;

w = 0.40;

h = 0.05;

text = "img\evo.paa"; // Your picture in the mission directory

sizeEx = 0.04;

style=48;

};

};

that should do it, paste it into the description, and change the names accordenly.

Share this post


Link to post
Share on other sites

Thx !

Got it to work at last, but now I got the problem that the .paa is shown solid without alpha channel. I created the .paa from a png with alpha with Kegetys PS plugin but it looks like it doesn´t export alpha. Will try with texview 2.

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  

×