Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Infantry and Units health bar customizations

Open Fryone opened this issue 2 years ago • 5 comments

HealthBar.Sections=17 - sections in health bar HealthBar.Border=PIPBRD - filename in .shp format HealthBar.BorderFrame=0 - frame index of border HealthBar.BorderAdjust=0 - horizontal position adjustment

image

Fryone avatar Jul 22 '23 20:07 Fryone

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

github-actions[bot] avatar Jul 22 '23 20:07 github-actions[bot]

Custom Health Bar

Metadorius avatar Jul 22 '23 21:07 Metadorius

Reposting my ramblings from Discord so they aren't lost.

what I was thinking of for units

[SOMEPIPBARTYPE]
Section=PIP
Section.Palette=palette.pal
Section.UseRemap=false
Section.FrameGreen=0
Section.FrameYellow=1
Section.FrameRed=2
Section.Count=17
Section.Offset=1,0

Border=PIPBRD
Border.Palette=palette.pal
Border.UseRemap=false
Border.Frame=0

This doesn't account the building health bars though:

  • length is dynamic (can't specify sections and the border wouldn't work)
  • location is dynamic

Metadorius avatar Jul 29 '23 11:07 Metadorius

Any further progress? @Fryone

Metadorius avatar Aug 28 '23 14:08 Metadorius

Any further progress? @Fryone

now yet, I'm on 1104 right now

Fryone avatar Aug 28 '23 14:08 Fryone