Jump to content
Korean Random
CantChatImBannedUsePing

How to color alt minimap health circles with {{c:xwtr}}?

Recommended Posts

I tried adding this to minimapLabelsTemplates.xc

    "hpCircles": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
      "format": "<font face='dynamic' size='18' color='{{.minimap.labelsData.colors.dot.{{c:xwtr}}}}'>{{hp-ratio%.335a|&#x1B3;}}</font>",
      "x": -8.4,
      "y": -10.5
    },
    "hpCirclesLost": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "squadman", "enemy", "teamKiller", "lost", "alive" ],
      "format": "<font face='dynamic' size='18' color='{{.minimap.labelsData.colors.lostDot.{{c:xwtr}}}}'>{{hp-ratio%.335a|&#x1B3;}}</font>",
      "x": -8.4,
      "y": -10.5,
      "alpha": 75
    }

And this into minimapLabelsAlt.xc

      ${ "minimapLabelsTemplates.xc":"def.hpCircles" },
      ${ "minimapLabelsTemplates.xc":"def.hpCirclesLost" }

But it didn't seem to do anything.

 

Tips appreciated, thanks!

Share this post


Link to post

Short link
Share on other sites
6 hours ago, HEKPOMAHT said:

{{.minimap.labelsData.colors.dot.{{c:xwtr}}}} -> {{c:xwtr}}

 

 

Edit 3: Actually, it's working sometimes, but not others. I can't figure out why.

Edit 4: Ah... so if I press ALT, it shows health circles (with system color) on the mini-map. If I press CTRL it enlarges the mini-map temporarily and shows the health circles with WTR. Is there a way I can make it show colored health on ALT?

Edited by CantChatImBannedUsePing

Share this post


Link to post

Short link
Share on other sites
30.05.2023 в 00:07, CantChatImBannedUsePing сказал:

on ALT

так?

"hotKeyCode": 29, // 29 - KEY_LCONTROL, 56 - KEY_LALT 
"onHold": true,
"visibleOnHotKey": true,

----

    "hpCircles": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
      "hotKeyCode": 56, "onHold": true, "visibleOnHotKey": true,
      "format": "<font face='dynamic' size='18' color='{{c:xwtr}}'>{{hp-ratio%.335a|&#x1B3;}}</font>",
      "x": -8.4,
      "y": -10.5
    },
    "hpCirclesLost": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "squadman", "enemy", "teamKiller", "lost", "alive" ],
      "hotKeyCode": 56, "onHold": true, "visibleOnHotKey": true,
      "format": "<font face='dynamic' size='18' color='{{c:xwtr}}'>{{hp-ratio%.335a|&#x1B3;}}</font>",
      "x": -8.4,
      "y": -10.5,
      "alpha": 75
    }

 

Share this post


Link to post

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...