Gorkde 2 Posted February 4, 2018 The vehicle name is greyed a bit if a player is offline or still loading. But it should be a bit more visible for me. So how do I change the alpha value (or give it a specific color like black) if someone of offline? Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #420213 Posted February 7, 2018 Noone? Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #420228 Posted February 7, 2018 @Gorkde , use macros: {{ready}} "alpha": "{{ready?100|50}}", "format": "<font color='{{ready?#cccccc|#dddddd}}'>...</font>", Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #420230 Posted February 7, 2018 (edited) Thanks very much! It works while Battle loads but it seems once a player was in game and is loosing connection in game then it doesn't show it. My goal was to see if players are online if they don't move in battle at some time. Do I have to set something other so it updates maybe? Or is this not possible? The UI normally greys it out once a player isn't online anymore right? Edited February 7, 2018 by Gorkde Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #420297 Posted February 8, 2018 (edited) Another Problem: I tried to make the minimap color black when ready? == false (which works) and remove the shadow of the vehicle name in that case (to make it better readable). But: 1) If I add the macro in the global definitions (see attachment) it works in the beginning but as soon as the player comes online only the color changes but the shadow is still missing. or 2) If I add it to te local definitions all shadows of all players are removed from the beginning. Seems like a bug to me. minimapLabelsTemplates.xc 20180207_2324_china-Ch14_T34_3_28_desert.wotreplay Edited February 8, 2018 by Gorkde Quote Share this post Link to post Short link Share on other sites
konrad509 445 #420337 Posted February 8, 2018 (edited) I don't have time to test it, but maybe try using this condition for alpha parameter instead of for enabled, like "alpha": "{{ready?80|0}}" Edited February 8, 2018 by konrad509 Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #420439 Posted February 8, 2018 Thanks, good idea! I by now did let the shadow on and choose a light grey instead black for the font. But someone from the XVM Team should be looking into this I'm pretty sure thats a bug in XVM. Can you pls, also give me some info on my other question? In the beginning of the game I see players that have not joined. But if someone disconnects in game (crash or similar) it seems not to show him offline. We tested that in a test game with my buddy purposedly pulling out his WIFI Stick so he lost connection. Even after a very long period of time (3-5 Minutes) he was still shown as online in game. Quote Share this post Link to post Short link Share on other sites