Jump to content
Korean Random

How can I set WN8 summary panel only shows in the hangar?


Go to solution Solved by HEKPOMAHT,

Recommended Posts

  • 3 weeks later...

I liked having the widgets in all screens of the hangar, because I modified position and size, also of the clock.

Is there an option that let it show again in all screens?

shot_419.thumb.jpg.935aa219a1316bc3fc95732e34991f8d.jpg

 

 

shot_418.thumb.jpg.e7712a63001b225b59b104d063043f47.jpg

 

 

 

 

/**
 * List of widgets.
 * Список виджетов.
 */
{
  "widgets": {
    // Referenced templates:
    // * every widget can be enabled or disabled separately by "enabled" switch in their settings.
    // * extended format supported, see extra-field.txt
    // Подключенные шаблоны:
    // * виджеты можно отдельно отключать и включать с помощью "enabled" в их настройках.
    // * поддерживается расширенный формат, см. extra-field.txt
    "login": [
    ],
    "lobby": [
      ${ "widgetsTemplates.xc":"statistics" },
     ${ "widgetsTemplates.xc":"clock" }
    ]
  }
}

 

/**
 * Widgets templates.
 * Шаблоны виджетов.
 */
{
  "clock": {
    // Show clock in hangar.
    // Показывать часы в ангаре.
    "enabled": true,
    // layer - "bottom", "normal" (default), "top".
    // слой - "bottom", "normal" (по-умолчанию), "top".
    "layer": "normal",
    "type": "extrafield",
    "formats": [
      {
        "updateEvent": "ON_EVERY_SECOND",
        // Horizontal position.
        // Положение по горизонтали.
        "x": -850,
        // Vertical position.
        // Положение по вертикали.
        "y": -10,
        // Width.
        // Ширина.
        "width": 350,
        // Height.
        // Высота.
        "height": 100,
        // Horizontal alignment of field at screen ("left", "center", "right").
        // Горизонтальное выравнивание поля на экране ("left", "center", "right").
        "screenHAlign": "right",
        "shadow": {
          // false - no shadow
          // false - без тени
          "enabled": true,
          "distance": 0,             // (in pixels)     / offset distance / дистанция смещения	"color": "0x347ffb"
          "angle": 0,                // (0.0 .. 360.0)  / offset angle    / угол смещения
          "color": "0x000000",       // "0xXXXXXX"      / color           / цвет
          "alpha": 70,               // (0 .. 100)      / opacity         / прозрачность
          "blur": 4,                 // (0.0 .. 255.0)  / blur            / размытие
          "strength": 2              // (0.0 .. 255.0)  / intensity       / интенсивность
        },
        "textFormat": { "align": "right", "valign": "center", "color": "0x718fc0" },
        "format": "<font face='$FieldFont'><textformat leading='-46'><font size='48'>{{py:xvm.formatDate('%H:%M')}}</font><br></textformat><textformat rightMargin='120' leading='-2'>{{py:xvm.formatDate('%Au')}}<br><font size='20'>{{py:xvm.formatDate('%d %bu %Y')}}</font></textformat></font>"
      }
    ]
  },
  // Statistics widget in hangar.
  // Виджет статистики в ангаре.
  "statistics": {
    "enabled": true,
    "layer": "normal",
    "type": "extrafield",
    "formats": [
      {
        // Background image, left part.
        // Фоновая картинка, левая часть.
        "updateEvent": "ON_MY_STAT_LOADED",
        "x": 820,
        "y": 5,
        "screenHAlign": "left",
        "format": "<img src='xvm://res/icons/clock/clockBg.png' width='160' height='{{mystat.wn8?80|28}}'>"
      },
      {
        // Background image, right part.
        // Фоновая картинка, правая часть.
        "updateEvent": "ON_MY_STAT_LOADED",
        "x": 1144,
        "y": 5,
        "screenHAlign": "left",
        "scaleX": -1,
        "format": "<img src='xvm://res/icons/clock/clockBg.png' width='160' height='{{mystat.wn8?80|28}}'>"
      },
      {
        // Text block.
        // Текстовый блок.
        "updateEvent": "ON_MY_STAT_LOADED",
        "x": 900,
        "y": 12,
        "width": 350,
        "height": 75,
        "screenHAlign": "left",
        "shadow": { "alpha": 80, "blur": 4, "strength": 2 },
        "textFormat": { "font": "$FieldFont", "color": "0x959688", "size": 12 },
        "format": "{{mystat.wn8?XVM Update (<font color='#F9F1BC'>{{py:stat_update('%d-%m-%Y')|...}}</font>) {{l10n:WN8}}: <font color='{{mystat.c_xwn8}}'>{{mystat.xwn8}}</font> (<font color='{{mystat.c_wn8}}'>{{mystat.wn8}}</font>)\n{{l10n:Hit percent}}: <font color='{{mystat.c_wn8}}'>{{mystat.hip%.2f~%}}</font> {{l10n:EFF}}: <font color='{{mystat.c_xeff}}'>{{mystat.xeff}}</font> (<font color='{{mystat.c_eff}}'>{{mystat.eff}}</font>)\n{{l10n:Fights}} {{l10n:Total}}: <font color='{{mystat.c_battles}}'>{{mystat.battles}}</font>}} {{l10n:Wins}} {{l10n:Total}}: <font color='{{mystat.c_winrate}}'>{{mystat.winrate%.2f~%}}</font>\n<font color='#F9F1BC' size='14'>{{v.name}}</font>: {{l10n:Fights}}: <font color='{{v.c_battles}}'>{{v.battles}}</font> {{l10n:Wins}}: <font color='{{v.c_winrate}}'>{{v.winrate%.2f~%}}</font>"
      }
    ]
  }
}

 

 

Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...