Jump to content
Korean Random
Sign in to follow this  
Timerlan

Как кланиконки в маркерах поставить?

Recommended Posts

В markersAliveNormal.xc добавил следующее - 
 

Цитата

    // Текстовое поле с иконкой клана.
    "clanIcon": {
     "name": "Clan Icon",
     "enabled": true,
     "x": 0,
     "y": -50,
     "alpha": 100,
     "textFormat": {
       "font": "$FieldFont",
       "size": 13,
       "color": "0xFCFCFC",
       "align": "center",
       "bold": false,
       "italic": false
     },
     "shadow": {
       "enabled": true,
       "distance": 0,
       "angle": 0,
       "color": "0x000000",
       "alpha": 100,
       "blur": 3,
       "strength": 2
     },
     "format": "{{clanicon}}"
    },

Но иконка в маркерах не отображается. Пожалуйста помогите. Мне нужно, чтобы личные иконки из папок World_of_Tanks\res_mods\mods\shared_resources\xvm\res\clanicons\RU\nick отображались у союзников и противников.

Edited by Timerlan

Share this post


Link to post

Short link
Share on other sites

@Timerlan а в секцию:

    // Block of text fields (extended format supported, see extra-field.txt).
    // Блок текстовых полей (поддерживается расширенный формат, см. extra-field.txt).
    "textFields": [
      ${ "def.tankName" },
      ${ "def.playerName" },
      ${ "def.tankHp" },
      ${ "def.rating" },
      ${ "def.xmqpEvent" }
    ]

не забыли добавить ссылку 

${ "def.clanIcon" }

?

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Да не ставил, ща проверю, благодарю очень!

 

9 минут назад, ktulho сказал:

@Timerlan а в секцию:


    // Block of text fields (extended format supported, see extra-field.txt).
    // Блок текстовых полей (поддерживается расширенный формат, см. extra-field.txt).
    "textFields": [
      ${ "def.tankName" },
      ${ "def.playerName" },
      ${ "def.tankHp" },
      ${ "def.rating" },
      ${ "def.xmqpEvent" }
    ]

не забыли добавить ссылку 


${ "def.clanIcon" }

?

Странно отображается текст "clanIcon" без самой иконки, можете глянуть сам конфиг? я рукожоп походу.

markersAliveNormal.xc

Share this post


Link to post

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

@Timerlan видимо вы с форума копировали секцию. У вас там непечатаемый символ. Проблема описана здесь.

Попробуйте markersAliveNormal.xc

Заменил конфиг, на ваш. Теперь вот так изображается, с путем к папке иконок...  :unsure:

1091568008_.PNG.943f0998b214abd671f41e4910b663cc.PNG

Share this post


Link to post

Short link
Share on other sites
2 минуты назад, Timerlan сказал:

Заменил конфиг, на ваш. Теперь вот так изображается, с путем к папке иконок...  :unsure:

1091568008_.PNG.943f0998b214abd671f41e4910b663cc.PNG

Тогда надо так:

"format": "<img src='{{clanicon}}' width='16' height='16'>"

Размер надо подобрать под ваши иконки.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
3 минуты назад, ktulho сказал:

Тогда надо так:


"format": "<img src='{{clanicon}}' width='16' height='16'>"

Размер надо подобрать под ваши иконки.

Помогло!!! рас рас рас!!! :smile: 
Огромнейшее спасибо!

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