gryphen 0 Posted September 15, 2017 Hi Everybody, I created a thread at https://koreanrandom.com/forum/topic/41166-adding-xvm-country-language-flags-into-playerspanelxc/but it was pointed out to me that there was this English speaking section of the forum, so I will recreate the thread here. (If an Admin wants to remove the other that would be good) I am new to WoT, and enjoy using XVM, I have started using J1mB0's XVM config, which is nice and compact for me, but as I play on the ASIA server I'd like to add the Country/Nation Flags back into the playerspanel.xc for all the size panels.I would find it helpful to know where a person is from, actually the language they use, when someone wants to squad up, as a few times I have been in a squad and the person is speaking another language and we are unable to communicate effectively.Is anyone able to assist me?I have searched online for a couple of days, and I think I ma now more confused than I was before about it. playersPanel.xc I'd like to see the flags there all during gameplay, so Short, Medium, Medium2 and Large :) I currently can see the flags when I press TAB during the game. If anyone knows the script I need to add (and advise where to add it) to the PlayersPanel.xc that would be greatly appreciated. Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #404200 Posted September 15, 2017 (edited) The relevant macro is {{flag}} and there are flag icons in \res_mods\mods\shared_resources\xvm\res\icons\flags Example definition you can create in playersPanel.xc: "flagIcon": {"enabled": true, "bindToIcon": true,"x": 140, "y": 4, "align": "center","format": "<img src='xvm://res/icons/flags/{{flag}}.png'>","alpha": 90 }, If you want to use it to only highlight other players from your country, you can change "alpha" to: "alpha": "{{flag=SG?{{player?0|90}}|0}}" (SG = Singapore, where I'm from, and note that it must be capitalized) Edited September 15, 2017 by scyorkie 1 Quote Share this post Link to post Short link Share on other sites
gryphen 0 #404201 Posted September 15, 2017 Thankyou Scyorkie :) to add this to playerspanel.xc I add it in the begining as a defintion and then reference it under each of the small/medium/medium2/large, is that correct? Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #404204 Posted September 15, 2017 Yup. Quote Share this post Link to post Short link Share on other sites
gryphen 0 #404211 Posted September 15, 2017 (edited) Okay I did as I believe you suggested, and included the scrip at lines 124-131 and then added ${"flagIcon"}, in left and right panels for each size. playersPanel.xc But they still don't show up, Disregard... it does work :) Awesome work Scyorkie, perfection :) Edited September 15, 2017 by gryphen Quote Share this post Link to post Short link Share on other sites