lastday Posted August 22, 2016 Share Posted August 22, 2016 с выходом новой сборки появился новый параметр в координатах.Помогите разобраться ,чтобы перенести хитлог в низ под уши. "hitlogHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", //"x": "{{pp.mode=0?5|{{py:math.sum({{pp.widthLeft}},50)}}}}", "x": "270", "y": "{{pp.mode=0?65|40}}", "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" @ Quote Link to comment Short link Share on other sites More sharing options...
vlad_cs_sr Posted August 22, 2016 Share Posted August 22, 2016 @lastday, просто подберите значения координат, как Вам нужно "hitlogHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", "x": 270, "y": 40, "screenVAlign": "bottom", // <- можно привязать к низу экрана "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" @ Quote Link to comment Short link Share on other sites More sharing options...
lastday Posted August 22, 2016 Author Share Posted August 22, 2016 (edited) @lastday, просто подберите значения координат, как Вам нужно "hitlogHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", "x": 270, "y": 40, "screenVAlign": "bottom", // <- можно привязать к низу экрана "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" Итог-хитлог урезан и надпись RECONINIT. то есть строка "x": "{{pp.mode=0?5|{{py:math.sum({{pp.widthLeft}},50)}}}}", вовсе не нужна? За что же она отвечала? Edited August 22, 2016 by lastday @ Quote Link to comment Short link Share on other sites More sharing options...
vlad_cs_sr Posted August 22, 2016 Share Posted August 22, 2016 (edited) то есть строка "x": "{{pp.mode=0?5|{{py:math.sum({{pp.widthLeft}},50)}}}}", вовсе не нужна? За что же она отвечала? за динамическую привязку хитлога к разным режимам и ширине ушей. Значения макросов можете почитать в macros_ru.txt Edited August 22, 2016 by vlad_cs_sr @ Quote Link to comment Short link Share on other sites More sharing options...
lastday Posted August 22, 2016 Author Share Posted August 22, 2016 за динамическую привязку хитлога к разным режимам и ширине ушей. Значения макросов можете почитать в macros_ru.txt 1.ну поменяв всё как вы сказали-пропал суммарный дамаг и надпись Попадание. 2.где можно найти файл macros_ru.txt ? @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 22, 2016 Share Posted August 22, 2016 (edited) 1. чем вы редактируете конфиг? 2. res_mods\mods\shared_resources\xvm\doc Edited August 22, 2016 by konrad509 @ Quote Link to comment Short link Share on other sites More sharing options...
vlad_cs_sr Posted August 22, 2016 Share Posted August 22, 2016 1.ну поменяв всё как вы сказали-пропал суммарный дамаг и надпись Попадание. а координаты меняли? 2.где можно найти файл macros_ru.txt ? в архиве мода. Или "поиск" по папке танков @ Quote Link to comment Short link Share on other sites More sharing options...
lastday Posted August 22, 2016 Author Share Posted August 22, 2016 (edited) а координаты меняли? в архиве мода. Или "поиск" по папке танков координаты и в хедер и в бади менял-по ним нет вопросов.Но с общим хитлогом и надписью беда БЫЛО(неудобно-хитлог наверху и залезает на широкие уши хотя компонента отличная): "hitlogHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", //"x": "{{pp.mode=0?5|{{py:math.sum({{pp.widthLeft}},50)}}}}", "x": "270", "y": "{{pp.mode=0?65|40}}", "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" }, "hitlogBody": { "enabled": true, //"hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": false, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", //"x": "{{pp.mode=0?5|{{py:math.sum({{pp.widthLeft}},50)}}}}", "x": "270", "y": "{{pp.mode=0?85|60}}", "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-body}}" }, СТАЛО(хитлог стал удобнее под левыми ушами,но): "hitlogHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", "x": 5, "y": 445, "width": 400, "height": 400, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" }, "hitlogBody": { "enabled": true, //"hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": false, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", "x": "5", "y": "445", "width": 400, "height": 400, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-body}}" по координатам стало всё как надо-но испортилась компонента: пропала иконка убитого танка,надпись и общий дамаг над раздельным. Edited August 22, 2016 by lastday @ Quote Link to comment Short link Share on other sites More sharing options...
vlad_cs_sr Posted August 22, 2016 Share Posted August 22, 2016 "hitlogBody": { .. "y": 465, .. по координатам стало всё как надо-но испортилась компонента: пропала иконка убитого танка,надпись и общий дамаг над раздельным. Может, история перекрывает заголовок? Увеличьте у координату на 20, например 1 @ 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.