Aslain Posted September 7, 2016 Share Posted September 7, 2016 (edited) I have a feeling that something has changed in 9.15.1 regarding damage taken on the OTM's HP bar. I would like the hp bar to show damage taken as green and red flash depending who is the victim (ally or enemy), I don't want it to show any other colors. Currently it's showing green, red, yellow and maybe other colors too (depending who is shooting). How to limit it all to green/red only? I played a bit with colors in code below, tried to replace null with {{c:system}} but I couldn't make it to work like prior to 9.15.1 "healthBar": { "enabled": true, // false - не отображать "x": -36, // положение по оси X "y": -34, // положение по оси Y "alpha": 100, // прозрачность (допускается использование динамической прозрачности, см. macros.txt) "color": null, // цвет основной (допускается использование динамического цвета, см. macros.txt) "lcolor": null, // цвет дополнительный (для градиента) "width": 70, // ширина полосы здоровья "height": 4, // высота полосы здоровья // Параметры подложки и рамки. "border": { "alpha": 45, // прозрачность "color": "0x000000", // цвет "size": 1 // размер рамки }, // Параметры оставшегося здоровья. "fill": { "alpha": 50 // прозрачность }, // Параметры анимации отнимаемого здоровья. "damage": { "alpha": 100, // прозрачность "color": null, // цвет "fade": 1 // время затухания в секундах } }, Edited September 7, 2016 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted September 7, 2016 Share Posted September 7, 2016 (edited) @Aslain, u can cheat typing color as {{c:dmg}} and changing colors in colors.xc But it's not primary method Edited September 7, 2016 by Tornado_Odan_Rot @ Quote Link to comment Short link Share on other sites More sharing options...
scyorkie Posted September 7, 2016 Share Posted September 7, 2016 Try changing the "damage" section under colors.xc? @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted September 8, 2016 Author Share Posted September 8, 2016 Try changing the "damage" section under colors.xc? Yeah but it will affect damage colors, and I want to see them as floating damage, just don't want it on the hp bar as "fill" after being hit. @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted September 8, 2016 Share Posted September 8, 2016 Changing the color to {{c:system}} seems to work for me. @ Quote Link to comment Short link Share on other sites More sharing options...
scyorkie Posted September 8, 2016 Share Posted September 8, 2016 Yeah but it will affect damage colors, and I want to see them as floating damage, just do not want it on the hp bar as "fill" after being hit. Oh, I see what you mean. My hp bars show reduction only in red and green. My markers configs contain the following: "healthBar": { "enabled": true, "x": -41, "y": -33, "width": 80, "height": 12, "alpha": 100, "color": null, "lcolor": null, "border": { "alpha": 30, "color": "0x000000", "size": 1 }, "fill": { "alpha": 30 }, "damage": { "alpha": 80, "color": null, "fade": 1 } }, Not sure if the bolded parts above are the determinative factors. @ 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.