Jump to content
Korean Random
Sign in to follow this  
Aslain

цвета фона

Recommended Posts

Привет,
 
Можете ли вы сказать мне, что макрос можно использовать для цвета что-то с командой цвета? Обычно цвет: color: Null было достаточно, но по некоторым причинам это не всегда работает так.

 

YmcQWSL.jpg

 

часть 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 by Aslain

Share this post


Link to post

Short link
Share on other sites

could write in English
I understand that you have not displayed number squad
"color": "0x000000" you, set null

Edited by XSerzHX

Share this post


Link to post

Short link
Share on other sites

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 by Aslain

Share this post


Link to post

Short link
Share on other sites

 

 

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 G
So in markers find this character and see what's up with color

Share this post


Link to post

Short link
Share on other sites

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

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