Jump to content

Moving background shadow overlay


Recommended Posts

Posted

Hey all,

 

Thanks for all the help and the amazing mods. I have recently made some adjustments to the large players panel making the names full but now thet are outside the shadow overlay. I tried adjusting shodow but that does not seem to help does anyone have any ideas???

 

 

 

{
      "enabled": true,
      "standardFields": [ "frags", "nick", "vehicle" ],
      "removeSquadIcon": false,
      "vehicleIconXOffsetLeft": 0,
      "vehicleIconXOffsetRight": 0,
      "vehicleLevelXOffsetLeft": 0,
      "vehicleLevelXOffsetRight": 0,
      "vehicleLevelAlpha": 100,
      "fragsXOffsetLeft": 0,
      "fragsXOffsetRight": 0,
      "fragsWidth": 24,
      "fragsFormatLeft": "{{frags}}",
      "fragsFormatRight": "{{frags}}",
      "fragsShadowLeft": null,
      "fragsShadowRight": null,
      "nickXOffsetLeft": 0,
      "nickXOffsetRight": 0,
      "nickMinWidth": 38,
      "nickMaxWidth": 150,
      "nickFormatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{name%.25s~..}} {{clan}}</font></font> <font size='14'>",
      "nickFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'> {{name%.25s~..}} {{clan}}</font></font> <font size ='14'>",
      "nickShadowLeft": null,
      "nickShadowRight": null,
      "vehicleXOffsetLeft": 0,
      "vehicleXOffsetRight": 0,
      "vehicleWidth": 192,
      "vehicleFormatLeft": "<font face='Consolas' size='12'><font color='{{c:avglvl|#666666}}'>{{avglvl%d|-}}</font>  <font color='{{c:kb|#666666}}'>{{kb%2d~k|--k}}</font> <font color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> <font color='{{c:winrate|#666666}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font>",
      "vehicleFormatRight": "<font face='Consolas' size='12'><font color='{{c:avglvl|#666666}}' alpha='{{alive?#FF|#80}}'>{{avglvl%d|-}}</font>  <font color='{{c:kb|#666666}}' alpha='{{alive?#FF|#80}}'>{{kb%2d~k|--k}}</font> <font color='{{c:r|#666666}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> <font color='{{c:winrate|#666666}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font></font>",
      "vehicleShadowLeft": null,
      "vehicleShadowRight": null,
      "fixedPosition": false,
      "extraFieldsLeft": [
        //${"../playersPanel.xc": "def.clanIcon"},
        ${"../playersPanel.xc": "def.xvmUserMarker"},
        ${"../playersPanel.xc": "def.xmqpServiceMarker"},
        ${"../playersPanel.xc": "def.hpBarBg"},
        ${"../playersPanel.xc": "def.hpBar"},
        ${"../playersPanel.xc": "def.hp"},
          //{"x": 0, "y": 0, "bgColor": ${"../playersPanel.xc": "def.c1"}, "h": 24, "w": "{{hp-ratio:286}}", "alpha": "{{alive?20|0}}"},
          //2{"x": 0, "y": 0, "bgColor": "0xFFFFFF", "h": 24, "w": "{{hp-max:291}}", "alpha": "{{alive?20|0}}"},
          //2{"x": 0, "y": 0, "bgColor": ${"../playersPanel.xc": "def.c1"}, "h": 24, "w": "{{hp:291}}", "alpha": "{{alive?20|0}}"},
          //3{"x": 0, "y":  19 , "bgColor": "0xFFFFFF", "h":  5 , "w": "286", "alpha": "{{alive? 20|0}}"},
          //3{"x": 0, "y":  19 , "bgColor": ${"../playersPanel.xc": "def.c1"}, "h":  5 , "w": "{{hp-ratio:286}}", "alpha": "{{alive? 30|0}}"},
        {}
      ],
      "extraFieldsRight": [
        //${"../playersPanel.xc": "def.clanIcon"},
        ${"../playersPanel.xc": "def.xvmUserMarker"},
        ${"../playersPanel.xc": "def.enemySpottedMarker"},
        ${"../playersPanel.xc": "def.hpBarBg"},
        ${"../playersPanel.xc": "def.hpBar"},
        ${"../playersPanel.xc": "def.hp"},
          //{"x": 0, "y": 0, "bgColor": ${"../playersPanel.xc": "def.c2"}, "h": 24, "w": "{{hp-ratio:293}}", "alpha": "{{alive?30|0}}"},
          //2{"x": 0, "y": 0, "bgColor": "0xFFFFFF", "h": 24, "w": "{{hp-max:293}}", "alpha": "{{alive?20|0}}"},
          //2{"x": 0, "y": 0, "bgColor": ${"../playersPanel.xc": "def.c2"}, "h": 24, "w": "{{hp:293}}", "alpha": "{{alive?30|0}}"},
          //3{"x": 0, "y":  19 , "bgColor": "0xFFFFFF", "h":  5 , "w": "293", "alpha": "{{alive? 20|0}}"},
          //3{"x": 0, "y":  19 , "bgColor": ${"../playersPanel.xc": "def.c2"}, "h":  5 , "w": "{{hp-ratio:293}}", "alpha": "{{alive? 50|0}}"},
        {}
      ]
}

  • Moderator
Posted

Not sure about it.

 

You might be able to adjust the fragsWidth, and removes spaces here and there in the two vehicleFormatRight/Left sections.

  • Moderator
Posted

Max shouldn't matter, when it comes to that big blank space. And your kills is before the name, so that doesn't answer it either... hmm. :/

 

      "vehicleWidth": 192,
maybe?

Posted

That worked "vehicleWidth": 100, then brought both max and nick min to 110, and changed the nick offset to 0. Now I just need to make a copy of this before i accidentally erase it lol.

 

Thanks for your help

Nicks 2.JPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...

Important Information

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