Jump to content
Korean Random

Country flags


Recommended Posts

Yea I tried implementing this into the code. Since I have used the online XVM editor (how idiot i am..) I have every single setup in 1 file, which is @xvm.xc.. And copying all those into the different files... no thank you :D

 

Now for the sake of simplicity, I'm gonna copy in the code of the "large" and the "countryFlag" function that was meant to do the trick :). I don't know which icon refers to this language in this russian editor, but I have tried ;)

 

There is a syntax error hiding somewhere in there judging by the image I posted below, and I just cannot figure out where it is... I have been staring at it for an hour and just can't find it...

	"countryFlag": {
	  "alpha": "{{alive?70|30}}",
	  "x": -95,
	  "y": 6,
	  "bindToIcon": true,
	  "src": "xvmres/icons/lang/{{region|EU}}/{{language|default}}.png",
	  "enabled": true
	},
    "large": {
	  "nickFormatLeft": "<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></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,
          "extraFieldsLeft": [$("countryFlag")],
          "extraFieldsRight": [$("countryFlag")]
    },

'Error message I get when I load up a replay'

Edited by Shadow0013
Link to comment
Short link
Share on other sites

Hallo guys,

 

I am looking to solve the same problem with the right country flag in WoT.

 

I am from The Netherlands and every time the EU flags shows up in the start sceen.

 

How can i solve this problem, I am totally not technical and hope one of you will help me writing step by step to solve this problem. In which folder/file do i need to make changes ? etc.etc.

 

Thank you for your understanding and look forward you any of your reactions,

 

All the best,

 

Greetz,

 

VZ

Link to comment
Short link
Share on other sites

Hi,

 

seeing that I can not find my county flag and we are from Africa... would it be possible to add South Africa to the flags? We do have a lot of players and I am not from EU which I assume is the default it picks when the country can not be found...

 

Skande

Link to comment
Short link
Share on other sites

{{language}}    │ X │ X │ X │ X │ X │ player's client language

That would be my WOT client language and no PC setting?

 

Will I be able to adjust any file to get my flag?

As the flag is not there currently in the xvm (or im missig it) nobody else will see my country?

Link to comment
Short link
Share on other sites

Why do I get UK flag when I'm from Romania (Eastern Europe)? Not even close to UK, it's on the other side of the continent.

Flag is not an indicator of country. Flag is an indicator of client language. It does not depends on geography at all.

Edited by Uti-Puti
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...