SmartAG Posted January 9, 2015 Share Posted January 9, 2015 Помогите настроить прозрачность тени, чтобы она после смерти не отображалась. Вот так у меня прописываются ХП в ушах: "hitPoints": { "x": 220, "y": 0, "bindToIcon": false, "format": "<font color='{{c:hp-ratio}}' alpha='{{alive?#FF|#0}}'>{{hp}}</font>", // shadow (see below). // настройки тени (см. ниже). "shadow": {"enabled": true,"distance": 1, // (in pixels)"size": 2, "angle": 90, // (0.0 .. 360.0) "color": "0x000000", // "0xXXXXXX" "alpha": 100, // (0 .. 100) "blur": 1, // (0.0 .. 255.0) "strength": 10 // (0.0 .. 255.0)} }, Скрин: Файл настройки ушей целиком: playersPanel.xc @ Quote Link to comment Short link Share on other sites More sharing options...
Hawk1983x Posted January 9, 2015 Share Posted January 9, 2015 (edited) пробуйте так: "alpha": "{{alive?1|0}}" а вообще зачем использовать прозрачность текста и тени, если можно общую альфу задать? "alpha": "{{alive?100|50}}" попробуйте так: "hitPoints": { "x": 220, "y": 0, "bindToIcon": false, "alpha": "{{alive?100|50}}", "format": "<font color='{{c:hp-ratio}}'>{{hp}}</font>", // shadow (see below). // настройки тени (см. ниже). "shadow": {"enabled": true,"distance": 1, // (in pixels)"size": 2, "angle": 90, // (0.0 .. 360.0) "color": "0x000000", // "0xXXXXXX" "alpha": 100, // (0 .. 100) "blur": 1, // (0.0 .. 255.0) "strength": 10 // (0.0 .. 255.0)} }, Edited January 9, 2015 by Hawk1983x 1 @ Quote Link to comment Short link Share on other sites More sharing options...
SmartAG Posted January 9, 2015 Author Share Posted January 9, 2015 Спасибо, добрый человек. Проблема решена. @ 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.