Jump to content
Korean Random
HTTT_WoT

[9.13] jimbo's XVM config - help me how to allow national flags

Recommended Posts

Hello guys,

i have small problem, i dont have any idea which document i must change and what to change in them to allow those flags. i have it already activated and selected on modxvm.com but that didnt helped  me, i still cant see my flag and the others too. please guys tell me what i must type and where to type it :-) i'll be waiting for some help.

Thx HTTT

 

P.S. if you want, i can post here my config file

Share this post


Link to post

Short link
Share on other sites

I could find some macros being used in "formatLeftNick" and "formatRightNick", both in battleLoading.xc and in statisticForm.xc, that should display national flags. I guess they can be used in playersPanel too, though my config doesn't. The national flags are being displayed by this piece of code:

 

<img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13'>
Take care at one possible gotcha: There's a similar bit that can be in that same place, which shows as an orange or gray "x" indicator, based on the user's XVM status (i think you might've seen those already). The two image tags are different and independent, so you can have either of them, or both; in other words the {{xvm-user}} image can be replaced or left in there based on preference, it has no actual effect on the flags. You might want to keep them separated by at least a space, for clarity; and have their order changed between the left and right panels. The syntax for this second kind of image is:

 

<img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'>
Fwiw, attaching your config file(s) would help us try different possible solutions until we find one that works for your particular context, but it's your choice whether you want to dig in yourself and potentially learn hands-on, or just take a pre-made answer. ;-)
  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

Thank you so much man :-) ye i want to learn it, at least the basics about xvm, because i dont think that help from the others will be here always.. I'll try your advice and i will write if it works. once more thanks


OK it works :ok:  thanks again mate :-)

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

I could find some macros being used in "formatLeftNick" and "formatRightNick", both in battleLoading.xc and in statisticForm.xc, that should display national flags. I guess they can be used in playersPanel too, though my config doesn't. The national flags are being displayed by this piece of code:

 

<img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13'>
Take care at one possible gotcha: There's a similar bit that can be in that same place, which shows as an orange or gray "x" indicator, based on the user's XVM status (i think you might've seen those already). The two image tags are different and independent, so you can have either of them, or both; in other words the {{xvm-user}} image can be replaced or left in there based on preference, it has no actual effect on the flags. You might want to keep them separated by at least a space, for clarity; and have their order changed between the left and right panels. The syntax for this second kind of image is:

 

<img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'>
Fwiw, attaching your config file(s) would help us try different possible solutions until we find one that works for your particular context, but it's your choice whether you want to dig in yourself and potentially learn hands-on, or just take a pre-made answer. ;-)

 

 

They can definitely be used in the battleloading and both the side panels and the pop up players panels. Got my XVM set up so it only shows flags in battle loading and the popup, as it's personal curiosity but not important enough to clutter the sidebars, and yes, they work just fine there.

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