Jump to content
Korean Random
Sign in to follow this  
McMurphy

Помощь с hitlog

Recommended Posts

Здравствуйте!

Помогите, пожалуйста!

Никак не удается настроить хитлог.

Нужно так, как в прикрепленном файле. В новой версии не получается.

И такое впечатление, что не работает файл BattleLabelsTemplates - не меняется положение хитлога, не удается отключить суммарное хп команд (стоит "false", но в бою оно все равно показывается).

Заранее спасибо!

hitLog.xc

Edited by McMurphy

Share this post


Link to post

Short link
Share on other sites

Параметр "visible" везде меняется на "Enabled". Макрос {{n}} меняется на {{hitlog.n}}, {{dmg-total}} на {{hitlog.dmg-total}}, {{n-player}} на {{hitlog.n-player}}, {{dead}} на {{hitlog.dead}}. В параметрах тени переменная "size" меняется на "blur", а "strength" становится меньше в 100 раз. Секцию "HpLeft" выпиливаем совсем.

 

Итого получаем:

{
  "hitLog": {
    "enabled": true,
    "x": 200,
    "y": 1,
    "w": 500,
    "h": 1000,
    "lines": 8,
    "direction": "down",
    "groupHitsByPlayer": true,
    "insertOrder": "end",
    "deadMarker": "w",
    "blowupMarker": "x",
    "defaultHeader":  "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'>#0</font>",
    "formatHeader":  "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font size='13'>#{{hitlog.n}}</font> <font color='#FFFFFF'>{{l10n:Total}}: </font><b>{{hitlog.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>",
    "formatHistory": "<textformat leading='-4' tabstops='[20,50,90,190]'><font size='12'>\u00D7{{hitlog.n-player}}:</font><tab><font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| {{dmg-player}}<tab>|<font color='{{c:vtype}}'>{{vehicle}}</font> <font face='xvm' size='19' color='#FF0000'>{{hitlog.dead}}</font></textformat>",
    "shadow": {
      "alpha": 100,
      "color": "0x000000",
      "angle": 45,
      "distance": 0,
      "blur": 5,
      "strength": 1.5
    }
  }
}

hitLog.xc

Edited by Maver1ck

Share this post


Link to post

Short link
Share on other sites

Спасибо ответившим!

Как выяснилось, нужно было еще заменить xvm.xc После этого и BattleLabelsTemplates заработал нормально

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...