UI adding the Team of driver.

Discussion in 'User Interface and HUD Modding' started by kamuisuki, Feb 21, 2015.

  1. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    Hello ^^'

    I'm searching how to had the team of the current drivers after the Drivers name on this UI .
    Here is a screenshot

    [​IMG]

    In green, is what i want to add.

    I modified the UI.OSC

    i found the part for the driver name
    Code:
        
        Gizmo="APP_TEXTVALUE_REPLAYCURRENTDRIVER"
        {
          Position=(1196,87)
          Width_Height=(337,26)
          AttributeSet="Nevis18"
          Caption1="p d m "
          Caption2="20 61 271"
        }
    
    When i change the Attribute i can show others things for exemple.
    But i need to now what gizmo to use for showing the current car name and not only the current driver.

    Can anyone Help me n_n? thank you.
    I searched on all the game.. even Dll's.. don't know how to do T.T

    and if possible :
    --------------------------------------------
    And can anynone tell me what mean :
    p for position, d for drivers?
    20 = x absys position for p ?

    Where the alias p or d or m is?
    what is the caption 3? what mean the 10 after?
    i really have so many none understanding on this osc file.. like the color attribute for fonts... what mean -12983244 for exemple? is non RGB , non Hexa value..
     
  2. Prodigy

    Prodigy Registered

    Joined:
    Nov 2, 2012
    Messages:
    948
    Likes Received:
    64
    I think that color code is RGB, the three RGB numbers in one, as 12983244 like R129 G83 B244..
     
  3. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    But -16737844 mean nothing , 167+378+44 impossible, 16+737 impossible.. ^^'
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,899
    Likes Received:
    4,062
    It's the decimal representation of the RGB value. I can never remember which order they're in, but it's either red + green * 256 + blue *65536, or the other way round :)

    Sheesh, premature posting there...

    The negative value is because 255 on all values, especially the one that's *65536, puts it above approx. 2 billion and at that point a signed integer value goes negative. I'm sure someone will pop up with an online converter.

    *I may have just typed complete nonsense. Tad early for this I think lol
     
    Last edited by a moderator: Feb 21, 2015
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,899
    Likes Received:
    4,062
  6. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    How can i obtain white color for exemple?
    EDiT : Thankyou !^^

    Have you an idee for the first question too (Team name) ?

    :eek:
     
  7. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,899
    Likes Received:
    4,062
    Sorry, no. I can't see any gizmos in the latest UI that indicate a team name, and the devmode log files aren't listing any unused gizmos. You might be out of luck on that one.
     
  8. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    I see ・.・” 
    But where is stored the gizmo list?
    Some livetiming may send request on the game to show team , no?
     
  9. mschreiner

    mschreiner Registered

    Joined:
    Oct 5, 2010
    Messages:
    367
    Likes Received:
    202
    Caption2="20 61 271 528 589 676"

    This line is the distance or placement Horizontally on the screen for the Gizmo displays. If you set them outside your display box then you will not see them.

    So if you do not want 5 of the 6 valuses to show then make them something more like this:
    Caption2="-200 61 -200 -200 -200 -200"
    So everything will display -200 pixels to the left of the screen(Not Visible) and the 2nd value will display 61 Pixels from left edge of the screen.
     
  10. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    ok, got it, thank you, but what about p d m l x g ..?
    I understood the caption 3 with r l c because meaning Left , Center Right .
     
  11. kamuisuki

    kamuisuki Registered

    Joined:
    Dec 1, 2013
    Messages:
    23
    Likes Received:
    1
    Little "up" ^^'
     

Share This Page