Gorkde 2 Posted May 25, 2017 I want to see the names of my squad or clan players while playing a Team match or when we play as squad a random game. But ONLY of them not from random players in my team of a random game. Is there a way to change the config so it shows it that way? If I set the name to enable it will show up all player names on my side even random players. Any Idea? markers.xc markersAliveNormal.xc Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #391777 Posted May 25, 2017 (edited) So assume you want Tank Name (row 1) above Player Name (row 2):- get the Y coordinates for rows 1 and 2 - Y1 and Y2- your Tank Name definition needs conditional Y position - if squad, Y = Y1 - else, Y = Y2 - alpha is constant 100- your Player Name definition needs conditional alpha - if squad, alpha = 100 - else, alpha = 0 - Y positioning is constant, Y2This conditional stuff is the same as what you see in the minimap files. (If you want Player Name over Tank Name, then you simply give Player Name a conditional alpha macro.)As for the above also working for clanmates, IDK if {{clan=clanname?}} works?----- ----- -----Update 1: {{clan=clanname?}} does not work -- the macro cannot read / compare the name of the clan.The only way I know is to use {{clanicon?}} and make sure that only your clan has clan icons.To achieve this, go to your modxvm.com settings, and ensure that the "Top clans counted" slider at the bottom is at 0.Then set your own clanicons in \res_mods\mods\shared_resources\xvm\res\clanicons\[server]\clanIf you combine this with what I've posted above,your Tank Name Y-position macro will look like this: "y": "{{squad?-50|{{clanicon?-50|-36}}}}" andyour Player Name alpha macro will look like this: "alpha": "{{squad?100|{{clanicon?100|0}}}}"(values are from my own config) ----- ----- ----- Update 2: vlad's suggestion below to use {{my-clan}} should work. Accordingly, the macros using my method will be "y": "{{squad?-50|{{my-clan?-50|-36}}}}" and "alpha": "{{squad?100|{{my-clan?100|0}}}}" Edited May 25, 2017 by scyorkie Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #391785 Posted May 25, 2017 (edited) I want to see the names of my squad or clan players while playing a Team match or when we play as squad a random game try these: "format": "{{my-clan?{{name}}|{{squad?{{name}}|}}}}" or "format": "<font size='{{my-clan?13|{{squad?13|0}}}}'>{{name}}</font>" or as in default cfg: "format": "<font size='{{battletype?13|{{squad?13|0}}}}'>{{name}}</font>" Edited May 25, 2017 by vlad_cs_sr Quote Share this post Link to post Short link Share on other sites
Gorkde 2 #391806 Posted May 25, 2017 Thanks, that looks promising, will instantly try that! Quote Share this post Link to post Short link Share on other sites
konrad509 445 #393687 Posted June 4, 2017 {{clan=clanname?}} does not work -- the macro cannot read / compare the name of the clan. {{clan=[clanname]?}} or {{clannb=clanname?}} Quote Share this post Link to post Short link Share on other sites