Mydeath Posted September 6, 2025 Share Posted September 6, 2025 This panel goes where ever I go @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted September 6, 2025 Share Posted September 6, 2025 Тут предлагал макрос добавить. @ Quote Link to comment Short link Share on other sites More sharing options...
Mydeath Posted September 6, 2025 Author Share Posted September 6, 2025 @HEKPOMAHT Sorry but I don't know how to add macro @ Quote Link to comment Short link Share on other sites More sharing options...
Solution HEKPOMAHT Posted September 8, 2025 Solution Share Posted September 8, 2025 @Mydeath Только что, HEKPOMAHT сказал: Пока можно отключить: widgetsTemplates.xc // Statistics widget in hangar. // Виджет статистики в ангаре. "statistics": { "enabled": false, @ Quote Link to comment Short link Share on other sites More sharing options...
ChuckNorris Posted September 26, 2025 Share Posted September 26, 2025 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? /** * 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>" } ] } } @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.