Jump to content
Korean Random
Aslain

Missing icons on the new minimap?

Recommended Posts

This should be working but it's not, and I cannot find a reason, maybe someone can find something. Basicaly, I want to see HP circles when press ALT, but nothing is happening....when I press it.

 

 

hotkeys.xc

minimap.xc

minimapAlt.xc

minimapCircles.xc

minimapLabels.xc

minimapLabelsAlt.xc

minimapLabelsData.xc

minimapLabelsTemplates.xc

minimapLines.xc

minimapMapSize.xc

Share this post


Link to post

Short link
Share on other sites

This should be working but it's not, and I cannot find a reason, maybe someone can find something. Basicaly, I want to see HP circles when press ALT, but nothing is happening....when I press it.

From your hotkeys.xc:

"minimapAltMode": { "enabled": false, "keyCode": 56, "onHold": true },

Change "false" to "true".

Share this post


Link to post

Short link
Share on other sites

From your hotkeys.xc:

"minimapAltMode": { "enabled": false, "keyCode": 56, "onHold": true },

Change "false" to "true".

 

Ok that was too obvious ;) Well I brain farted I guess.

 

Since you are minimap guru, can you tell how to color player names by their rating value?

Share this post


Link to post

Short link
Share on other sites

 

 

Since you are minimap guru, can you tell how to color player names by their rating value?

example

<font color='{{c:r}}'>{{name}}</font> 

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

example

<font color='{{c:r}}'>{{name}}</font> 

 

That was my first idea too, but when I did it, everyone had white color....

 

minimapLabelsTemplatesAlt.xc

/**
* Minimap labels.
* Надписи на миникарте.
*/
{
  // Textfields for units on minimap.
  // Текстовые поля юнитов на миникарте.
  // TODO: documentation
  //  {
  //    Если не указаны "ally", "squadman", "player", "enemy", "teamKiller", то они не используются.
  //    Если не указаны "lost" и "spotted", то используются оба - и "lost", и "spotted".
  //    Если не указаны "alive", "dead", то используются оба - и "alive", и "dead".
  //    "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
  //    "format": "...",
  //    "shadow": { ... },
  //    "alpha": "...",
  //    "x": { ... },
  //    "y": { ... },
  //    "antiAliasType": "normal" // normal/advanced
  //  }
  // Definitions
  // Шаблоны
  "def": {
    // Формат поля по умолчанию
    "defaultItem": {
      "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
      "shadow": { "distance": 0, "angle": 45, "color": "0x000000", "alpha": 80, "blur": 2, "strength": 4 },
      "alpha": 100,
      "x": 0,
      "y": 0,
      "width": 100,
      "height": 40,
      "align": "left",
      "valign": "top",
      "antiAliasType": "normal",
      "bgColor": null,
      "borderColor": null
    },
    // Тип техники, видимый
    "vtypeSpotted": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
      "format": "<font size='13' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
      "align": "center",
      "valign": "center"
    },
    // Название техники, видимый
    "vehicleSpotted": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
      "format": "<font size='7' color='{{c:r}}'>{{nick}}</font>",
      "x": 2,
      "y": -1
    },
    // Ник игрока, видимый
    "nickSpotted": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "spotted", "alive" ],
      "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
      "x": 2,
      "y": -9
    },
    // Тип техники, пропавший
    "vtypeLost": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
      "format": "<font size='13' color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
      "align": "center",
      "valign": "center",
      "alpha": 75
    },
    // Название техники, пропавший
    "vehicleLost": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
      "format": "<font size='7' color='{{c:r}}'><i>{{nick}}</i></font>",
      "alpha": 85,
      "x": 2,
      "y": -1
    },
    // Ник игрока, пропавший
    "nickLost": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "squadman", "lost", "alive" ],
      "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
      "alpha": 85,
      "x": 2,
      "y": -9
    },
    // Тип техники, мертвый
    "vtypeDead": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "enemy", "squadman", "teamKiller", "dead" ],
      "format": "<font face='xvm' size='11' color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>",
      "shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
      "align": "center",
      "valign": "center",
      "alpha": 90
    },
    // Название техники, мертвый
    "vehicleDead": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "squadman", "dead" ],
      "format": "<font size='7' color='{{c:r}}'>{{nick}}</font>",
      "alpha": 85,
      "x": 2,
      "y": -1
    },
    // Ник игрока, мертвый
    "nickDead": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "squadman", "dead" ],
      "format": "<font size='7' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'><i>{{name%.7s~..}}</i></font>",
      "shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
      "x": 2,
      "y": -9
    },  
    "HealthPointsSpottedAlly": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "ally", "spotted", "alive" ],     
      "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
      "align": "center",
      "valign": "center",
   "x": 0.2,
      "y": 0.8
    },
    "HealthPointsSpottedEnemy": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "enemy", "spotted", "alive" ],
      "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a|æ}}</font>",
      "align": "center",
      "valign": "center",
   "x": 0.2,
      "y": 0.8
    },
    "HealthPointsSpottedSquadman": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "squadman", "spotted", "alive" ],
      "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
      "align": "center",
      "valign": "center",
   "x": 0.2,
      "y": 0.8
    },
    "HealthPointsSpottedTeamKiller": {
      "$ref": { "path":"def.defaultItem" },
      "flags": [ "teamKiller", "spotted", "alive" ],
      "format": "<font face='dynamic' size='{{vtype-key=HT?16|14}}' color='{{.minimap.labelsData.colors.dot.{{sys-color-key}}}}'>{{hp-ratio%.436a}}</font>",
      "align": "center",
      "valign": "center",
   "x": 0.2,
      "y": 0.8
    }
  }
}

 

minimapLabelsAlt.xc

/**
* Minimap labels.
* Надписи на миникарте.
*/
{
  // Textfields for units on minimap.
  // Текстовые поля юнитов на миникарте.
  // TODO: documentation
  //  {
  //    Если не указаны "ally", "squadman", "player", "enemy", "teamKiller", то они не используются.
  //    Если не указаны "lost" и "spotted", то используются оба - и "lost", и "spotted".
  //    Если не указаны "alive", "dead", то используются оба - и "alive", и "dead".
  //    "flags": [ "player", "ally", "squadman", "enemy", "teamKiller", "lost", "spotted", "alive", "dead" ],
  //    "format": "...",
  //    "shadow": { ... },
  //    "alpha": "...",
  //    "x": { ... },
  //    "y": { ... },
  //    "antiAliasType": "normal" // normal/advanced
  //  }
  "labels": {
    "enabled": true,
    // Format set
    // Набор форматов
    "formats": [
      ${ "minimapLabelsTemplatesAlt.xc":"def.vehicleSpotted" },
      //${ "minimapLabelsTemplatesAlt.xc":"def.nickSpotted" },
      ${ "minimapLabelsTemplatesAlt.xc":"def.vtypeLost" },
      ${ "minimapLabelsTemplatesAlt.xc":"def.vehicleLost" },
      //${ "minimapLabelsTemplatesAlt.xc":"def.nickLost" },
      ${ "minimapLabelsTemplatesAlt.xc":"def.vtypeDead" }
    ]
  }
}

 

 

LGXW4Vq.jpg

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

but when I did it, everyone had white color....

 

I'm OK

post-23395-0-16444200-1445960369_thumb.jpg

 

statistics enabled?

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Hi, i have the same problem as the OT (the initial problem - icons for lost enemies missing); This is really annoying, as the last known location is pehaps the most important feature... Using default XVM config.

Removing the old fonts did not solve it for me, unfortunately.

Any other options?

 

Ok, sorry, cleared the games local data, and made a clean install; Now it's fixed.

Edited by Refar

Share this post


Link to post

Short link
Share on other sites

Looks like i was missing the dynamic font. I got it from Aslan's site. Now it's working but it only shows full circles even if the hp is lower than 100%.

Maybe i need an updated font?

 

le:nvm, got it fixed.

Edited by bograd

Share this post


Link to post

Short link
Share on other sites

Looks like i was missing the dynamic font. I got it from Aslan's site. Now it's working but it only shows full circles even if the hp is lower than 100%.

Maybe i need an updated font?

 

le:nvm, got it fixed.

 

Would you share how to fix the hp not updating problem?

Share this post


Link to post

Short link
Share on other sites

Try "allowHpInPanelsAndMinimap": true in battle.xc

 

Found the problem from where you pointed, thank you  :ok:

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