Jump to content
Korean Random

playersPanel.xc - vehicleIcons not lined up at start of battle


Recommended Posts

EDIT: Sorry I should've put this under: https://koreanrandom.com/forum/forum/81-xvm-configuration-questions/

 

Hello!

 

I've been working on creating my own XVM style and so far everything has been working out really well. But there is one thing that I noticed happens pretty consistently (at least one time a game). At the start of a match, when the countdown timer is happening, As you can see in the screenshot below, I am using the large panel, and a single contour icon (and accompanying prestige icon if present) is offset from all the others. This can happen to 1-4 icons every time a match starts and happens on both the enemy and friendly side of the panel. If I press ALT and release it, the icons move and line up with the rest. Does anyone know what would be causing this to happen? I've included my playersPanel.xc code below to look over. I'm wondering if there is something I'm missing in the code, or if this is just a bug with XVM. Thanks in advance!

 

 

image.thumb.webp.c7a0aec25a996ba5c873016a58ddd27c.webp

 

/**
 * Parameters of the Players Panels ("ears").
 * Параметры панелей игроков ("ушей").
 */
{
  // Definitions (extended format supported, see extra-field.txt).
  "def": {
    "enemySpottedMarker": {
      "enabled": true, "alpha": "{{a:spotted}}", "x": 88, "y": -2,
      "align": "center", "bindToIcon": true, "format": "<font color='{{c:spotted}}'>{{spotted}}</font>", "shadow": {}
    },
    "xmqpServiceMarker": {
      "enabled": true, "x": 88, "y": -2, "align": "center", "bindToIcon": true,
      "textFormat": { "font": "xvm", "size": 24 }, "format": "<font color='{{x-spotted?#FFBB00|#D9D9D9}}'>{{alive?{{x-enabled?&#x70;}}}}</font>", "shadow": {}
    },
    "clanIcon": {
      "enabled": true, "x": 65, "y": 6, "width": 16, "height": 16,
      "align": "center", "alpha": 90, "bindToIcon": true, "src": "{{clanicon}}"
    },
    "xvmUserMarker": {
      "enabled": false, "x": 10, "y": 5, "bindToIcon": true, "src": "xvm://res/icons/xvm/xvm-user-{{xvm-user|none}}.png"
    }
  },
  "playersPanel": {
    "enabled": true,
    "alpha": 80,
    "iconAlpha": 100,
    "removeSelectedBackground": false,
    "removePanelsModeSwitcher": false,
    "removeHealthPoints": false,
    "startMode": "large",
    "altMode": null,
    "none": {
      "enabled": true,
      "expandAreaWidth": 230,
      "layout": "vertical",
      "fixedPosition": false,
      "inviteIndicatorAlpha": 100,
      "inviteIndicatorX": 0,
      "inviteIndicatorY": 0,
      "extraFields": {
        "leftPanel": { "x": 0, "y": 65, "width": 350, "height": 25, "formats": [] },
        "rightPanel": { "x": 0, "y": 65, "width": 350, "height": 25, "formats": [] }
      }
    },
    "short": {
      "enabled": true,
      "standardFields": [ "frags", "prestige" ],
      "expandAreaWidth": 0,
      "removeSquadIcon": false,
      "squadIconAlpha": 100,
      "vehicleIconOffsetXLeft": 0, "vehicleIconOffsetXRight": 0,
      "vehicleLevelOffsetXLeft": 0, "vehicleLevelOffsetXRight": 0,
      "vehicleLevelAlpha": 100,
      "fragsOffsetXLeft": 0, "fragsOffsetXRight": 0,
      "fragsWidth": 24,
      "fragsFormatLeft": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "fragsFormatRight": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "rankBadgeOffsetXLeft": 0, "rankBadgeOffsetXRight": 0,
      "rankBadgeWidth": 24, "rankBadgeAlpha": "{{alive?100|70}}",
      "nickOffsetXLeft": 0, "nickOffsetXRight": 0,
      "nickMinWidth": 46, "nickMaxWidth": 100,
      "nickFormatLeft": "",
      "nickFormatRight": "",
      "nickShadowLeft": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "nickShadowRight": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "prestigeOffsetXLeft": 42, "prestigeOffsetXRight": 19,
      "vehicleOffsetXLeft": 0, "vehicleOffsetXRight": 0,
      "vehicleWidth": 72,
      "vehicleFormatLeft": "{{vehicle}}", "vehicleFormatRight": "{{vehicle}}",
      "vehicleShadowLeft": null, "vehicleShadowRight": null,
      "removeSpottedIndicator": true, "spottedIndicatorAlpha": 100,
      "spottedIndicatorOffsetX": 0, "spottedIndicatorOffsetY": 0,
      "fixedPosition": false,
      "extraFieldsLeft": [
        {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:86}}","alpha":"{{alive?25|0}}"},
        {}
      ],
      "extraFieldsRight": [
         {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:88}}","alpha":"{{alive?25|0}}"},
       ${"def.enemySpottedMarker"}
      ]
    },
    "medium": {
      "enabled": true,
      "standardFields": [ "frags", "nick", "prestige" ],
      "expandAreaWidth": 0,
      "removeSquadIcon": false, "squadIconAlpha": 100,
      "vehicleIconOffsetXLeft": 0, "vehicleIconOffsetXRight": 0,
      "vehicleLevelOffsetXLeft": 0, "vehicleLevelOffsetXRight": 0,
      "vehicleLevelAlpha": 100,
      "fragsOffsetXLeft": 0, "fragsOffsetXRight": 0, "fragsWidth": 24,
      "fragsFormatLeft": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "fragsFormatRight": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "rankBadgeOffsetXLeft": 0, "rankBadgeOffsetXRight": 0, "rankBadgeWidth": 24, "rankBadgeAlpha": "{{alive?100|70}}",
      "nickOffsetXLeft": 0, "nickOffsetXRight": 0, "nickMinWidth": 46, "nickMaxWidth": 158,
      "nickFormatLeft": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#80}}' color='{{c:xr}}'>{{name%.{{anonym?10|12}}s~..}}</font>{{anonym? <font face='xvm' size='19'>&#x11E;</font>}} <font face='$UniversCondC' size='14' alpha='{{alive?#FF|#80}}'>{{clan}}</font>",
      "nickFormatRight": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#80}}'>{{clan}}</font> <font face='$UniversCondC' size='14' alpha='{{alive?#FF|#80}}' color='{{c:xr}}''>{{name%.12s~..}}</font>",
      "nickShadowLeft": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "nickShadowRight": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "prestigeOffsetXLeft": 43, "prestigeOffsetXRight": 20,
      "vehicleOffsetXLeft": 0, "vehicleOffsetXRight": 0, "vehicleWidth": 72,
      "vehicleFormatLeft": "<font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "vehicleFormatRight": "<font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "vehicleShadowLeft": null, "vehicleShadowRight": null,
      "removeSpottedIndicator": true, "spottedIndicatorAlpha": 100,
      "spottedIndicatorOffsetX": 0, "spottedIndicatorOffsetY": 0,
      "fixedPosition": false,
      "extraFieldsLeft": [
        {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:193}}","alpha":"{{alive?25|0}}"},
        {}
      ],
      "extraFieldsRight": [
         {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:192}}","alpha":"{{alive?25|0}}"},
       ${"def.enemySpottedMarker"}
      ]
    },
    "medium2": {
      "enabled": false,
      "standardFields": [ "frags", "vehicle", "prestige" ],
      "expandAreaWidth": 0,
      "removeSquadIcon": false,
      "squadIconAlpha": 100,
      "vehicleIconOffsetXLeft": 0,
      "vehicleIconOffsetXRight": 0,
      "vehicleLevelOffsetXLeft": 0,
      "vehicleLevelOffsetXRight": 0,
      "vehicleLevelAlpha": 100,
      "fragsOffsetXLeft": 0, "fragsOffsetXRight": 0, "fragsWidth": 24,
      "fragsFormatLeft": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "fragsFormatRight": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "rankBadgeOffsetXLeft": 0, "rankBadgeOffsetXRight": 0, "rankBadgeWidth": 24, "rankBadgeAlpha": "{{alive?100|70}}",
      "nickOffsetXLeft": 0, "nickOffsetXRight": 0, "nickMinWidth": 46, "nickMaxWidth": 158,
      "nickFormatLeft": "<font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{name%.{{anonym?10|12}}s~..}}{{anonym? <font face='xvm' size='19'>&#x11E;</font>}}</font> <font alpha='#A0'>{{clan}}</font>",
      "nickFormatRight": "<font alpha='#A0'>{{clan}}</font> <font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{name%.12s~..}}</font>",
      "nickShadowLeft": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "nickShadowRight": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "prestigeOffsetXLeft": 65, "prestigeOffsetXRight": 25,
      "vehicleOffsetXLeft": 0, "vehicleOffsetXRight": 0, "vehicleWidth": 72,
      "vehicleFormatLeft": "<font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "vehicleFormatRight": "<font color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "vehicleShadowLeft": null, "vehicleShadowRight": null,
      "removeSpottedIndicator": true, "spottedIndicatorAlpha": 100,
      "spottedIndicatorOffsetX": 0, "spottedIndicatorOffsetY": 0,
      "fixedPosition": false,
      "extraFieldsLeft": [
        {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:204}}","alpha":"{{alive?25|0}}"},
        {}
      ],
      "extraFieldsRight": [
         {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:188}}","alpha":"{{alive?25|0}}"},
       ${"def.enemySpottedMarker"}
      ]
    },
    "large": {
      "enabled": true,
      "standardFields": ["frags", "nick", "prestige"],
      "removeSquadIcon": false, "squadIconAlpha": 100,
      "vehicleIconOffsetXLeft": 113,
      "vehicleIconOffsetXRight": 102,
      "vehicleLevelOffsetXLeft": 0,
      "vehicleLevelOffsetXRight": 0,
      "vehicleLevelAlpha": 100,
      "fragsOffsetXLeft": 0,
      "fragsOffsetXRight": 0,
      "fragsWidth": 24,
      "fragsFormatLeft": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "fragsFormatRight": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>",
      "fragsShadowLeft":  {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "fragsShadowRight":  {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "rankBadgeOffsetXLeft": 0,
      "rankBadgeOffsetXRight": 0,
      "rankBadgeWidth": 24,
      "rankBadgeAlpha": "{{alive?100|70}}",
      "nickOffsetXLeft": 0,
      "nickOffsetXRight": 0,
      "nickMinWidth": 46,
      "nickMaxWidth": 142,
      "nickFormatLeft": "",
      "nickFormatRight": "",
      "nickShadowLeft": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "nickShadowRight": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 },
      "prestigeOffsetXLeft": 155,
      "prestigeOffsetXRight": 122,
      "vehicleOffsetXLeft": 0,
      "vehicleOffsetXRight": 0,
      "vehicleWidth": 72,
      "vehicleFormatLeft": "{{vehicle}}",
      "vehicleFormatRight": "{{vehicle}}",
      "vehicleShadowLeft": null,
      "vehicleShadowRight": null,
      "removeSpottedIndicator": true,
      "spottedIndicatorAlpha": 100,
      "spottedIndicatorOffsetX": 0,
      "spottedIndicatorOffsetY": 0,
      "fixedPosition": false,
      "extraFieldsLeft": [
        {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:244}}","alpha":"{{alive?25|0}}"},
        {"x": 77, "y": 4, "width": 130, "height": 20, "shadow": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 }, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?#FF|#80}}'><font color='#FFFFFF'>{{name%.{{xvm-stat?{{r_size>2?17|20}}|20}}s~..}}</font>{{anonym? <font face='xvm' size='13'>&#x11E;</font>}} <font face='$UniversCondC' size='10' color='#CCCCCC' alpha='{{alive?#FF|#80}}'>{{clan}}</font></font>"},
        {"x": 105, "y": 4, "width": 55, "height": 20, "align": "right", "shadow": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 }, "format": "<font face='$UniversCondC' size='{{xvm-stat?13|0}}' color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{r|{{r_size>2?----|--}}}}</font>"}
      ],
      "extraFieldsRight": [
         {"x":0,"y":1,"bgColor":"{{c:system}}","height":24,"width":"{{hp-ratio:235}}","alpha":"{{alive?25|0}}"},
       ${"def.enemySpottedMarker"},
         {"x": 77, "y": 4, "width": 130, "height": 20, "align": "right", "shadow": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 }, "format": "<font face='$UniversCondC' size='10' alpha='{{alive?#FF|#80}}'><font color='#CCCCCC' alpha='{{alive?#FF|#80}}'>{{clan}}</font> <font face='$UniversCondC' size='14' color='#FFFFFF'>{{name%.{{xvm-stat?{{r_size>2?17|20}}|20}}s~..}}</font></font>"},
         {"x": 105, "y": 4, "width": 55, "height": 20, "align": "left", "shadow": {"enabled": true, "distance": 1, "angle": 55, "color": "0x000000", "alpha": 100, "blur": 1, "strength": 1 }, "format": "<font face='$UniversCondC' size='{{xvm-stat?13|0}}' color='{{c:xr}}' alpha='{{alive?#FF|#80}}'>{{r|{{r_size>2?----|--}}}}</font>"}
      ]
    }
  }
}

 

Edited by RavenStryker
Link to comment
Short link
Share on other sites

5 hours ago, HEKPOMAHT said:

is there also an error with xvm default ?

 

attach replay for verification

It can be very random as to which icons are moving, and on one panel (large) they move in, on the other panel (medium1) they move out as shown in the screenshot below. Sometimes I can watch the same replay a few times and different icons move each time. Sometimes they randomly fix themselves if I don't do anything, other times they won't. I can guarantee they move back by pressing alt. I'll check if they do the same thing with the default XVM, but isn't the point of XVM to be able to edit it to your preference? And if editing it under the parameters that it was intended to do causes weird stuff to happen still a bug?

 

Large Panel

image.thumb.png.a8454d36960b2cc1507018461dfa6377.png

 

Medium Panel

image.thumb.png.0921edeb037c76b7e6a8725c8d9f5d9d.png

 

In this screenshot the large panel is going the opposite way and a person is missing altogether until I press ALT.

image.thumb.png.400a47dbe218e1357ef652886e2389e0.png

 

I've attached a video of the replay as well as the replay.

 

 

20251007_1756_uk-GB21_Cromwell_112_eiffel_tower_ctf.wotreplay

Edited by RavenStryker
Link to comment
Short link
Share on other sites

I believe I've pinpointed a specific issue that causes the contour icons in the playersPanel to become misaligned at the start of a battle.

 

As you can see in my initial post, I was trying to customize the playersPanel to include player stats (like the XVM rating {{r}} or WN8 {{wn8}}) directly within the nickFormat field. When I do this and rely on the standardFields array to automatically manage the layout, the vehicle icons for several players on both teams will be drawn in the wrong position at random, and often overlapping the player's name/healthbar.

 

The problem appears to be a timing issue. At the very start of the match, it seems the data for the stat macros ({{wn8}}, {{r_size}}, etc.) hasn't loaded yet. Because the nickFormat field doesn't have its final content, the standardFields layout gives it a width of zero. It then incorrectly places the next element in the layout (usually the vehicle icon) right after it. Interestingly, the panel corrects itself and all icons snap back to their proper positions as soon as a redraw is forced by pressing the ALT key or an in game event happens causing it to update.

 

How to reproduce:

- In playersPanel.xc, configure a panel mode to use standardFields

- Add a dynamic stat macro to the nickFormatLeft string like I have in my original panel posting above.

- Load into a battle. You will likely see one or more vehicle icons shifted to the left or right, overlapping where the name and stats should be.

 

I found a 100% reliable solution. The issue is fully resolved by removing the dynamic text fields (like nick) from the standardFields array and instead manually positioning all of them using the extraFields array. By giving each element a fixed x coordinate, the layout is no longer dependent on the calculated width of the text. This way, it doesn't matter if the stat data loads a fraction of a second late; the positions are already locked in place.

 

This doesn't seem to be a bug in the traditional sense, but rather a limitation that appears when combining the automatic standardFields layout with dynamic, data-heavy macros. The default XVM configs don't trigger this because they are simpler, but for users who want to create more data-rich custom panels, this can be a confusing problem to solve.

 

I hope this information is helpful.

 

--------------

 

Below is what my playersPanel now looks like after making the changes and it works 100% of the time now.

 

/**
 * Parameters of the Players Panels ("ears").
 * Cleaned up and optimized.
 */
{
  // Definitions (extended format supported, see extra-field.txt).
  "def": {
    "cleanShadow": { "enabled": true, "distance": 1, "angle": 55, "color": "#000000", "alpha": 100, "blur": 1, "strength": 1 },

    "enemySpottedMarker": {
      "enabled": true, "alpha": "{{a:spotted}}", "x": 90, "y": -2,
      "align": "center", "bindToIcon": true, "format": "<font color='{{c:spotted}}'>{{spotted}}</font>", "shadow": ${"def.cleanShadow"}
    },
    "xmqpServiceMarker": {
      "enabled": true, "x": 88, "y": -2, "align": "center", "bindToIcon": true,
      "textFormat": { "font": "xvm", "size": 24 }, "format": "<font color='{{x-spotted?#FFBB00|#D9D9D9}}'>{{alive?{{x-enabled?&#x70;}}}}</font>", "shadow": {}
    },
    "clanIcon": {
      "enabled": true, "x": 65, "y": 6, "width": 16, "height": 16,
      "align": "center", "alpha": 90, "bindToIcon": true, "src": "{{clanicon}}"
    },
    "xvmUserMarker": {
      "enabled": false, "x": 10, "y": 5, "bindToIcon": true, "src": "xvm://res/icons/xvm/xvm-user-{{xvm-user|none}}.png"
    }
  },
  "playersPanel": {
    "enabled": true,
    "alpha": 100,
    "iconAlpha": 100,
    "removeSelectedBackground": false,
    "removePanelsModeSwitcher": false,
    "removeHealthPoints": false,
    "startMode": "large",
    "altMode": null,
    "none": {
      "enabled": true,
      "expandAreaWidth": 0,
      "layout": "vertical",
      "fixedPosition": false,
      "extraFields": {
        "leftPanel": { "formats": [] },
        "rightPanel": { "formats": [] }
      }
    },
    "short": {
      "enabled": true,
	  "expandAreaWidth": 0,
      "standardFields": [],
      "vehicleIconOffsetXLeft": 40,
      "vehicleIconOffsetXRight": 38,
      "extraFieldsLeft": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:80}}", "alpha":"{{alive?33|0}}"},
        {"x": 30, "y": 4, "width": 30, "height": 20, "align": "left", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#80}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        {"x": 55, "y": 0, "width": 20, "height": 24, "align": "left", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='20' color='{{c:xr}}' alpha='{{alive?#E0|#50}}'></font>"}
      ],
      "extraFieldsRight": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:80}}", "alpha":"{{alive?33|0}}"},
        {"x": 55, "y": 0, "width": 20, "height": 24, "align": "right", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='20' color='{{c:xr}}' alpha='{{alive?#E0|#50}}'></font>"},
        {"x": 34, "y": 4, "width": 30, "height": 20, "align": "right", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#80}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        ${"def.enemySpottedMarker"}
      ]
    },
    "medium": {
      "enabled": true,
	  "expandAreaWidth": 0,
      "standardFields": [],
      "vehicleIconOffsetXLeft": 150,
      "vehicleIconOffsetXRight": 178,
      "extraFieldsLeft": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:190}}", "alpha":"{{alive?33|0}}"},
        {"x": 30, "y": 4, "width": 30, "height": 20, "align": "left", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        {"x": 50, "y": 4, "width": 130, "height": 20, "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' color='{{c:xr}}' alpha='{{alive?100|#50}}'>{{name%.15s~..}}</font> <font face='$UniversCondC' size='12' color='#CCCCCC' alpha='{{alive?100|#50}}'>{{clan}}</font>"}
      ],
      "extraFieldsRight": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:220}}", "alpha":"{{alive?33|0}}"},
        {"x": 34, "y": 4, "width": 30, "height": 20, "align": "right", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#50}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        {"x": 50, "y": 4, "width": 130, "height": 20, "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='12' color='#CCCCCC' alpha='{{alive?100|#50}}'>{{clan}}</font> <font face='$UniversCondC' size='14' color='{{c:xr}}' alpha='{{alive?100|#50}}'>{{name%.15s~..}}</font>{{anonym? <font face='xvm' size='13'>&#x11E;</font>}}"},
        ${"def.enemySpottedMarker"}
      ]
    },
    "medium2": {
      "enabled": false
    },
    "large": {
      "enabled": true,
	  "expandAreaWidth": 0,
      "standardFields": [],
      "vehicleIconOffsetXLeft": 180,
      "vehicleIconOffsetXRight": 178,
      "extraFieldsLeft": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:220}}", "alpha":"{{alive?33|0}}"},
        {"x": 30, "y": 4, "width": 30, "height": 20, "align": "left", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        {"x": 50, "y": 4, "width": 55, "height": 20, "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='{{xvm-stat?13|0}}' color='{{c:xr}}' alpha='{{alive?100|#50}}'>{{r|{{r_size>2?  ----|    --}}}}</font>"},
        {"x": 85, "y": 4, "width": 130, "height": 20, "shadow": ${"def.cleanShadow"}, "format": "{{anonym? <font face='xvm' size='13'>&#x11E;</font>}}<font face='$UniversCondC' size='14' alpha='{{alive?100|#50}}'><font color='#FFFFFF'>{{name%.15s~..}}</font> <font face='$UniversCondC' size='12' color='#CCCCCC' alpha='{{alive?100|#50}}'>{{clan}}</font></font>"}
      ],
      "extraFieldsRight": [
        {"x":0, "y":1, "bgColor":"{{c:system}}", "height":24, "width":"{{hp-ratio:220}}", "alpha":"{{alive?33|0}}"},
        {"x": 34, "y": 4, "width": 30, "height": 20, "align": "right", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='14' alpha='{{alive?100|#A0}}' color='#FFFFFF'><b>{{frags}}</b></font>"},
        {"x": 50, "y": 4, "width": 55, "height": 20, "align": "right", "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='{{xvm-stat?13|0}}' color='{{c:xr}}' alpha='{{alive?100|#50}}'>{{r|{{r_size>2?  ----|    --}}}}</font>"},
        {"x": 85, "y": 4, "width": 130, "height": 20, "shadow": ${"def.cleanShadow"}, "format": "<font face='$UniversCondC' size='12' color='#CCCCCC' alpha='{{alive?100|#50}}'>{{clan}}</font> <font face='$UniversCondC' size='14' alpha='{{alive?100|#50}}'><font color='#FFFFFF'>{{name%.15s~..}}</font>{{anonym? <font face='xvm' size='13'>&#x11E;</font>}}</font>"},
        ${"def.enemySpottedMarker"}
      ]
    }
  }
}

 

image.thumb.png.aad18e9830f2ee10fd821abad660ac76.png

 

image.thumb.png.904609e8e1093074303918542057b48e.png

 

image.thumb.png.deae94bb7beda659bff51f494dd3ea09.png

Edited by RavenStryker
Link to comment
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...