Jump to content
Korean Random
Sign in to follow this  
voin749@yandex.ru

Как информацию о уроне вернуть обратно к панели танка?

Recommended Posts

@[email protected]  Открываете файл "battleLabelsTemplates.xc", находите блок "totalEfficiency", меняете параметры "х" и "у" на "x": 240 и "y": -2, а ниже добавляете новый параметр "screenVAlign": "bottom". Должно получиться так:

    // Panel with total player efficiency.
    // Панель с общей эффективностью игрока.
    "totalEfficiency": {
      "enabled": true,
      "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED",
      "x": 240,
      "y": -2,
      "screenVAlign": "bottom",
      "width": "{{py:xvm.isStuns?350|260}}",
      "height": 22,
      "textFormat": { "size": 16 },
      "format": "<textformat tabstops='[65,130,196,261]' leading='-2'><img src='xvm://res/icons/Efficiency/damage.png' vspace='-2'> <font color='{{py:xvm.totalDamage>0?{{py:xvm.totalDamageColor}}}}'>{{py:xvm.totalDamage}}</font><tab><img src='xvm://res/icons/Efficiency/assist.png' vspace='-2'> {{py:xvm.totalAssist}}<tab><img src='xvm://res/icons/Efficiency/reflect.png' vspace='-2'> {{py:xvm.totalBlocked}}<tab><img src='xvm://res/icons/Efficiency/discover.png' vspace='-2'> {{py:xvm.detection}}<tab><img src='xvm://res/icons/Efficiency/stun.png' vspace='-2'> {{py:xvm.totalStun}}</textformat>"
    },

 

Edited by Wild_RNB
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@[email protected] там готовые файлы battleLabelsTemplates.xc должны быть, если сам не знаешь как править конфиг. Просто полистать тему нужно.

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...