You are viewing a potentially older version of this package. View all versions.
Groshyr-HPBarheimPoVFix-1.0.0 icon

HPBarheimPoVFix

HP Barheim draws Path of Valheiman's creature modifier icons again (PoV's modifier set became 64-bit).

By Groshyr
Date uploaded 3 days ago
Version 1.0.0
Download link Groshyr-HPBarheimPoVFix-1.0.0.zip
Downloads 54
Dependency string Groshyr-HPBarheimPoVFix-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360
DarthVladi-HP_Barheim-1.6.0 icon
DarthVladi-HP_Barheim

Enemy and boss HP bars with stars, weakness and modifier icons, damage numbers, stagger bar and saveable layouts. Supports Star Level System, Creature Level & Loot Control, Path of Valheiman and TalentTree.

Preferred version: 1.6.0
treextr-PathOfValheiman-6.0.14 icon
treextr-PathOfValheiman

Reforge Valheim: two passive trees for combat and crafting with 6,000+ nodes. Discover deep loot and crafting systems, world events, new bosses and quality-of-life upgrades.

Preferred version: 6.0.14

README

HPBarheimPoVFix

Исправляет показ модификаторов мобов Path of Valheiman (Быстрый, Бронированный, Пожиратель душ и т.д.) в HP Barheim.

Что было не так

HP Barheim 1.6.0 рисует модификаторы PoV значками над полосой здоровья, но принимает их набор только как 32-битное перечисление. В PoV модификаторов стало больше 32 (Volley, Ricochet, SoulEater и другие лежат за 32-м битом), и перечисление RarityMods.Mod стало 64-битным. HP Barheim его отвергал и писал в журнал:

Path of Valheiman is installed but its creature modifiers were not found (it may have changed); HP Barheim does not draw them.

Что делает фикс

HP Barheim использует прочитанную маску только чтобы понять «изменилась ли» и передать её обратно в свой код значков. Фикс подменяет четыре его метода (Bind, ReadMask, Sprites, ParseList): вместо 64-битной маски HP Barheim получает маленький номер-ссылку на неё, а значки строятся по полной маске — так же, как у HP Barheim: свой рисунок, если он есть, иначе значок PoV. Всё остальное — без изменений. Чужие DLL не меняются.

Требования

  • HP Barheim 1.6.0
  • Path of Valheiman 6.0.14

Установка

Только клиент (это интерфейс), серверу не нужен.

  • r2modman / Thunderstore: Online → найдите HPBarheimPoVFix → Download; обновления — через Update. Резервный способ: Settings → Import local mod → выберите zip.
  • Вручную: HPBarheimPoVFix.dll в BepInEx/plugins/HPBarheimPoVFix/.

Проверка

В BepInEx/LogOutput.log / Player.log:

  • HP Barheim reads Path of Valheiman's 64-bit creature modifiers through this fix.
  • при первой встрече с мобом: Path of Valheiman's creature modifiers found (64-bit): HP Barheim draws them as icons over its health bars.

Строки creature modifiers were not found больше быть не должно. Настройка HP Barheim PathOfValheimanModifiers должна быть включена (по умолчанию включена).

Авторы и благодарности