123456789101112131415161718192021222324252627282930313233343536373839 |
- --##Better HUD example config file##
- ------------------------------------
- -- This example moves the statbars in the down left and down right corners. By Echoes91
- -- NOTICE --
- -- if damage is disabled no statbar is shown at all
- -- Make sure that the statbars are shown correct on other screen resolutions aswell
- HUD_SB_SIZE = {x = 16, y = 16} -- statbar icon size in pixel before (!) scaling
- local offset = 0
- local width = 16*10
- local woff = width/2
- local yoff = -100
- --
- -- health bar
- --
- HUD_HEALTH_POS = {x = 0.5, y = 1} -- min 0, max 1
- HUD_HEALTH_OFFSET = {x = -width + -20, y = -100} -- offset in pixel
- --
- -- hunger bar
- --
- HUD_HUNGER_POS = {x = 0.5, y = 1} -- min 0, max 1
- HUD_HUNGER_OFFSET = {x = -width + -20, y = -132} -- offset in pixel
- --
- -- breath bar
- --
- HUD_AIR_POS = {x = 0.5, y = 1} -- min 0, max 1
- HUD_AIR_OFFSET = {x = -width + -20, y = -116} -- offset in pixel
- --
- -- armor bar
- --
- HUD_ARMOR_POS = {x = 0, y = 1} -- min 0, max 1
- HUD_ARMOR_OFFSET = {x = 10, y = -60} -- offset in pixel
|