Changing font for in-game Help

Discussion in 'General Modification' started by Dioptimizer, Jul 30, 2011.

Remove all ads!
  1. Dioptimizer

    Dioptimizer Member

    Joined:
    Jul 30, 2011
    Messages:
    2
    Likes Received:
    0
    I translate Circle of Eight Modpack game on Russian language, there is one problem.
    I created all of the fonts for My language with the necessary number of characters (253 instead of 188), but there was a problem with in-game Help.

    Problem:
    If I wrote in Russian in the file help.tab all perfectly visible, but if you try to click on the blue text link - nothing will happen. As I understand the problem is that I have increased the character set from 188 to 253, with 95 first character of this English language and links for in-game Help work only with the first set of symbols.

    To solve this problem I need to change the font only for in-game Help.

    Unfortunately there is another problem:
    I found a file that is responsible for the font for in-game Help:
    data\art\interface\SCROLLBOX\0_scrollbox_help.mes
    Code:
    // 0_scrollbox_help.mes
    // format is: (x), (y), (width), (height)
    // default path is: "art\\interface\\logbook_ui\\"
    
    --- scrollbox main window ---
    {020} {127}      ; x
    {021} {44}      ; y
    {022} {400}     ; width
    {023} {398}     ; height
    
    --- scrollbox text area ---
    {025} {127}      ; x
    {026} {60}      ; y
    {027} {380}     ; width
    {028} {374}     ; height
    
    --- window z ---
    {050} {99950}
    {051} [COLOR="Red"]{arial-10}[/COLOR]  ; name
    {052} [COLOR="Red"]{10}[/COLOR]      ; size
    {053} {227}     ; tab stop
    
    --- scrollbox up button ---
    {0130} {513}     ; x
    {0131} {44}      ; y
    {0133} {398}     ; height
    
    To provide an example that I changed the font,
    I change in this file name = priory-12, size = 12. When I start the game and run the "Help", I see that the font has changed.
    And here the problem:
    When I click on any link in-game Help, this changes the font on tooltips Utility Bar UI icons (Select All button, Formation button, Logbook button and etc.), Also this change the font in the radial menu. To restore the font I press on the character interface => Abilities UI

    How do I make when you click on the link in-game Help the font is not changed in the other interfaces?
     
  2. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    I suspect no-one knows... (I certainly don't). If you figure it out let us know.

    By the way, are you working on this solo, or are you part of some Russian group?
     
  3. Dioptimizer

    Dioptimizer Member

    Joined:
    Jul 30, 2011
    Messages:
    2
    Likes Received:
    0
    I'm working on this alone, but the translation from English is not a problem, I have on hand for more than half of the translated dialogues and descriptions.

    Maybe somewhere there is a universal command for mes files to initialize (refresh) interface, or fonts?
     
Our Host!