Jump to content
Korean Random
Sign in to follow this  
Scharfhobel

Индикатор общего HP команд

Recommended Posts

Не показывает Индикатор общего HP команд

хотя в конфиге прописано

C:\Games\World_of_Tanks\res_mods\configs\xvm\ProTanki\battleLabelsTemplates.xc

Цитата

   // Total hp indicator.
    // Индикатор общего HP команд.
    "totalHP": {
      "enabled": true,
      "updateEvent": "PY(ON_UPDATE_HP)",
      "x": 0,
      "y": 30,
      "screenHAlign": "center",
      "align": "center",
      "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 },
      "textFormat": { "font": "mono", "size": 18, "align": "center" },
      "format": "{{py:xvm.total_hp.text}}"
    },

Или может я не туда смотрю?

Как он должен выглядеть?

 

 

shot_398.jpg

Edited by Scharfhobel
  • Downvote 1

Share this post


Link to post

Short link
Share on other sites
9 минут назад, night_dragon_on сказал:

@Scharfhobel , режим боя какой? И логи не помешали бы.

режим обычный рандом, в логах чисто.

Сейчас поставлю на чисто хвм и проверю.

  • Downvote 1

Share this post


Link to post

Short link
Share on other sites
5 минут назад, night_dragon_on сказал:

@Scharfhobel , так же проверь подключена эта секция в "battleLabels.xc"

На чистом всё работает.

А где её подключать?

  • Downvote 1

Share this post


Link to post

Short link
Share on other sites
1 минуту назад, Scharfhobel сказал:

А где её подключать?

 

Файл "battleLabels.xc" в секции "formats" должна быть строка:

${ "battleLabelsTemplates.xc":"def.totalHP" },
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Три поля подрубил.

Цитата

      ${ "battleLabelsTemplates.xc":"def.totalHP" },
      ${ "battleLabelsTemplates.xc":"def.avgDamage" },
      ${ "battleLabelsTemplates.xc":"def.mainGun" },

Заработало!  Спасибо.

  • Downvote 1

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