Jump to content
Korean Random
jessie2000

Help editing files for "medium2" panels (in battle) to show wn8, number of battles and percentage of victories

Recommended Posts

Hi everyone

As the title says, i am asking for your help in editing files for  "medium2" panels (in battle)(second, counting from right to left, the one that shows only the names of the tanks),  to show wn8, number of battles and percentage of victories (next to name of tanks supplied by default panel ).

I need your help to what files should i look for and if you have the time, to point the section of the files that i should edit.

All this, of course, if what i want can be done.

You shoul keep in mind that i am new to this ( i have the only the desire not the knowledge too ), and be forgiven for any "naive" questions that i may have.

 

Thank you in advance.

Share this post


Link to post

Short link
Share on other sites

You can edit inside playersPanel.xc > "medium2": {
Inside PP on each panel (by default) you can use 3 sections to add text :"fragsFormatXXX", "nickFormatXXX" and "vehicleFormatXXX"
First make sure on medium2 "standardFields": to use is set to [ "frags", "nick", "vehicle" ],
Then  edit "nickFormatLeft": and "nickFormatRight": and add all stats inside them.
If you run out of space you can extend width of field "nickMaxWidth"

example: left: wn8-kilobattles-winrate, right: winrate-kilobattles-wn8

"nickFormatLeft":"<font face='mono'><font color='{{c:wn8}}'>{{wn8|--}}</font><font color='{{c:kb}}'>{{kb%2d~k|--k}}</font><font color='{{c:winrate}}'>{{winrate%2d~%|--%}}</font></font>"
"nickFormatRight":"<font face='mono'><font color='{{c:winrate}}'>{{winrate%2d~%|--%}}</font><font color='{{c:kb}}'>{{kb%2d~k|--k}}</font><font color='{{c:wn8}}'>{{wn8|--}}</font></font>"

 

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