Jump to content
Korean Random

FR0STY5STAR

User
  • Posts

    9
  • Joined

  • Last visited

Posts posted by FR0STY5STAR

  1. 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! :)

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

×
×
  • Create New...