Health and Mana bar backgrounds
How to use:
Edit
mods/healthbars.otmod
and setautoload
totrue
Add
g_game.enableFeature(GameHealthInfoBackground)
tomodules/game_features/features.lua
Add server side support by following this commit TODO
Add new backgrounds to
mods/game_healthbars/healthbars.lua
Documentation:
g_healthBars.addHealthBackground(imagePath, imageOffsetX, imageOffsetY, barOffsetX, barOffsetY, barHeight)
g_healthBars.addManaBackground(imagePath, imageOffsetX, imageOffsetY, barOffsetX, barOffsetY, barHeight)
imagePath - path to image
imageOffsetX - move image to left/right
imageOffsetY - move image to top/bottom
barOffsetX - move health/mana bar to left/right
barOffsetY - move health/mana bar to top/bottom
barHeight - change health/mana bar height (default 4)
Last updated