Jump to content
Korean Random

hp bar big fps drop since 6240


panteror

Recommended Posts

Hi,

 

I use nightly 6203.

I set hp bar in players panel to replace the old hitlog alternative, when i press L-ALT the health bar appears

 

here a screenshot of what it's look

 

post-29578-0-89692900-1470042173_thumb.jpg

 

and my configuration for playerspanel.xc

 

The problem is that some health bar stay grey even if players are ready to play. The example in the screen see a tank spotted with the lamp icon but the bar stay grey.

Is there a problem in my configuration or a problem with the ready state in xvm ?

 

"bgColor": "{{ready?{{squad?#FFB964|{{ally?#6FC605|#F30900}}}}|#CCCCCC}}"

 

Thank You

// HP BAR
  "hpbartext": {
    "enabled": true,
    "x": 150, "y": -1, "bindToIcon": true, "valign": "center", "align": "center", "alpha": "{{alive?100|0}}", "hotKeyCode": 56, "onHold": true,
    "format": "<font face='mono' size='13' color='{{FFFFFF}}'>{{hp}}/{{hp-max}}</font>",
    "shadow": {}
  },
  "hpbarbg": {
    "enabled": true,
    "x": 100, "y": 0, "bindToIcon": true, "valign": "center", "width": 100, "height": 22, "bgColor": "0", "alpha": "{{alive?35|0}}", "hotKeyCode": 56, "onHold": true,
"shadow": {}
  },
  "hpbarratiobg": {
    "enabled": true,
    "x": 100, "y": 0, "bindToIcon": true, "valign": "center", "width": "{{hp-ratio:100}}", "height": 22, "bgColor": "{{ready?{{squad?#FFB964|{{ally?#6FC605|#F30900}}}}|#CCCCCC}}", "alpha": "{{alive?70|0}}", "hotKeyCode": 56, "onHold": true,
"shadow": {}
  },

then for each extrafields

"extraFieldsLeft": [
        ${"clanIcon"},
        ${"xvmUserMarker"},
        // XMQP service marker (see above).
        // Маркер сервиса XMQP (см. выше).
        ${"xmqpServiceMarker"},
        ${"hpbarbg"},
        ${"hpbarratiobg"},
        ${"hpbartext"}
      ],
      // Set of formats for right panel (extended format supported, see above)
      // Набор форматов для правой панели (поддерживается расширенный формат, см. выше)
      "extraFieldsRight": [
        ${"clanIcon"},
        ${"xvmUserMarker"},
        // enemy spotted status marker (see above).
        // маркер статуса засвета противника (см. выше).
        ${"enemySpottedMarker"},
        ${"hpbarbg"},
        ${"hpbarratiobg"},
        ${"hpbartext"}
      ]
    },

playersPanel.xc

Edited by panteror
Link to comment
Short link
Share on other sites

Hi,

 

thanks for the fix but since today and 6240 test, i have big fps drop with the use of these hpbar. No fps drop before. It's not a computer or internet problem.

 

here screen 115 fps to 40 fps when i show the bar

 

post-29578-0-68036500-1470223490_thumb.jpg

post-29578-0-84525200-1470223495_thumb.jpg

Link to comment
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...