Skip to content
Olexandr edited this page Aug 23, 2026 · 7 revisions

Remake of Healthbar library, extended with new characters and tracking of all 3 characters hp

Important

This library included in ZZMI Package, avoid duplicates of it in Mods folder.

Usage:

Add run = CommandList\Healthbar\RequestUpdate in character Blend

[TextureOverride Anby Hair Blend]
hash = 313933a0
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = Resource.Hair.Texcoord
	vb2 = Resource.Hair.Blend
	CheckTextureOverride = ib
elif DRAW_TYPE == 1
	run = CommandList\Healthbar\RequestUpdate
	vb0 = Resource.Hair.Position
	vb2 = Resource.Hair.Blend
	Draw = 321, 0
endif

Use variable related to it.

Character variable represents hp % value in range 0-1

[TextureOverride Anby HairA]
hash = 5c0240db
match_first_index = 0
match_index_count = 12897
handling = skip
ib = Resource.HairA

if $\Healthbar\Anby > 0.75
	DrawIndexed = 1337, 0, 0
elif $\Healthbar\Anby > 0.25
	DrawIndexed = 321, 1337, 0
else
	DrawIndexed = 123, 1658, 0
endif

Variables/Support

Variables/Support list
  • $Alice
  • $Anby
  • $Anby0
    • $Soldier0Anby
  • $Anton
  • $Aria
  • $Astra
    • $AstraYao
  • $Banyue
  • $Ben
  • $Billy
  • $Burnice
  • $Caesar
  • $Corin
  • $Dialyn
  • $Ellen
  • $Evelyn
  • $Grace
  • $Harumasa
    • $AsabaHarumasa
  • $Hugo
  • $Jane
    • $JaneDoe
  • $JuFufu
  • $Koleda
  • $Lighter
  • $Lucia
  • $Lucy
  • $Lycaon
  • $Manato
  • $Miyabi
    • $HoshimiMiyabi
  • $Nekomata
  • $Nicole
  • $Orphie
  • $Pan
    • $PanYinhu
  • $Piper
  • $Pulchra
  • $Qingyi
  • $Rina
  • $Seth
  • $Seed
  • $Soldier11
  • $Soukaku
  • $Sunna
  • $Trigger
  • $Vivian
  • $Yanagi
    • $TsukishiroYanagi
  • $YeShunguang
  • $Yidhari
  • $Yixuan
  • $Yuzuha
  • $Zhao
  • $ZhuYuan

Clone this wiki locally