bes1 Posted July 27, 2016 Share Posted July 27, 2016 (edited) Как теперь прописывать иконки клана в маркерах над танками? 'БЫЛО ТАК' "ally": {"actionMarker": { "alpha": 100, "visible": true, "x": 0, "y": -80 },"clanIcon": { "alpha": 100, "h": 15, "visible": true, "w": 15, "x": 0, "y": -70 },"contourIcon": { "alpha": 100, "amount": 0, "color": null, "visible": false, "x": 6, "y": -65 },"damageText": {"alpha": 100,"blowupMessage": "{{l10n:blownUp}}\n{{dmg}}","color": null,"damageMessage": "{{dmg}} ","font": { "align": "center", "bold":false, "italic": false, "name": "Verdana Полужирный Курсив", "size": 17 },"maxRange": 200,"shadow": { "alpha": 100, "angle": 90, "color": "0x000000", "distance": 0, "size": 2, "strength": 800 },"speed": 2,"visible": true,"x": 0,"y": -67}, Edited July 27, 2016 by _bes_1 @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted July 27, 2016 Share Posted July 27, 2016 Как теперь прописывать иконки клана в маркерах над танками с помощью макроса {{clanicon}} и текстового поля (можно добавить в существующее или дописать новое) @ Quote Link to comment Short link Share on other sites More sharing options...
bes1 Posted July 27, 2016 Author Share Posted July 27, 2016 наподобия этого что-ли "clanIcon": { "enabled": true, "x": 0, "y": -80, "width": 15, "height": 15, "alpha": 90, "bindToIcon": true, "src": "{{clanicon}}","format": "<img src='{{clanicon}}' width='16' height='16'>" }, @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted July 27, 2016 Share Posted July 27, 2016 наподобия типа да. Только "src" и "format" нельзя использовать одновременно: либо так либо этак, смотри примеры использования в "battleLoading" и "playersPanel". @ Quote Link to comment Short link Share on other sites More sharing options...
bes1 Posted July 27, 2016 Author Share Posted July 27, 2016 типа да. Только "src" и "format" нельзя использовать одновременно: либо так либо этак, смотри примеры использования в "battleLoading" и "playersPanel". Спасибо большое всё понел .Блин точно- это же одно и тоже . @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted July 27, 2016 Share Posted July 27, 2016 @_bes_1, формат текстовых полей в маркерах сильно изменился . { "name": "Clan Icon", "enabled": true, "x": XX, "y": XX, "alpha": 100, "textFormat": { "font": "$FieldFont", "size": 15, "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}}" }, вроде вот так, это в общем виде @ Quote Link to comment Short link Share on other sites More sharing options...
bes1 Posted July 27, 2016 Author Share Posted July 27, 2016 @_bes_1, формат текстовых полей в маркерах сильно изменился . { "name": "Clan Icon", "enabled": true, "x": XX, "y": XX, "alpha": 100, "textFormat": { "font": "$FieldFont", "size": 15, "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}}" }, вроде вот так, это в общем виде Да я прочитал ChangeLog-ru изменения и вроде всё переделал щас запускать буду Маркеры над танками надо переписать и уши в остальном всё норм @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.