Kapany3uk Posted August 8, 2016 Share Posted August 8, 2016 Некорректно ведет себя выравнивание в экстра-полях противника: судя по описанию в playersPanel.xc должно быть так * "align" - horizontal alignment ("left", "center", "right") * for left panel default value is "left" * for right panel default value is "right" и так было до этого патча. Сейчас при записи так // Фон полосы здоровья "hpBg": { "hotKeyCode": 56, "layer": "top", "x": 1, "y": 10, "alpha": "{{alive?50|0}}", "bgColor": "0x000000", "height": 14, "width": 72 }, // Динамическая полоса здоровья "hpBar": { "hotKeyCode": 56, "layer": "top", "x": 2, "y": 11, "alpha": "{{alive?45|0}}", "bgColor": "{{c:system}}", "height": 12, "width": "{{hp-ratio:70}}" }, и так // Оставшееся ХП "hp": { "hotKeyCode": 56, "layer": "top", "x": 10, "y": 8, "alpha": "{{alive?100|0}}", "width": 70, "shadow": { "blur": 4, "strength": 1 }, "format": "<font size='11'><b>{{hp|----}} /<font size='6'> </font>{{hp-ratio~%|----}}</b></font>" }, полоса с подложкой отображаются как им и положено (на 1 и 2 рх от правого края экрана, а вот текст в левой панели ведет себя так же адекватно :)), а в правой "уезжает" к центру экрана. @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted August 9, 2016 Share Posted August 9, 2016 Я прописывал сам выравнивание по левому краю. "mediumFieldsRight": { "enabled": true, "x": 28, "y": 0, "alpha": "{{alive?#FF|#80}}", "align": "right", "format": "<textformat leading='8' tabstops='[32]'><font size='13' face='Comic Sans MS'><font color='{{c:winrate}}'><b>{{name%-9.9s}}</b></font><font face='Consolas' color='{{topclan?#02C9B3|#FFCC66}}'>{{clan%-7.7s}}</font></font><tab><font face='mono' size='15' color='{{c:wn8}}'><b>{{wn8%4d|----}}</b></font></textformat>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 35, "blur": 3, "strength": 2.5 } }, Без него было так: Т.е. подтверждается. Только в экстраполях,в обычных все нормально. @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted August 12, 2016 Share Posted August 12, 2016 Вроде все нормально выравнивается. А вот с hp - действительно Исправил 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.