Aslain Posted January 22, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
seriych Posted January 22, 2015 Share Posted January 22, 2015 {{c:system}}? @ Quote Link to comment Short link Share on other sites More sharing options...
XSerzHX Posted January 22, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
Aslain Posted January 23, 2015 Author Share 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 Link to comment Short link Share on other sites More sharing options...
XSerzHX Posted January 23, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
Aslain Posted January 30, 2015 Author Share 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 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.