Home   Help Search Login Register  

Author Topic: custom pause screens  (Read 2528 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
Re:custom pause screens
« Reply #15 on: 04 Jun 2005, 08:57:59 »
cheers for the link ill have a look and ill de pbo the hawk in nets mission and have alook

Offline 456820

  • Contributing Member
  • **
Re:custom pause screens
« Reply #16 on: 04 Jun 2005, 09:18:14 »
a new idea i need to be able to create a rsc picture wich i can do but i cant get it in the right place i need it just above the 'retry' and 'abort' buttons i  think they are on the left but just above the black border does anywaon know a close numbers for it

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:custom pause screens
« Reply #17 on: 04 Jun 2005, 10:07:26 »
You say you know how to create it, so most of the work is done.  In Description.ext where you define the rcs picture there will be a definition for x and for y.  These determine where the picture will be placed on the screen.

x measures the distance in from the left and y the distance down from the top.  The numbers range from 0 to 1.0  In other words they are measured in fractions of the screen.  Here is an example:

Code: [Select]
  class LARCHEMAP
   {
     idd = -1;
     movingEnable = true;
     duration = 5;
     controlsBackground[] = {};
     objects[] = { };
     controls[] = {PICTURE1};
    class PICTURE1 : RscPicture
    {
     x = 0.5
     y = 0.5
     idc = -1
     w = 0.4
     h = 0.37
     style = ST_PICTURE
     colorText[] = {1, 1, 1, 1};
     colorBackground[] = {0, 0, 0, 0};
    font = "TahomaB36"
     SizeEX = 0.04
    text = "LarcheMap2.paa"
     };
In this case the top left of the picture is in the centre of the screen (x = 0.5 and y = 0.5)
« Last Edit: 04 Jun 2005, 10:07:42 by THobson »

Offline 456820

  • Contributing Member
  • **
Re:custom pause screens
« Reply #18 on: 04 Jun 2005, 10:14:57 »
cheers ill have a play around with that then