Jump to content

Players Panel Adjustments


Recommended Posts

Good Evening, 

 

So, I am trying to change a couple things ojn the players panel and need a little advice. 

 

I would like to use the "With HP Bars -thin bars colored by player rating" and add on to it  the XVM rating in front of the players name, similar to simple panel #1. I basically figured it out  by changing the below into the second one below I get most of the way there, but, the rating is still over the bar. I would like to move it to the left of the bar so that the font is full size and not half name /half bar. Problem is I am not sure which lines. I am thinking it is the x and y in the extra fields but not 100% sure. Thanks ahead of time. You guys here are great!!!

 

{
      "enabled": true,
      "width": 80,
      "removeSquadIcon": false,
      "vehicleLevelAlpha": 100,
      "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}}" },
     //${"../playersPanel.xc": "xmqpServiceMarker"},
     {}
      ],
      "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": {} },
      {}
      ]
}

 

 

 

 

Into this:

 

{
      "enabled": true,
      "width": 80,
      "removeSquadIcon": false,
      "vehicleLevelAlpha": 100,
      "formatLeft": "<font face='Lucida Console' size='12' color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> &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; <font face='Lucida Console' size='12' color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font>",
      "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}}" },
     //${"../playersPanel.xc": "xmqpServiceMarker"},
     {}
      ],
      "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": {} },
      {}
      ]
}

 

 

 

 

  • Upvote 1
Link to comment

think I have it actually now....

 

{
      "enabled": true,
      "width": 120,
      "removeSquadIcon": false,
      "vehicleLevelAlpha": 100,
      "formatLeft": "<font face='Lucida Console' size='12' color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> &nbsp; {{nick}} ",
      "formatRight": "{{nick}}&nbsp; <font face='Lucida Console' size='12' color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font>",
      "extraFieldsLeft": [
      { "x": 75, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 75, "y": 22, "valign": "center", "h": 3, "w": "{{hp-ratio:100}}", "bgColor": "{{c:r|#FFFFFF}}", "alpha": "{{alive?75|0}}" },
     //${"../playersPanel.xc": "xmqpServiceMarker"},
     {}
      ],
      "extraFieldsRight": [
      { "x": 75, "y": 22, "valign": "center", "h": 3, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" },
      { "x": 75, "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": {} },
      {}
      ]
}

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.