Jump to content

XMQP on medium panel


Recommended Posts

Hi Aslain,

 

When i use large player panel i see the yellow XMQP tags tho on the medium #2 panel i don't, is there a way i (or even better :P you) can add them?

 

Here's a pic to explain, i use the first screen (can't use 3th because i don't need 2 times tank name ;) )

On the 2nd and 3th i can see XMQP but not on first.

 

xmqp.jpg

Edited by Dutchy_79
pic
Link to comment

Hi

 

Open PlayersPanel.xc with Notepad++. 

 

Scroll down to "Large" panel and you will find this  

lower down:

 

      "extraFieldsLeft": [
        // XMQP service marker (see above).
        // Маркер сервиса XMQP (см. выше).
        ${"xmqpServiceMarker"}
      ],

 

Copy and paste it to same spot in "Medium" panel. 

 

Im assuming Aslain uses this method.

Link to comment

TY, tho i can't find it, here's my file

 

{
  // Parameters of the Players Panels ("ears").

  "def": {
    "c1": "0x13C313",
    "c2": "0xFF0F0F"
  },  
  "xmqpService": { "x": 1, "y": 1, "w": 5, "h": 22, "bgColor": "{{alive?{{x-enabled?0xFFBB00|0x595959}}|0x595959}}", "borderColor": "0x000000", "alpha": "{{alive?100|50}}" },
  "playersPanel": {
    "alpha": 60,
    "clanIcon": { "alpha": 90, "h": 24, "show": true, "w": 24, "x": 88, "xr": 105, "y": 0, "yr": 0 },

















    "iconAlpha": 100,
    "large": {
      "removeSquadIcon": false,	
      "nickFormatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{name%.16s~..}} <font face='Consolas'><font size='10'>{{clan}}</font></font></font>",
      "nickFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'><font face='Consolas'><font size='10'>{{clan}}</font></font> {{name%.16s~..}}</font>",
      "vehicleFormatLeft": "<font face='Consolas' size='12'><font color='{{c:avglvl|#666666}}'>{{avglvl%d|-}}</font>  <font color='{{c:kb|#666666}}'>{{kb%2d~k|--k}}</font> <font color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> <font color='{{c:winrate|#666666}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font>  <font color='{{c:t-battles|#666666}}' alpha='{{alive?#FF|#80}}'>{{t-battles%4d|----}}</font> <font color='{{c:t-winrate|#666666}}'>{{t-winrate%2d~%|--%}}</font> <font color='{{c:tdv|#666666}}' alpha='{{alive?#FF|#80}}'>{{tdv%0.1f|---}}</font></font>",
      "vehicleFormatRight": "<font face='Consolas' size='12'><font color='{{c:avglvl|#666666}}' alpha='{{alive?#FF|#80}}'>{{avglvl%d|-}}</font>  <font color='{{c:kb|#666666}}' alpha='{{alive?#FF|#80}}'>{{kb%2d~k|--k}}</font> <font color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> <font color='{{c:winrate|#666666}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font>  <font color='{{c:t-battles|#666666}}' alpha='{{alive?#FF|#80}}'>{{t-battles%4d|----}}</font> <font color='{{c:t-winrate|#666666}}' alpha='{{alive?#FF|#80}}'>{{t-winrate%2d~%|--%}}</font> <font color='{{c:tdv|#666666}}' alpha='{{alive?#FF|#80}}'>{{tdv%0.1f|---}}</font></font>",
      "extraFieldsRight": [ { "x": 0, "y": 4, "align": "center", "valign": "top", "bindToIcon": "true", "format": "{{spotted}}   ", "alpha": "{{alive?100|0}}", "shadow": {} }, {} ],
      "width": 80
    },
    "medium": {
      "removeSquadIcon": false,	
      "formatLeft": "&nbsp;<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{name%.9s~..}}</font> <font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{clan}}</font>",
      "formatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{clan}}</font> <font color='{{c:r}}'alpha='{{alive?#F0|#80}}'>{{name%.9s~..}}</font>&nbsp;",
      "extraFieldsLeft": [
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "{{hp-ratio:100}}", "bgColor": "{{c:r|#FFFFFF}}", "alpha": "{{alive?75|0}}" },
      {}
    ],
      "extraFieldsRight": [
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "{{hp-ratio:100}}", "bgColor": "{{c:r|#FFFFFF}}", "alpha": "{{alive?75|0}}" },
      { "x": 0, "y": 4, "align": "center", "valign": "top", "bindToIcon": "true", "format": "{{spotted}}   ", "alpha": "{{alive?100|0}}", "shadow": {} },
      {}
    ],
      "width": 96
    },
    "medium2": {
      "removeSquadIcon": false,	
      "formatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "formatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",
      "extraFieldsRight": [ { "x": 0, "y": 4, "align": "center", "valign": "top", "bindToIcon": "true", "format": "{{spotted}}   ", "alpha": "{{alive?100|0}}", "shadow": {} }, {} ],
      "width": 65
    },
    "short": {
      "removeSquadIcon": false,	
      "enabled": true,
      "width": 0,
      "fragsFormatLeft": "{{frags}}",
      "fragsFormatRight": "{{frags}}",
      "extraFieldsLeft": [],
      "extraFieldsRight": [ { "x": 0, "y": 4, "align": "center", "valign": "top", "bindToIcon": "true", "format": "{{spotted}}   ", "alpha": "{{alive?100|0}}", "shadow": {} }, {} ]
    },
	"none": {
      "enabled": true,
      "layout": "vertical",
      "extraFields": {
        "leftPanel": { "x": 0, "y": 65, "width": 350, "height": 25, "formats": [] },
        "rightPanel": { "x": 0, "y": 65, "width": 350, "height": 25, "formats": [] }
      }
    },
    "removePanelsModeSwitcher": false,
    "removeSelectedBackground": false,
    "startMode": "medium",
    "altMode": null
  }
}

 

Link to comment

Hi

 

Ok, seems those HP-bars are interfering with XMQP. 

 

Test it by removing this part:

 

      "extraFieldsLeft": [
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "{{hp-ratio:100}}", "bgColor": "{{c:r|#FFFFFF}}", "alpha": "{{alive?75|0}}" },
      {}
    ],

Save the original PlayerPanel.xc

 

Link to comment

Ok

 

Im going to sleep now but incase you want to test more

try changing the above ("medium") to look like this: 

 

 "extraFieldsLeft": [
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 33, "y": 22, "valign": "center", "h": 3, "w": "{{hp-ratio:100}}", "bgColor": "{{c:r|#FFFFFF}}", "alpha": "{{alive?75|0}}" },
      { "x": 1, "y": 1, "w": 5, "h": 22, "bgColor": "{{alive?{{x-enabled?0xFFBB00|0x595959}}|0x595959}}", "borderColor": "0x000000", "alpha": "{{alive?100|50}}" },
      {}
    ],
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.