Jump to content
Korean Random
Gregori

hitLog настройка цвета

Recommended Posts

Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным:

 

Hit Log из сборки модов от ПроТанки.

hitLog.xc

post-30145-0-95008200-1467540984_thumb.png

Edited by Gregori

Share this post


Link to post

Short link
Share on other sites

 

 

Ребята помогите настроить лог личного урона (Hit Log) как на скриншоте, а именно только цвет общего урона красным:

Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона.

Share this post


Link to post

Short link
Share on other sites

Только красным нужно? Есть возможность раскрашивать в зависимости от нанесенного урона.

Сгодиться только цвет общего урона красным.

Share this post


Link to post

Short link
Share on other sites

"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>",
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
    "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>",

Спасибо!!! :gawi:

Share this post


Link to post

Short link
Share on other sites

а как сделать? раскрашивать в зависимости от нанесенного урона.

Share this post


Link to post

Short link
Share on other sites

а как сделать? раскрашивать в зависимости от нанесенного урона.

С помощью макроса {{c:dmg-total}}.

Share this post


Link to post

Short link
Share on other sites

, На примере  из четвертого поста:

</font><font color='#D00000'><b>{{dmg-total}}</b></font>

замените на:

</font><font color='{{c:dmg-total}}'><b>{{dmg-total}}</b></font>

Share this post


Link to post

Short link
Share on other sites

а у меня изначально такая строчка

"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>",

Share this post


Link to post

Short link
Share on other sites

, замените:

<b>{{dmg-total}}</b>

на

<font color='{{c:dmg-total}}'><b>{{dmg-total}}</b></font>

Share this post


Link to post

Short link
Share on other sites

, Попробуйте опустить Hitlog изменив y:

    // Y position (negative values - bind to bottom side of screen).
    // Позиция Y (отрицательные значения - привязать к нижней стороне экрана).
    "y": 3, 

Share this post


Link to post

Short link
Share on other sites

, значит синтаксическую ошибку допустили, прикрепите файл hitHog.xc 

Share this post


Link to post

Short link
Share on other sites

 

 

у меня стоит 40
, я имел ввиду, что 3 надо поменять на что-нибудь, 40 подойдет.

Share this post


Link to post

Short link
Share on other sites

У меня нормально работает, прикрепите xvm.log.


 

 

так у меня и стояло 40
, я понял, просто на картинке у вас этого не видно. 

Share this post


Link to post

Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...