Jump to content
Korean Random
Sign in to follow this  
zunguzen

Country flags

Recommended Posts

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?

post-29351-0-72323000-1419596090_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

 

 

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.

Share this post


Link to post

Short link
Share on other sites

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 by Borysek74

Share this post


Link to post

Short link
Share on other sites

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 by Bartman

Share this post


Link to post

Short link
Share on other sites

 

 

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.

Share this post


Link to post

Short link
Share on other sites

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.

Share this post


Link to post

Short link
Share on other sites

Share this post


Link to post

Short link
Share on other sites

could you delete the flag?

no we can't delete anything from WG database :-)

Share this post


Link to post

Short link
Share on other sites

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... ;-)

Share this post


Link to post

Short link
Share on other sites

Share this post


Link to post

Short link
Share on other sites

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.

Share this post


Link to post

Short link
Share on other sites

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 :gawi:

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

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.

sSmuakV.jpg

 

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 by Shadow0013

Share this post


Link to post

Short link
Share on other sites

Use extraFields instead, eg:

 

{ "x":-95, "y":6, "bindToIcon":true, "src":"xvmres://icons/lang/{{region}}/{{language}}.png", "alpha":"{{alive?70|30}}" },

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...