Jump to content
Korean Random
x_Shadow_x

Настройка часов в ангаре

Recommended Posts

Здравствуйте, подскажите пожалуйста где в конфиге сделать пробел между датой и временем, с цветом и перемещением разобрался, а вот как их немного разделить друг от друга не смог :blush:

shot_001.jpg

Share this post


Link to post

Short link
Share on other sites
27 минут назад, x_Shadow_x сказал:

Здравствуйте, подскажите пожалуйста где в конфиге сделать пробел между датой и временем, с цветом и перемещением разобрался, а вот как их немного разделить друг от друга не смог :blush:

 

EKjUNcn.png

 

  // Clock widget in hangar.
  // Виджет часов в ангаре.
  "clock": {
    // true - show widget.
    // true - показывать виджет.
    "enabled": true,
    // Layer - "bottom", "normal" (default), "top".
    // Слой - "bottom", "normal" (по-умолчанию), "top".
    "layer": "normal",
    "type": "extrafield",
    "formats": [
      {
        // Background image.
        // Фоновая картинка.
        "x": 4,
        "y": 51,
        "screenHAlign": "right",
        "format": ""
      },
      {
        "updateEvent": "ON_EVERY_SECOND",
        // Horizontal position.
        // Положение по горизонтали.
        "x": 290,
        // Vertical position.
        // Положение по вертикали.
        "y": 90,
        // Width.
        // Ширина.
        "width": 200,
        // Height.
        // Высота.
        "height": 50,
        // Horizontal alignment of field at screen ("left", "center", "right").
        // Горизонтальное выравнивание поля на экране ("left", "center", "right").
        "screenHAlign": "center",
        "shadow": {
          // false - no shadow.
          // false - без тени.
          "enabled": true,
          "distance": 0,       // (in pixels)    / offset distance / дистанция смещения
          "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": { "valign": "bottom", "color": "0x00FCFF" },
        "format": "<font face='$FieldFont'><textformat leading='-38'><font size='36'>{{py:xvm.formatDate('%H:%M')}}</font><br></textformat><textformat leftMargin='85' leading='-2'>{{py:xvm.formatDate('%A')}}<br><font size='15'>{{py:xvm.formatDate('%d %b %Y')}}</font></textformat></font>"
      }
    ]
  }

 

Share this post


Link to post

Short link
Share on other sites

@HEKPOMAHT И что с этим делать?

Скопировал текст, вставил, получились часы как были по умолчанию

 

 

 

shot_036.jpg

Edited by x_Shadow_x

Share this post


Link to post

Short link
Share on other sites
8 часов назад, x_Shadow_x сказал:

Скопировал текст, вставил, получились часы как были по умолчанию

  • удалить папки mods и res_mods со старыми модами (находятся примерно тут: C:\Games\World_of_Tanks)
  • установить только один мод XVM https://modxvm.com/ru/скачать-xvm/
  • widgetsTemplates.xc скопировать с заменой в \res_mods\configs\xvm\default

widgetsTemplates.xc

Share this post


Link to post

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...