Jump to content
Rainlords

HP Bar / Colored Icons / Alive Players

Recommended Posts

I will check it today.

Share this post


Link to post
Share on other sites

It appears that this option doesn't work Class colored icons, I have asked the script author about it.

Share this post


Link to post
Share on other sites

I think he is talking about teamHPpool score, it should be 15:15 instead of 0:0 right?
That's TeamHP issue not correlation bar?

Instead of {{py:sp.allyFrags}} and {{py:sp.enemyFrags}} should be {{py:sp.allyAlive}} and {{py:sp.enemyAlive}}.

Share this post


Link to post
Share on other sites

This combination (with PMOD) works

 

image.png.4d9f7ea49b6a75cf5c15173c1f9240e9.png

 

image.png.b16af193c8dedd68bdb393ffbbe97def.png

 

image.png.5e4b0bf8be40e161b3d64a38b8417af5.png

 

So i think i have to decide with option is more important for me.
A nice HP-Bar or a  "correct" way of counting ;-)

Share this post


Link to post
Share on other sites
17 minutes ago, Ress said:

I think he is talking about teamHPpool score, it should be 15:15 instead of 0:0 right?
That's TeamHP issue not correlation bar?

Instead of {{py:sp.allyFrags}} and {{py:sp.enemyFrags}} should be {{py:sp.allyAlive}} and {{py:sp.enemyAlive}}.

 

I will try that trick.

Share this post


Link to post
Share on other sites

@Aslain it will work since right now it's showing frags inside config #4 Straight.

	// фраги союзников
	"totalHP_frags_ally": { 
	  "enabled": true,
      "updateEvent": "PY(ON_UPDATE_HP)",
      "x": -20,
      "y": 0,
	  "width": 30,
      "height": 30,
      "screenHAlign": "center",
	  "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 },
      "textFormat": { "font": "$TitleFont", "size": 20, "align": "center" },
	  "format": "{{py:sp.allyFrags}}"
	},
	// фраги противников
	"totalHP_frags_enemy": { 
	  "$ref": { "path":"def.totalHP_frags_ally" },
      "x": 20,
      "format": "{{py:sp.enemyFrags}}"
	},

But you will probably have todo same for each HPpool config
with {{py:sp.allyFrags}}>{{py:sp.allyAlive}} and {{py:sp.allyFrags}}>{{py:sp.enemyAlive}} options.
12 options in total for each config frags or allive, yikes. :fearful:

Share this post


Link to post
Share on other sites

sed.exe should deal with this easily, I will add proper code to next modpack

  • Upvote 1

Share this post


Link to post
Share on other sites

It Works :-)

At the beginning there is a 0:0, but a few moments after starting the match it changes ;-)

image.png.7dd85e0e724ed1dfde6bbfefb7e15543.png

 

image.png.080017f1710a1137e7056bcc75fb7243.png

 

Thx!

 

 

Share this post


Link to post
Share on other sites

Sadly default state is 0:0 and "allive not frags" is "special case", you will have to deal with this delay until someone deals dmg (hp updates). :confused:
Since this macro updates on hp change PY(ON_UPDATE_HP), don't think much can be done about it without extra py macros.

Using constant refresh like PY(ON_EVERY_FRAME) or PY(ON_EVERY_SECOND) can reduce performance.
Maybe by adding PY(ON_BATTLE_STATE_CHANGED) to the mix might work, but need to be tested.

Share this post


Link to post
Share on other sites
Am 15.7.2019 um 00:28 schrieb Ress:

you will have to deal with this delay until someone deals dmg (hp updates).

BTW:
The counter changes after the first oponent tank is "scouted". So it is only a few seconds and further no problem ;-)

Share this post


Link to post
Share on other sites

"updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)" does the trick and will be included in next modpack update (prolly tomorrow)

Share this post


Link to post
Share on other sites
30 minutes ago, Aslain said:

"updateEvent": "PY(ON_UPDATE_FRAG_COR_BAR), PY(ON_BATTLE_STATE_CHANGED)" does the trick and will be included in next modpack update (prolly tomorrow)

Sidenote PY(ON_UPDATE_FRAG_COR_BAR) is from extra py_macro.
So fragCorrelationBar.py would need to be installed with HP bar (even if colored icons are not selected/installed). :wink1:

Share this post


Link to post
Share on other sites

Correction, it works only if colored markers are installed but doesn't with Team HP bars only. This is what I noticed at least.

Share this post


Link to post
Share on other sites

Hopefully you doesn't do all the wok for me... that's not necessary... i'm fine with the actual status :-)

Share this post


Link to post
Share on other sites
Posted (edited)

I am having a problem, I am using the same settings with the custom XVM Health bar, but it is overlapped with the standard bar.

 

How do I disable the standard bar?

 

Edited by IWillDestroyU

Share this post


Link to post
Share on other sites
6 hours ago, IWillDestroyU said:

I am having a problem, I am using the same settings with the custom XVM Health bar, but it is overlapped with the standard bar.

 

How do I disable the standard bar?

Attach your logs.

Share this post


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

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.