1Meshuggah Posted October 5, 2016 Share Posted October 5, 2016 (edited) Доброго времени суток. Столкнулся с проблемой отображения текущих ХП - не подхватывается динамический цвет. // Remaining HP. // Оставшиеся HP. "hp": { "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true, "bindToIcon": true, "alpha": "{{alive?100|0}}", "x": 40, "y": 9, "format": "<font face='mono' size='15' color='{{alive?{{c:hp}}|#CCCCCC}}' alpha='{{alive?#FF|#70}}'>{{alive?{{hp?{{hp|----}}|}}|}}</font>", "shadow": { "distance": 0, "angle": 45, "alpha": 70, "blur": 6, "strength": 3 } } }, В прошлом патче работало корректно, наверняка где-то ошибся при адаптации. Т.е. даже танки с полным хп отмечаются цветом как "very_low" из colors.xc, хотя должны быть "#CCCCCC". Edited October 5, 2016 by 1Meshuggah @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 5, 2016 Share Posted October 5, 2016 @1Meshuggah, вместо макроса {{c:hp}} используйте {{c:hp-ratio}}. @ Quote Link to comment Short link Share on other sites More sharing options...
1Meshuggah Posted October 5, 2016 Author Share Posted October 5, 2016 @1Meshuggah, вместо макроса {{c:hp}} используйте {{c:hp-ratio}}. Благодарю! @ 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.