Jump to content
Korean Random

Minimap issue and one Spotted Marker question


Recommended Posts

Two items:

 

First, an issue with displaying HP on the minimap. When using the circular indicator (using the hp-ratio%.335a macro), all displays correctly. However, when using either of the alternate bar indicators (234a or 436a), the HP indicators show correctly only when the tank in question is within (or has been within) the draw distance. Any tanks that are spotted outside of the draw distance display only the circular indicator until it comes within the draw distance, at which time it converts to the correct type.

 

See the screenshot below for an example:

 

shot_2138_zpseixgb5jb.jpg

 

Here is how my minimapLabelsTemplate.xc looks:

 

/** Bones' XVM Config - 20 November 2015
* Minimap labels - HP on Minimap
* ??????? ?? ?????????.
*/
{
// 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": "{{.minimap.labelsData.vtype.{{vtype-key}}}}",
"align": "center",
"valign": "center"
},
// ???????? ???????, ???????
"vehicleSpotted": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
"format": "{{vehicle}}",
"x": -2,
"y": 3
},
// ??? ??????, ???????
"nickSpotted": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "squadman", "spotted", "alive" ],
"format": "{{name%.7s~..}}",
"x": 4,
"y": -6
},
// ?? ???????, ???????
"hp-ratioSpotted" : {
"$ref": { "path":"def.defaultItem" },
"$ref": { "file": "minimapLabelsTemplates.xc", "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ],
"format": "{{hp-ratio%.436a|Ƴ}}",
"x": -8,
"y": -11
},
// ??? ???????, ?????????
"vtypeLost": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
"format": "{{.minimap.labelsData.vtype.{{vtype-key}}}}",
"align": "center",
"valign": "center"
},
// ???????? ???????, ?????????
"vehicleLost": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
"format": "{{ally?}}{{vehicle}}{{ally?}}",
"shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
"x": -2,
"y": 3
},
// ??? ??????, ?????????
"nickLost": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "squadman", "lost", "alive" ],
"format": "{{name%.7s~..}}",
"alpha": 70,
"x": 4,
"y": -6
},
// ?? ???????, ?????????
"hp-ratioLost" : {
"$ref": { "path":"def.defaultItem" },
"$ref": { "file": "minimapLabelsTemplates.xc", "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ],
"format": "{{hp-ratio%.436a|Ƴ}}",
"x": -8,
"y": -10
},
// ??? ???????, ???????
"vtypeDead": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "dead" ],
"format": "{{vtype-key}}",
//"shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
"align": "center",
"valign": "center",
"alpha": 0
},
// ???????? ???????, ???????
"vehicleDead": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "ally", "enemy", "squadman", "teamKiller", "dead" ],
"format": "{{vehicle}}",
//"shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
"alpha": 0,
"x": -2,
"y": 3
},
// ??? ??????, ???????
"nickDead": {
"$ref": { "path":"def.defaultItem" },
"flags": [ "squadman", "dead" ],
"format": "{{name%.7s~..}}",
//"shadow": { "$ref": { "path":"def.defaultItem.shadow" }, "strength": 3 },
"alpha": 0,
"x": 4,
"y": -6
}
}
}

 

 

Second, when placing the spotted tank indicator on the Statistic Form, is there any way to bind it to the tank icon like is possible on the Players Panel? Right now I have the marker displayed after the player name. The first screenshot below is how it looks now; the second is how I'd like it to display on the Statistic Form.

 

shot_2141_zpsoprxidwi.jpg
 

shot_2140_zpsajef7tfb.jpg

 

Thanks in advance!

Link to comment
Short link
Share on other sites

Hi, Bones.

My first thought was that there was no info on enemy vehicles until they entered draw area (and were spotted), and only then would the game take action for their marker... But i'm not at all convinced that this could be the case.

Anyway, it might be something in minimapLabels.xc... Or in some other config file. Could you attach the whole contents of your config folder?

As for the second point, i think you might want to use "formatRightVehicle" instead of "formatRightNick" in statisticForm.xc. ;-)

Link to comment
Short link
Share on other sites

Yes, sirmax, but theoretically that shouldn't prevent the "style" from applying. From what i understand (disclaimer: i may be wrong), the issue is that enemies "detected" via radio but outside of draw range show a circular HP marker around the tank type icon, while those inside draw range (and allies) have a linear marker below the icon...

Edited by C..
Link to comment
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...