Jump to content

Medium Player Panel w/ HP Bars #2


Recommended Posts

#zavar

 

Hi

 

Open playersPanel.xc and scroll down to "medium".

You will find these lines:

 

"extraFieldsLeft": [
{ "x": 71, "y": 5, "valign": "center", "w": 70, "h": 14, "bgColor": "0xffffff", "alpha": "{{alive?75|0}}" },
{ "x": 72, "y": 6, "valign": "center", "w": "{{hp-ratio:68}}", "h": 12, "bgColor": "0x149612", "alpha": "{{alive?100|0}}" },
{ "x": 93, "y": -1, "valign": "center", "format": "<font size='11'><b>{{hp%4.4s|-----}}</b></font>", "alpha": "{{alive?100|0}}", "shadow": {"alpha": 100, "angle": 90, "color": "0x000000", "distance": 0, "size": 2, "strength": 8} }
 
Try changing the "x" values (bigger).
Link to comment

Thanks for both tips Grandorf.  For the medium panel I'm using, I found the below to work best with my setup (note that you need to change both the "extraFieldsLeft" and "extraFieldsRight" to get the HP bars to position correctly for both your team and the enemy team.

 

"extraFieldsLeft": [
            { "x": 104, "y": 5, "valign": "center", "w": 70, "h": 14, "bgColor": "0xffffff", "alpha": "{{alive?75|0}}" },
            { "x": 105, "y": 6, "valign": "center", "w": "{{hp-ratio:68}}", "h": 12, "bgColor": "0x149612", "alpha": "{{alive?100|0}}" },
            { "x": 128, "y": -1, "valign": "center", "format": "<font size='11'><b>{{hp%4.4s|-----}}</b></font>", "alpha": "{{alive?100|0}}", "shadow": {"alpha": 100, "angle": 90, "color": "0x000000", "distance": 0, "size": 2, "strength": 8} }
            ],
        "extraFieldsRight": [
            { "x": 104, "y": 5, "valign": "center", "w": 70, "h": 14, "bgColor": "0xffffff", "alpha": "{{alive?75|0}}" },
            { "x": 105, "y": 6, "valign": "center", "w": "{{hp-ratio:68}}", "h": 12, "bgColor": "0xdc0f00", "alpha": "{{alive?100|0}}" },
            { "x": 128, "y": -1, "valign": "center", "format": "<font size='11'><b>{{hp%4.4s|-----}}</b></font>", "alpha": "{{alive?100|0}}", "shadow": {"alpha": 100, "angle": 90, "color": "0x000000", "distance": 0, "size": 2, "strength": 8} },

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.