zunguzen Posted December 26, 2014 Share Posted December 26, 2014 Hello, How can i change the default EU flag on the Tab list/battle loading or whatever that thing is called, with my own country one, as i show in the picture? @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted December 26, 2014 Share Posted December 26, 2014 Country flags... my own country {{language}} - language macros, not country How can i change the default EU flag You can only wait while XVM server collect statistics. @ Quote Link to comment Short link Share on other sites More sharing options...
zunguzen Posted December 27, 2014 Author Share Posted December 27, 2014 Thanks, i understand. @ Quote Link to comment Short link Share on other sites More sharing options...
Borysek74 Posted December 27, 2014 Share Posted December 27, 2014 (edited) This option can not (should not) depend on the update statistics XVM. What about the players that do not use XVM? XVM should read the nationality (language) of the player's settings on the website WOT or language game client. I have updated data XVM, I set your language, but it still shows me the EU flag. Edit: 27.12.2014 g. 15:50 I updated my stats (3-4 time) and now I have correct flag. It is a pity that the correct flags have only players who use XVM (of course after the update statistics). Edited December 27, 2014 by Borysek74 @ Quote Link to comment Short link Share on other sites More sharing options...
Bartman Posted December 27, 2014 Share Posted December 27, 2014 (edited) What would be the variable to show these flags (i.e. the images) in the players panel? Edited December 27, 2014 by Bartman @ Quote Link to comment Short link Share on other sites More sharing options...
soulza Posted December 27, 2014 Share Posted December 27, 2014 @bartman "<img src='xvm://res/icons/lang/{{region|EU}}/{{language|default}}.png' width='16' height='13'> @ Quote Link to comment Short link Share on other sites More sharing options...
Bartman Posted December 28, 2014 Share Posted December 28, 2014 (edited) That did the trick, thanks! I've modified it to "<img src='xvm://res/icons/lang/{{region|EU}}/{{language|empty}}.png' width='16' height='13'> which reduces clutter (as a flag that only shows the server region seems a bit superfluous) :) Edited December 28, 2014 by Bartman @ Quote Link to comment Short link Share on other sites More sharing options...
sech_92 Posted December 28, 2014 Share Posted December 28, 2014 It is a pity that the correct flags have only players who use XVM You are wrong. The "flag" is collected in the same way as winrate and other stats. The are correct for each user, not only if he has XVM. But the "language" field is new to the XVM database, so it has to be collected first. In some weeks you will get the corret flags even for non-XVM-users. @ Quote Link to comment Short link Share on other sites More sharing options...
ramen Posted December 29, 2014 Share Posted December 29, 2014 Could you tell me how to delete my own country flag on the players panel? (=This means not to be seen by myself AND by other players also.) Right now, I can see only the PNG icons with the flags of each country in the xvm/res/icons/lang/EU file. @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted December 29, 2014 Share Posted December 29, 2014 This means not to be seen by myself AND by other players also. It's public info as other statistics. http://asia.wargaming.net/developers/api_explorer/wot/account/info/?application_id=demo&fields=client_language,nickname,logout_at,updated_at&account_id=2006152556&http_method=GET&run=1 @ Quote Link to comment Short link Share on other sites More sharing options...
ramen Posted December 29, 2014 Share Posted December 29, 2014 Public info, OK, but could you delete the flag? @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted December 29, 2014 Share Posted December 29, 2014 could you delete the flag?no we can't delete anything from WG database :-) @ Quote Link to comment Short link Share on other sites More sharing options...
necro1970 Posted December 31, 2014 Share Posted December 31, 2014 To begin with: very cool, a great new feature! But what Borysek74 wrote (country of WOT Website/profile would be better) - i can really Support that.The reason: all who have german language, have the german flag displayed.But a german, a swiss or an austrian (like me) - are very different.... country AND language.It would be like making CZ,BG,CS,HR,PL,SR,RU etc. all 1 "Country/Languageflag".Baltic. More or less all the same language. Or maybe not? ;-)I hope you know what i mean - similar is not the same.It's only a cosmetic thing, but i think it would make many AT/CH/DE Players more happy ;-) If that would be possible - that would be really cool.ps. Very often i am yelled at by Germans to be from Poland....they see an Austrian red-white-red Flag, with austrian City of "Salzburg" on the tank ingame - and mess it up with a polish flag. *facepalm*One of those reasons why i (and many others) are not so keen on that german flag... ;-) @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted December 31, 2014 Share Posted December 31, 2014 @necro1970, {{language}} - language macros, not country we can only use the data that WG API provides: http://eu.wargaming.net/developers/api_explorer/wot/account/info/?application_id=demo&fields=client_language,nickname,logout_at,updated_at&account_id=504296273&http_method=GET&run=1 @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted December 31, 2014 Share Posted December 31, 2014 We will discuss the option to override this language in the personal cabinet. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ricksbt Posted December 31, 2014 Share Posted December 31, 2014 We will discuss the option to override this language in the personal cabinet. You could also add an alternative set of 'flags' with just the code letters for the language rather than the flags. Flags imply Nationality, letters like RU, FR and EN imply something else, in this case Language. A more advanced version of this idea would be to have the colour of the 'letter-flag' background be different if it matches one of a set of languages noted in the XVM users config file (or personal cabinet). This way an XVM user could set the languages they spoke well enough to use in-game and have a quick way of identifying players who spoke those languages in game. Obviously the system should use any languages set by players who are XVM users over the client language settings. In fact, if you were going to go as far as the version suggested above you could allow XVM users to set Nationality as well as Language data in their configuration data (cabinet or file) and do something like lower the Alpha for Nationality flags derived from WoT data rather than XVM settings. Meanwhile, back in the 'real world', just adding an optional set of 'letter flags' would be reasonably quick and easy to implement. @ Quote Link to comment Short link Share on other sites More sharing options...
nixxxie Posted December 31, 2014 Share Posted December 31, 2014 I'm not sure, which way to propose currently... Needs more thinking. @ Quote Link to comment Short link Share on other sites More sharing options...
necro1970 Posted January 1, 2015 Share Posted January 1, 2015 Thx seriych, i can see the limitations from WG API, i just wanted to mention it. And: thank you all for your work and effort, xvm itself, the constant improvement. That for itself is more, then anyone could ask for. And is very much appreciated! Even if a lot of players see all the different mods, also xvm, as "normal".I, and i am sure many other players too, appreciate the work, the coding skills, and all the time spent creating something for the community.So - 2 thumbs up, and thank you very much 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Shadow0013 Posted January 3, 2015 Share Posted January 3, 2015 (edited) Hello guys, I would have multiple questions, but I'm gonna write the one which belongs to here, which is: How can I align the image horizontally to the middle? I have reached to the point where I managed to put it there, however if u take a closer look at it, you can see that the player names have climed upwards, so it's annoying mostly with the 15th player. I want the flag and name back aligned as it was originally, but most importantly, aligned with the tank name. Now I have bottom there, however doesn't really matter what I write there, same result. 'Here is the code I used to generate this' "large": {"nickFormatLeft": "<img src='xvm://res/icons/lang/{{region|EU}}/{{language|default}}.png' width='16' height='13' align='bottom'><font alpha='{{alive?#FF|#80}}'><font color='{{c:wn8}}'>{{nick%.19s~...}}</font></font>","nickFormatRight": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:wn8}}'>{{nick%.19s~...}}</font><img src='xvm://res/icons/lang/{{region|EU}}/{{language|default}}.png' width='16' height='13' align='bottom'></font>","vehicleFormatLeft": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:t-rating}}'>{{vehicle}}</font></font>","vehicleFormatRight": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:t-rating}}'>{{vehicle}}</font></font>","fragsFormatLeft": "{{frags}}","fragsFormatRight": "{{frags}}","width": 110}, Edited January 3, 2015 by Shadow0013 @ Quote Link to comment Short link Share on other sites More sharing options...
nixxxie Posted January 4, 2015 Share Posted January 4, 2015 Use extraFields instead, eg: { "x":-95, "y":6, "bindToIcon":true, "src":"xvmres://icons/lang/{{region}}/{{language}}.png", "alpha":"{{alive?70|30}}" }, @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.