Gregori 0 Posted July 3, 2016 (edited) Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным: Hit Log из сборки модов от ПроТанки. hitLog.xc Edited July 3, 2016 by Gregori Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #335365 Posted July 3, 2016 Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным: Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона. Quote Share this post Link to post Short link Share on other sites
Gregori 0 #335368 Posted July 3, 2016 Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона. Сгодиться только цвет общего урона красным. Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #335369 Posted July 3, 2016 "formatHeader": "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'>#{{n}}</font> <font color='#FFFFFF'>{{l10n:Total}}: </font><font color='#D00000'><b>{{dmg-total}}</b></font> <font color='#FFFFFF'>{{l10n:Last}}:</font> <font color='{{c:dmg-kind}}'><b>{{dmg}}</b></font> <font face='xvm' size='21'>{{dead=w?)|{{dead=x?(}}}}</font>", 1 Quote Share this post Link to post Short link Share on other sites
Gregori 0 #335379 Posted July 3, 2016 "formatHeader": "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'>#{{n}}</font> <font color='#FFFFFF'>{{l10n:Total}}: </font><font color='#D00000'><b>{{dmg-total}}</b></font> <font color='#FFFFFF'>{{l10n:Last}}:</font> <font color='{{c:dmg-kind}}'><b>{{dmg}}</b></font> <font face='xvm' size='21'>{{dead=w?)|{{dead=x?(}}}}</font>", Спасибо!!! Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337121 Posted July 17, 2016 а как сделать? раскрашивать в зависимости от нанесенного урона. Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337131 Posted July 18, 2016 а как сделать? раскрашивать в зависимости от нанесенного урона. С помощью макроса {{c:dmg-total}}. Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337139 Posted July 18, 2016 А КУДА ЕГО ВПИСЫВАТЬ НУЖНО ИМЕНО? Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337144 Posted July 18, 2016 , На примере из четвертого поста: </font><font color='#D00000'><b>{{dmg-total}}</b></font> замените на: </font><font color='{{c:dmg-total}}'><b>{{dmg-total}}</b></font> Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337146 Posted July 18, 2016 а у меня изначально такая строчка "formatHeader": "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'>#{{n}}</font> <font color='#FFFFFF'>{{l10n:Total}}: </font><b>{{dmg-total}}</b> <font color='#FFFFFF'>{{l10n:Last}}:</font> <font color='{{c:dmg-kind}}'><b>{{dmg}}</b></font> <font face='xvm' size='21'>{{dead=w?)|{{dead=x?(}}}}</font>", Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337148 Posted July 18, 2016 , замените: <b>{{dmg-total}}</b> на <font color='{{c:dmg-total}}'><b>{{dmg-total}}</b></font> Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337152 Posted July 18, 2016 вот такое должно быть? или нет Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337154 Posted July 18, 2016 , Попробуйте опустить Hitlog изменив y: // Y position (negative values - bind to bottom side of screen). // Позиция Y (отрицательные значения - привязать к нижней стороне экрана). "y": 3, Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337156 Posted July 18, 2016 у меня стоит 40 с 40 изменил на 3 получилось такое Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337157 Posted July 18, 2016 , значит синтаксическую ошибку допустили, прикрепите файл hitHog.xc Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337158 Posted July 18, 2016 вот hitLog.xc Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337161 Posted July 18, 2016 у меня стоит 40 , я имел ввиду, что 3 надо поменять на что-нибудь, 40 подойдет. Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337162 Posted July 18, 2016 так у меня и стояло 40 Quote Share this post Link to post Short link Share on other sites
ktulho 5,793 #337163 Posted July 18, 2016 У меня нормально работает, прикрепите xvm.log. так у меня и стояло 40 , я понял, просто на картинке у вас этого не видно. Quote Share this post Link to post Short link Share on other sites
Israel.com 150 #337164 Posted July 18, 2016 так что делать я не понял Quote Share this post Link to post Short link Share on other sites