Jump to content

brorjk

Regular Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by brorjk

  1. I figured it out by editing in the code of the "battleLabelsFragCorrelation.xc"-file. It is the original icons just moved so they fit with the new layout by WG:

    Spoiler


    
    {
      "def": {
        "fragCorBarEnemy": {
          "enabled": true,
          "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": false,
          "updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)",
          "x": 210,
          "y": 27,
          "width": 300,
          "height": 55,
          "screenHAlign": "center",
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 3, "strength": 2 },
          "textFormat": {"align": "left", "size": 16 },
          "format": "{{py:fcb.enemyVehicleAlive}}{{py:fcb.enemyVehicleDead}}"
        },
        "fragCorBarAlly": {
          "enabled": true,
          "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": false,
          "updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)",
          "x": 90,
          "y": 27,
          "width": 300,
          "height": 55,
          "screenHAlign": "center",
          "scaleX": -1,
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 3, "strength": 2 },
          "textFormat": {"align": "left", "size": 16 },
          "format": "{{py:fcb.allyVehicleAlive}}{{py:fcb.allyVehicleDead}}"
        },
        "fragCorBarEnemyAlt": {
          "enabled": true,
          "updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)",
          "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true,
          "x": 210,
          "y": 25,
          "width": 300,
          "height": 55,
          "screenHAlign": "center",
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 3, "strength": 2 },
          "textFormat": {"align": "left", "size": 14 },
          "format": "{{py:fcb.countEnemyAlive('HT')>0?{{py:fcb.countEnemyAlive('HT')}} <font face='xvm' color='#ff8080' size='21'>?</font>    |}}{{py:fcb.countEnemyAlive('MT')>0?{{py:fcb.countEnemyAlive('MT')}} <font face='xvm' color='#ffea80' size='21'>;</font>    |}}{{py:fcb.countEnemyAlive('LT')>0?{{py:fcb.countEnemyAlive('LT')}} <font face='xvm' color='#aaff80' size='21'>:</font>    |}}{{py:fcb.countEnemyAlive('TD')>0?{{py:fcb.countEnemyAlive('TD')}} <font face='xvm' color='#80aaff' size='21'>.</font>    |}}{{py:fcb.countEnemyAlive('SPG')>0?{{py:fcb.countEnemyAlive('SPG')}}  <font face='xvm' color='#bf80ff' size='21'>-</font>    |}}"
        },
        "fragCorBarAllyAlt": {
          "enabled": true,
          "updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)",
          "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true,
          "x": -210,
          "y": 25,
          "width": 300,
          "height": 55,
          "screenHAlign": "center",
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 3, "strength": 2 },
          "textFormat": {"align": "right", "size": 14 },
          "format": "{{py:fcb.countAllyAlive('SPG')>0?      <font face='xvm' color='#bf80ff' size='21'>-</font> {{py:fcb.countAllyAlive('SPG')}}|}}{{py:fcb.countAllyAlive('TD')>0?    <font face='xvm' color='#80aaff' size='21'>.</font> {{py:fcb.countAllyAlive('TD')}}|}}{{py:fcb.countAllyAlive('LT')>0?    <font face='xvm' color='#aaff80' size='21'>:</font> {{py:fcb.countAllyAlive('LT')}}|}}{{py:fcb.countAllyAlive('MT')>0?    <font face='xvm' color='#ffea80' size='21'>;</font> {{py:fcb.countAllyAlive('MT')}}|}}{{py:fcb.countAllyAlive('HT')>0?    <font face='xvm' color='#ff8080' size='21'>?</font> {{py:fcb.countAllyAlive('HT')}}|}}"
        }
      }
    }


     

    You can copy this into the file "battleLabelsFragCorrelation.xc"

     

  2. 20 hours ago, Aslain said:

    This mod was never intended to co-exist with any Team HP bar, but you can adjust its position by editing y values in battleLabelsFragCorrelation.xc

    Thank you 🙂 where do I find this file?

    I found the file, do I edit everywhere there is y: .... ?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.