Tywin_Lanister Posted June 2, 2016 Share Posted June 2, 2016 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": " <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> ", "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> <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> <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": {} }, {} ] } 1 Quote Link to comment
Tywin_Lanister Posted June 2, 2016 Author Share Posted June 2, 2016 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> {{nick}} ", "formatRight": "{{nick}} <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": {} }, {} ] } Quote Link to comment
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.