Gregori Posted July 3, 2016 Share Posted July 3, 2016 (edited) Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным: Hit Log из сборки модов от ПроТанки. hitLog.xc Edited July 3, 2016 by Gregori @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 3, 2016 Share Posted July 3, 2016 Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным: Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона. @ Quote Link to comment Short link Share on other sites More sharing options...
Gregori Posted July 3, 2016 Author Share Posted July 3, 2016 Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона. Сгодиться только цвет общего урона красным. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 3, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
Gregori Posted July 3, 2016 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 17, 2016 Share Posted July 17, 2016 а как сделать? раскрашивать в зависимости от нанесенного урона. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 а как сделать? раскрашивать в зависимости от нанесенного урона. С помощью макроса {{c:dmg-total}}. @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 А КУДА ЕГО ВПИСЫВАТЬ НУЖНО ИМЕНО? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 , замените: <b>{{dmg-total}}</b> на <font color='{{c:dmg-total}}'><b>{{dmg-total}}</b></font> @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 вот такое должно быть? или нет @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 , Попробуйте опустить Hitlog изменив y: // Y position (negative values - bind to bottom side of screen). // Позиция Y (отрицательные значения - привязать к нижней стороне экрана). "y": 3, @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 у меня стоит 40 с 40 изменил на 3 получилось такое @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 , значит синтаксическую ошибку допустили, прикрепите файл hitHog.xc @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 вот hitLog.xc @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 у меня стоит 40 , я имел ввиду, что 3 надо поменять на что-нибудь, 40 подойдет. @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 так у меня и стояло 40 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 18, 2016 Share Posted July 18, 2016 У меня нормально работает, прикрепите xvm.log. так у меня и стояло 40 , я понял, просто на картинке у вас этого не видно. @ Quote Link to comment Short link Share on other sites More sharing options...
Israel.com Posted July 18, 2016 Share Posted July 18, 2016 так что делать я не понял @ 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.