Jump to content
Korean Random
Sign in to follow this  
H4NI

Marks of exellence in carousel

Recommended Posts

I am using Jove modpack and my carousel looks like this:

bBtFIbD.jpg

 

I want to add marks of exellence percentage somewhere in the area. Here is what I tried with:

e1LndyT.jpg

 

Something is not correct in the line (94) i've added  because it completely deletes all other data from the carousel (it becomes standard 1 line with no numbers for win rate, damage, battle tier, etc). Can you tell me what needs to be changed to show wanted percentage?

Share this post


Link to post

Short link
Share on other sites

I am using Jove modpack and my carousel looks like this:

bBtFIbD.jpg

 

I want to add marks of exellence percentage somewhere in the area. Here is what I tried with:

e1LndyT.jpg

 

Something is not correct in the line (94) i've added  because it completely deletes all other data from the carousel (it becomes standard 1 line with no numbers for win rate, damage, battle tier, etc). Can you tell me what needs to be changed to show wanted percentage?

probably you have missed a comma somewhere or have extra comma.

please attach xvm.log and your config folder

Share this post


Link to post

Short link
Share on other sites

Hello, i am experiencing similar issue, but for me it shows the percentage of MoE, but it is not showing the right icon for the current MoE level (1,2,3).

"extraFields": [ 
        { "x": 3, "y": 35,
          "format": "<img src='cfg://Aslain/icons/mog{{v.marksOnGun|empty}}.png' width='14' height='17'>"
        },
        { "x": -1, "y": 11, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" } 
    ],

I am not sure but maybe the path of icons is wrong? I double checked and it's not the issue i think. Basicly i am using 2 cfgs, my main is called Bones and there is carousel cfg from Aslain so that is why i am using his code.

Maybe i should change the paths of icons and copy them to my own cfg folder?

Edited by FR0STY5STAR

Share this post


Link to post

Short link
Share on other sites

I just worked it out that if i use whole cfg of Aslain, the MoE icon is working corrent, but if i want to move the icons to my own config, even if it is the same - it just doesn't work, everything else except the icon is working, this is really odd for me because for the logic, if 1 thing doesn't work then why others are?

 

That's how the carousel looks like know

 

 

"extraFields": [ 
        { "x": 3, "y": 35, "format": "<img src='cfg://fr0styyy/icons/mog{{v.marksOnGun|empty}}.png' width='14' height='17'>" },
        { "x": -1, "y": 11, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" } 
    ],

 

Mastery badge is working and MoE isn't even if the icons are inside path res_mods\configs\xvm\fr0styyy\icons called mog1, mog2, mog3.

As i said before, they are working fine if i use WHOLE aslain cfg, that's why i don't understatnd that...


Alright i've found ther issue, fortunately!

The issue was inside the texts.xc file, the one from Aslain looks like

 

// Text for {{marksOnGun}}, {{v.marksOnGun}} macros.
    "marksOnGun": {
      "_0": "0",
      "_1": "1",
      "_2": "2",
      "_3": "3"
    },

And mine was

 

// Text for {{marksOnGun}}, {{v.marksOnGun}} macros.
    "marksOnGun": {
      "_0": "<img src='xvm://res/xfticons/marks0.png' width='32' height='10'>",
      "_1": "<img src='xvm://res/xfticons/marks1.png' width='32' height='10'>",
      "_2": "<img src='xvm://res/xfticons/marks2.png' width='32' height='10'>",
      "_3": "<img src='xvm://res/xfticons/marks3.png' width='32' height='10'>"
    },

 

Solved it out! :)

Edited by FR0STY5STAR

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...