dede2larue 0 Posted November 20, 2015 (edited) Hi,I would like to animate the text on the minimap based on the percentage of life of the tank. before I did it like this: /** * Minimap labels. Basic HTML/CSS supported. */ { "labels": { "vehicleclassmacro": { "light": "<font face='XVMSymbol'>:</font>", "medium": "<font face='XVMSymbol'>;</font>", "heavy": "<font face='XVMSymbol'>?</font>", "td": "<font face='XVMSymbol'>.</font>", "spg": "<font face='XVMSymbol'>-</font>", "superh": "<font face='XVMSymbol'>J</font>" }, "units": { "revealedEnabled": true, "lostEnemyEnabled": true, "antiAliasType": "advanced", "format": { "ally": "<span class='mm_a'><font color='{{c:hp-ratio}}'>{{nick%.5s}}</font></span>", "teamkiller": "<span class='mm_t'>{{vehicle}}</span>", But now making as it does not work: "vehicleSpotted": { "$ref": { "path":"def.defaultItem" }, "flags": [ "ally", "enemy", "squadman", "teamKiller", "spotted", "alive" ], //"format": "<font size='8' color='{{.minimap.labelsData.colors.txt.{{sys-color-key}}}}'>{{vehicle}}</font>", "format": "<span class='mm_a'><font size='8' color='{{c:hp-ratio}}'>{{nick%.5s}}</font></span>", "x": 2, "y": -1 }, Thanks for your help Edited November 20, 2015 by dede2larue Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #299770 Posted November 20, 2015 @dede2larue, "format": "<font size='8' color='{{c:hp-ratio}}'>{{nick%.5s}}</font>", Quote Share this post Link to post Short link Share on other sites
dede2larue 0 #299775 Posted November 20, 2015 @dede2larue, "format": "<font size='8' color='{{c:hp-ratio}}'>{{nick%.5s}}</font>", Thx, but not work. But there are no value in hp-ratio ?? Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #299783 Posted November 20, 2015 (edited) @dede2larue, battle.xc: "allowHpInPanelsAndMinimap": true, Edited November 20, 2015 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
dede2larue 0 #299814 Posted November 20, 2015 @dede2larue, battle.xc: "allowHpInPanelsAndMinimap": true, Thx Quote Share this post Link to post Short link Share on other sites