Gorkde 2 #390992 Posted May 17, 2017 (edited) Yes HP-Bars and doesn't work for me for some reason..... So if you say it should work, can you find something I did wrong? I can't find the problem. Edited May 17, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #390994 Posted May 17, 2017 I used the files in his zip from post #15 and could see the HP bars change color based on {{c:hp-ratio}}. See the squares D8-D0 in this screenshot. Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #390997 Posted May 17, 2017 (edited) But why are all full HP White then? Do I need to specify that seperately? Also another problem: As on your Screenshoot top left (same in my config, not dependent on the coloring I use). Any vehicle not in Drawing Range has bigger bars. Any Idea why or how to change that? Edited May 17, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
konrad509 445 #390999 Posted May 17, 2017 Ok need to check that but why are all full HP White then? Do I need to specify that seperately? In colors.xc look at def->colorHP and colors->hp_ratio. Any vehicle not in Drawing Range has bigger bars. Any Idea why or how to change that? format": "<font face='dynamic2' size='12' color='{{c:hp-ratio}}'>{{hp-ratio%.234a|æ}}</font>", Delete æ Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #391003 Posted May 17, 2017 My {{c:hp-ratio}} only has 3 colors/stages - white, then yellow, then red. You can edit the colors, and number of stages, in colors.xc. Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391035 Posted May 18, 2017 (edited) In colors.xc look at def->colorHP and colors->hp_ratio. format": "<font face='dynamic2' size='12' color='{{c:hp-ratio}}'>{{hp-ratio%.234a|æ}}</font>", Delete æ 1. Will have a look 2. What does that do? I assumed its the code for the ASCII char EDIT: "colorHP": { "very_low": "0xFF0000", // very low / очень низкий "low": "0xDD4444", // low / низкий "average": "0xFFCC22", // average / средний "above_average": "0xFCFCFC" // above-average / выше среднего "hp_ratio": [ { "value": 10, "color": ${"def.colorHP.very_low" } }, // Цвет для значений менее 10 проц { "value": 25, "color": ${"def.colorHP.low" } }, // Цвет для значений менее 25 проц { "value": 50, "color": ${"def.colorHP.average" } }, // Цвет для значений менее 50 проц { "value": 101, "color": ${"def.colorHP.above_average"} } // Цвет для остальных значений ], Hmmmm... 0xFCFCFC is nearly white. But why is it set that way? Does it change some other like Healthbar to not work anymore when I change it here? My {{c:hp-ratio}} only has 3 colors/stages - white, then yellow, then red. You can edit the colors, and number of stages, in colors.xc. In my health bar over top of the player it's green in the beginning, or is that some other color indicator? Edited May 18, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
konrad509 445 #391048 Posted May 18, 2017 (edited) 2. What does that do? I assumed its the code for the ASCII char This is the symbol that is displayed in case the macro doesn't return any value, but I don't know why Aslain (I took it from his config) used this code as there is no character with this code in the font. Hmmmm... 0xFCFCFC is nearly white. But why is it set that way? Because devs decided to set it that way? :) Does it change some other like Healthbar to not work anymore when I change it here? Unless you used the macro {{c:hp-ratio}} or {{c:hp}} somewhere else in the config, then no. Edited May 18, 2017 by konrad509 Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391054 Posted May 18, 2017 (edited) Unless you used the macro {{c:hp-ratio}} or {{c:hp}} somewhere else in the config, then no. No I didn't. Maybe it's used by default somewhere that's what I meant. I dont know the configs as good as you guys ;) Attached is the final result. I also tried with lighter pastel colors to make it differ more from the icons but then it was to hard to see at first glance. Also I tried using 5 colors but thoose also were to difficult to when looking just briefly. What do you think? I personally like it. Thanks to both of you for all the help! EDIT: Forgot the template file did upload the zip again! Minimap_ALL.zip Edited May 18, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #391108 Posted May 18, 2017 (edited) Just a final comment: you probably don't need both "nickSpotted" and "nickSpottedCompany" in your minimapLabelsAlt "nickSpottedCompany" applies to platoonmates, or to teammates in an organised battle with you -- the {{battletype}} macro only returns a value for organised battles (see texts.xc). The default behaviour is replace "nickSpotted" and expand on its application, which originally is only for platoonmates. However, your "nickSpotted" already has an expanded application because you changed its "flags". Edited May 18, 2017 by scyorkie Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391110 Posted May 18, 2017 I assumed that already but didn't know it for sure. Thanks. Did you try it? Do you like the result? Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #391114 Posted May 18, 2017 (edited) The biggest thing is that the hp bars don't work unless they are in both the standard and the alt minimap. I don't really need to see it by default - there's too much clutter. If the hp bar can work just by being in the alt minimap, then maybe I'll use it? I actually have XVM minimap labels disabled. I've only enabled it for one purpose previously - highlighting enemy TDs for MT-15 mission. This is how my XVM looks like right now. Edited May 18, 2017 by scyorkie Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391115 Posted May 18, 2017 (edited) The biggest thing is that the hp bars don't work unless they are in both the standard and the alt minimap. Didn't try since I wanted it always anyways but it should work with alt alone as well I think.... Just doesn't work in replays, test it in game. there's too much clutter. That's why I made it small. I didn't like the huge circles anybody uses. Edited May 18, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391771 Posted May 25, 2017 (edited) Got another problem: I made the Squad name show up in normal map and changed the positioning to what I need. Works fine! But when I use the attached Replay that I downloaded (Clanbattle or such) the Team players have the name overlayed under the tank type. I can't find the reason why it doesn't work in that case. Can you help me? 14956470423333_japan_J27_O_I_120_mannerheim_line.wotreplay Minimap.zip Edited May 25, 2017 by Gorkde Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #391780 Posted May 25, 2017 (edited) Your Y values for "vehicleSpotted" and "nickSpottedCompany" are both at -3 if it's not a squad mate, hence the overlap. Edited May 25, 2017 by scyorkie Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391804 Posted May 25, 2017 Thanks mate. Found the reason but it was another one ;) Anyway, problem solved after having a nap ;) Thanks! Quote Share this post Link to post Short link Share on other sites