Can't move timing in CustomGamelayout.ini file

Discussion in 'Automobilista - Help & Support' started by tlsmikey, Nov 28, 2017.

  1. tlsmikey

    tlsmikey Active Member AMS2 Club Member

    Joined:
    Dec 27, 2016
    Messages:
    320
    Likes Received:
    129
    Running triple screens and trying to move the timing and position elements on the left side a tiny bit to the right. I've modified the XPOS of several pieces but nothing seems to be moving. Am I doing something wrong or is there a bug? Below are my line changes.

    //TV OVERLAY GENERAL INFO
    TV_GENERAL_ADJUSTFORVMIRROR = 1
    TV_TIME_SCREENYPOS = 0.025 //Lap & Time elements use Position ScreenXPos.
    TV_LAP_SCREENYPOS = 0.252 //Each element (lap, time & pos) in 0.09 wide and 0.025 high
    TV_POSITION_SCREENXPOS = 0.31
    TV_POSITION_SCREENYPOS = 0.079

    //TV OVERLAY STANDINGS
    TV_STANDINGS_ADJUSTFORVMIRROR = 1 //Each standing element is 0.120 width and 0.025 high. There is a maximum of 10 entries
    TV_STANDINGS_SCREENXPOS = 0.250
    TV_STANDINGS_SCREENYPOS = 0.414
    TV_STANDINGS_NAMEWIDTH = 0.045 //Driver names autoscale for space allowed.

    //TV TIMING
    TV_TIMING_SCREENXPOS = 0.250 //Whole element is 0.175 wide when no position is shown and 0.225 when it is. The height is at least 0.05 high and grows up to 0.1 depending on the information being shown.
    TV_TIMING_SCREENYPOS = 0.75
    TV_TIMING_DELTACENTRE_SCREENYPOS = 0.15
     
  2. Heitor Facuri Cicoti

    Heitor Facuri Cicoti Good Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    858
    Likes Received:
    839
    //X Position elements automatically align to the left, centre or right of the screen based on if they are in the range 0 - 0.333, 0.333 - 0.666 or 0.666 to 1.000

    Which means your little changes gets automatically aligned to the left again. It's either left, centre or right.
     
  3. tlsmikey

    tlsmikey Active Member AMS2 Club Member

    Joined:
    Dec 27, 2016
    Messages:
    320
    Likes Received:
    129
    Ahhh. Thank you.

    So basically no way to slide it over a tiny amount is there? That’s too bad because it’s obscured in triple screens when angle corrected.
     
  4. Alex Sawczuk

    Alex Sawczuk Well-Known Member AMS2 Club Member

    Joined:
    Feb 14, 2016
    Messages:
    1,022
    Likes Received:
    857
    Works fine here, did you follow the instructions and copy the file to the UIData folder?

    I modified the following value and it moved over just fine:
    TV_TIMING_SCREENXPOS = 0.05
     
  5. Heitor Facuri Cicoti

    Heitor Facuri Cicoti Good Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    858
    Likes Received:
    839
    Oh, if it works, then what does that line regarding X Position means?
     
  6. Alex Sawczuk

    Alex Sawczuk Well-Known Member AMS2 Club Member

    Joined:
    Feb 14, 2016
    Messages:
    1,022
    Likes Received:
    857
    If you have two resolutions, one 1200x1080 and 1920x1080, then the elements align from the left / middle / right accordingly the same distance, even though the ratio is different. This way we make sure elements do not lose their proportions when the aspect ratio changes.

    examples:
    0.1 = 192 pixels from left in both.
    0.9 = 192 pixels from the right in both.
    0.4 = 192 pixels to the left of the centre point in both.
     
    Last edited: Nov 28, 2017
    • Useful Useful x 1
  7. tlsmikey

    tlsmikey Active Member AMS2 Club Member

    Joined:
    Dec 27, 2016
    Messages:
    320
    Likes Received:
    129
    Hmmm didn’t see that. Was just playing with the file under support folder. I’m betting that’s the issue. Will try later tonight thanks.
     
  8. Alex Sawczuk

    Alex Sawczuk Well-Known Member AMS2 Club Member

    Joined:
    Feb 14, 2016
    Messages:
    1,022
    Likes Received:
    857
    Read the notes at the top of the file then :)
     

Share This Page