Nekonome Posted August 13, 2016 Share Posted August 13, 2016 (edited) В ночной сборке добавили возможность смотреть ХП каждого игрока. playerspanel.xc // HP bar background. // Подложка индикатора HP. "hpBarBg": { "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true, "x": 76, "y": 6, "width": 72, "bindToIcon": true, "height": 14, "bgColor": "0x000000", "alpha": "{{alive?35|0}}" }, // HP bar. // Индикатор HP. "hpBar": { "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true, "x": 77, "y": 7, "bindToIcon": true, "width": "{{hp-ratio:70}}", "height": 12, "bgColor": "{{player?#FFDD33|{{c:system}}}}", "alpha": "{{alive?50|0}}" }, // Remaining HP. // Оставшиеся HP. "hp": { "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true, "x": 112, "y": 4, "bindToIcon": true, "align": "center", "alpha": "{{alive?100|0}}", "format": "<font face='$FieldFont' size='11' color='#D9D9D9' alpha='{{alive?{{ready?#FF|#80}}|#80}}'><b>{{alive?{{hp|{{l10n: }}}}|{{l10n:Destroyed}}}}</b></font>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 1, "distance": 0, "angle": 0 } и далее по разделам ушей применение макро. При включенном хитлоге в расширенной его редакции (с подробностями) он закрывается этой панелькой (по нажатию на alt появляется ХП) . battleLabelsTemplates.xc "hitlog": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED", "x": 350, "y": 40, "width": 500, "height": 1000, "textFormat": { "color": "0xF4EFE8", "size": 15 }, "format": "{{hitlog-header}}\n{{hitlog-body}}" // Format of the full hitlog (header and body) // Формат полного хит-лога (шапка и тело) // "format": "{{hitlog-header}}\n{{hitlog-body}}" }, как грамотно вписать скрывание хитлога при нажатии на alt? Edited August 13, 2016 by Nekonome @ Quote Link to comment Short link Share on other sites More sharing options...
Добро Posted August 13, 2016 Share Posted August 13, 2016 тут @ Quote Link to comment Short link Share on other sites More sharing options...
Nekonome Posted August 13, 2016 Author Share Posted August 13, 2016 Спасибо, разобрался, сделал наоборот и получилось. Теперь постоянно показывает заголовок хитлога. Без альта хитлог, по альту хитлог прячется, показывает ХП всех игроков. battleLabelsTemplates.xc battleLabels.xc playersPanel.xc @ Quote Link to comment Short link Share on other sites More sharing options...
Nekonome Posted August 13, 2016 Author Share Posted August 13, 2016 Жаль не получается привязать хитлог к иконкам по х-координате, чтобы он в один уровень был с ХП и при смене режима ушей тоже за ним двигался. @ 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.