Home   Help Search Login Register  

Author Topic: titleRsc problem  (Read 540 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
titleRsc problem
« on: 04 Oct 2004, 20:38:52 »
I have a titleRsc.   Puts some nice coloured text on the screen.   It works fine .... almost.

The problem is that there is a kind border across the top of the text.  I get it for a few lines of text, but not others.  It is in the same colour as the text.  

Any ideas?
Plenty of reviewed ArmA missions for you to play

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:titleRsc problem
« Reply #1 on: 04 Oct 2004, 20:48:59 »
I've noticed this as well at various times.

I have also seen it in the new XCom Console just recently released.

I'm not sure what causes it, probably something really simple to fix.

Sorry, I can't help more at the moment.


Planck
I know a little about a lot, and a lot about a little.

Comrade Joe

  • Guest
Re:titleRsc problem
« Reply #2 on: 06 Oct 2004, 20:55:47 »
Really? Ive been using this command aswell and i havent noticed that border :S . BTW, does anyone know which is the transparency color (the one that is discarded in-game, you know?) ??? ?

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:titleRsc problem
« Reply #3 on: 07 Oct 2004, 02:13:10 »
What's your .ext entry look like, macca?

I'm thinking that maybe the size of the text is actually slightly larger than the size of the resourse on screen (I know, I'm stretching, but that's all I can think of ::) )

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:titleRsc problem
« Reply #4 on: 07 Oct 2004, 12:46:48 »
The whole thing works perfectly apart from the thin, straggly white line above "Punch macguba in the face".   Pic attached.



class dead
   {
   name = "dead";
   duration = 71;
   idd = -1;
   movingEnable = false;
   controls[]={name1,name2,name3,name4,name5,name6};
         
   class name1 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT;
    lineSpacing = 1.0;
    text = "You are dead.";
    x = 0.2;
         y = 0.02;
         w = 0.6;
         h = 0.1;
    colorText[] = {1, 0, 0, 1};
    font="SteelfishB128";
    size = 1;
   };

   class name2 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT;
    lineSpacing = 1.0;
    text = "'I told you it was difficult.'";
    x = 0;
         y = 0.78;
         w = 0.6;
         h = 0.12;
    colorText[] = {1, 1, 1, 1};
         font="SteelfishB128";
    size = 0.45;  
   };
     
        class name3 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT;
    lineSpacing = 1.0;
    text = "macguba";
    x = 0.65;
         y = 0.83;
         w = 0.3;
         h = 0.05;
    colorText[] = {1, 1, 1, 1};
         font="SteelfishB128";
    size = 0.45;  
   };   

   class name4 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT;
    lineSpacing = 1.0;
    text = "Cry";
    x = 0.47;
         y = 0.91;
         w = 0.6;
         h = 0.1;
    colorText[] = {1, 1, 1, 1};
         font="SteelfishB128";
    size = 0.6;  
   };

   class name5 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT;
    lineSpacing = 1.0;
    text = "Laugh";
    x = 0.6;
         y = 0.91;
         w = 0.6;
         h = 0.1;
    colorText[] = {1, 1, 1, 1};
         font="SteelfishB128";
    size = 0.6;  
   };

   class name6 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
    lineSpacing = 1.0;
    text = "Punch macguba in the face";
    x = -0.1;
         y = 0.92;
         w = 0.6;
         h = 0.2;
    colorText[] = {1, 1, 1, 1};
         font="SteelfishB128";
    size = 0.5;  
   };
   };
« Last Edit: 07 Oct 2004, 12:47:49 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:titleRsc problem
« Reply #5 on: 07 Oct 2004, 13:29:51 »
hmmmm.... does it make any difference if you set the x position to a positive value, like this:

  class name6 : RscText
   {
    style = ST_MULTI + ST_CENTER + ST_NO_RECT + ST_SHADOW;
    lineSpacing = 1.0;
    text = "Punch macguba in the face";
        x = 0.1;           (instead of -0.1)
        y = 0.92;
        w = 0.6;
        h = 0.2;
    colorText[] = {1, 1, 1, 1};
        font="SteelfishB128";
    size = 0.5;  
   };

??

As I said... I'm reaching a bit ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:titleRsc problem
« Reply #6 on: 07 Oct 2004, 13:59:15 »
Does't work.   Neither does this

x = -0.1;
y = 0.91;
w = 0.6;
h = 0.1;

size = 0.5;  


but this does

x = -0.1;
y = 0.91;
w = 0.6;
h = 0.1;

size = 0.6;

So it seems to be something to do with the size of the text, but who knows exactly what.  
Plenty of reviewed ArmA missions for you to play