Aslain 403 Posted January 22, 2015 (edited) Привет, Можете ли вы сказать мне, что макрос можно использовать для цвета что-то с командой цвета? Обычно цвет: color: Null было достаточно, но по некоторым причинам это не всегда работает так. часть markersAliveNormal.xc: { "name": "squad", "visible": true, "x": -42, "y": -31, "alpha": 70, "color": null, "font": { "name": "XVMSymbol", "size": 24, "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 70, "color": "0x000000", "angle": 45, "strength": 0, "distance": 0, "size": 0 }, "format": "<font size='{{squad?0|24}}'><font size='0{{squad-num~sq}}'>F</font></font>" }, { "name": "squad number", "visible": true, "x": -42, "y": -26, "alpha": 100, "color": "0x000000", "font": { "name": "$FieldFont", "size": 13, "align": "center", "bold": true, "italic": false }, "shadow": { "alpha": 100, "color": "0x000000", "angle": 45, "strength": 0, "distance": 0, "size": 0 }, "format": "<font size='{{squad?0|12}}'><font size='0{{squad-num~sq}}'>{{squad-num}}</font></font>" }, Вы можете "color": null, видеть в коде? Вместо того, чтобы цвета команды (зеленый / красный обычно) я получаю черный. Использование последнюю версию 3969 Edited January 23, 2015 by Aslain Quote Share this post Link to post Short link Share on other sites
seriych 2,178 #245669 Posted January 22, 2015 {{c:system}}? Quote Share this post Link to post Short link Share on other sites
XSerzHX 580 #245671 Posted January 22, 2015 (edited) could write in EnglishI understand that you have not displayed number squad"color": "0x000000" you, set null Edited January 22, 2015 by XSerzHX Quote Share this post Link to post Short link Share on other sites
Aslain 403 #245800 Posted January 23, 2015 (edited) could write in English I understand that you have not displayed number squad "color": "0x000000" you, set null Better chances of reply if russian, but ok :) The problem is black background on squad icon, it was working fine, until recently it stopped, I didnt change this config for half a year, and now it's suddenly all black there. I want the squad icon background to be colored by ally/enemy, not be always black. I remember now old c:system macro but it's stopped to work for me long time ago, is it working now again? :) Edited January 23, 2015 by Aslain Quote Share this post Link to post Short link Share on other sites
XSerzHX 580 #245824 Posted January 23, 2015 is it working now again? :) Firstly from the fact that you posted does not have that that would be responsible for the background, and secondly for the background responds symbol GSo in markers find this character and see what's up with color Quote Share this post Link to post Short link Share on other sites
Aslain 403 #246893 Posted January 30, 2015 Well nevermind that anyway, got it fixed. However I was not responsible for this issue, looks like something has changed in XVM past the time and it stopped to work without reason. Cheers Quote Share this post Link to post Short link Share on other sites