Timerlan 3 Posted March 3, 2019 (edited) В 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 March 3, 2019 by Timerlan Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #452037 Posted March 3, 2019 @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" } ? 1 Quote Share this post Link to post Short link Share on other sites
Timerlan 3 #452038 Posted March 3, 2019 Да не ставил, ща проверю, благодарю очень! 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 Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #452039 Posted March 3, 2019 @Timerlan видимо вы с форума копировали секцию. У вас там непечатаемый символ. Проблема описана здесь. Попробуйте markersAliveNormal.xc 1 Quote Share this post Link to post Short link Share on other sites
Timerlan 3 #452041 Posted March 3, 2019 31 минуту назад, ktulho сказал: @Timerlan видимо вы с форума копировали секцию. У вас там непечатаемый символ. Проблема описана здесь. Попробуйте markersAliveNormal.xc Заменил конфиг, на ваш. Теперь вот так изображается, с путем к папке иконок... Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #452042 Posted March 3, 2019 2 минуты назад, Timerlan сказал: Заменил конфиг, на ваш. Теперь вот так изображается, с путем к папке иконок... Тогда надо так: "format": "<img src='{{clanicon}}' width='16' height='16'>" Размер надо подобрать под ваши иконки. 1 Quote Share this post Link to post Short link Share on other sites
Timerlan 3 #452045 Posted March 3, 2019 3 минуты назад, ktulho сказал: Тогда надо так: "format": "<img src='{{clanicon}}' width='16' height='16'>" Размер надо подобрать под ваши иконки. Помогло!!! рас рас рас!!! Огромнейшее спасибо! Quote Share this post Link to post Short link Share on other sites