Jump to content

Recommended Posts

Hi guys.

I use to make missions for the clan in ofp !

Lately I have started it with ARMA2.

Finding out a lot os the stuff that doesn't work or diferent.

This is the problem.

I use to make .paa for ofp.

When you had a picture size 128 x 128 it was smaller than the 512 x 512 and it all worked.

NoyI had a pic that was 256 x 256 form the olf ofp and wanted to use it.

Drop it in the mission edit the discription and start it .

Behold it is to small I make a bigger version like 1024 x 1024 looks nice drop it restart the game and what do I see !

Still a small size !

How kan I solve this ?

Thank you !

This is the code in the description !

class RscTitles
{
titles[] = {"LDDK"}; 

class LDDK {
  idd = -1;
  movingEnable = 0;
  duration = 6;  
  fadein = 2;
  fadeout = 2;
  name="LDDK";

  controls[]={"Picture"};

  class Picture {
    x=0.36; y=0.4; w=0.2944; h=0.32;
    text="lddk.paa";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
  };
};
};

Share this post


Link to post
Share on other sites

You're specifying the width (w=) and height (h=) in that code, so that's why it's the same size even with the higher resolution image.

Share this post


Link to post
Share on other sites

I have to specifie here but how far is that ?

w=0.2944; h=0.32;

Max size is 1 ?

Like this ?

w=01.0; h=1.0;

? :rolleyes:

---------- Post added at 10:46 PM ---------- Previous post was at 10:28 PM ----------

Okay that works even better than I thought.

I.m edditing in a different res and the .paa is in the middle.

I'm putting the screen to my original size screen and the pic is the right size but is not in the middle it is more to the bottom and partly to the richt out of the screen !

Is there a way for to get it in the middle ?

Like a standaard size and with and middle for screen .

Ooops I know the original that is the width on 1.0 and the hight to on 1.0

Can't figure out he middle of the screen

---------- Post added at 10:58 PM ---------- Previous post was at 10:46 PM ----------

SOLVED the problem

This is what you need to do.

class RscTitles
{
titles[] = {"LDDK"}; 

class LDDK {
  idd = -1;
  movingEnable = 0;
  duration = 6;  
  fadein = 2;
  fadeout = 2;
  name="LDDK";

  controls[]={"Picture"};

  class Picture {
    x=0.0; y=0.0; w=1.0; h=1.0;
    text="lddk.paa";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
  };
};
};

These 2 with these settings are in the middle of the screen.

x=0.0; y=0.0

These 2 will change the size of the picture that wil been shown

w=1.0; h=1.0;

To make it half the size make it.

w=0.5; h=0.5;

Thank you all for the help sofar !:yay::bounce3:

Sometimes a old wagon needs a little push !

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  

×