diff options
Diffstat (limited to 'hudbars.conf.example')
-rw-r--r-- | hudbars.conf.example | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/hudbars.conf.example b/hudbars.conf.example index 663329c..9ca9451 100644 --- a/hudbars.conf.example +++ b/hudbars.conf.example @@ -1,20 +1,24 @@ ---##HUD bars example config file## ------------------------------------- --- This example moves the health bar in the top left corner and the hunger bar in the top right corner +-- HUD bars example config file +------------------------------- +-- Currently you can customize the starting position of the first bottom two HUD bars +-- and the vertical margin. That's all. +-- Remove the two dashes to activate a setting. Lua syntax is used. +-- The examples are all equal to the mod defaults +------------------------------------------------------------------------------------------------------- ---!NOTICE!-- --- >>if damage is disabled neither health bar nor breath bar is shown +-- Vertical space between two HUD bars +-- hb.settings.vmargin = 24 --- --- health bar --- -HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1 -HUD_HEALTH_OFFSET = {x=5,y=30} --offset in pixel +-- Pos of the first HUD bar the the left (“pos”, as in hud definition of hud_add of Minetest Lua API) +-- hb.settings.pos_left = { x=0.5, y=1 } --- --- breath bar --- -HUD_AIR_POS = {x=0.5,y=1} --min 0, max 1 -HUD_AIR_OFFSET = {x=15,y=-75} --offset in pixel +-- Pos of the first HUD bar the the right +-- hb.settings.pos_right= { x = 0.5, y = 1 } + +-- Offset of the first HUD bar to the left (“offset”, as in HUD definition) +-- hb.settings.start_offset_left = { x = -175, y = -70 } + +-- Offset of the first HUD bar to the right +-- hb.settings_start_offset_right = { x = 15, y = -70 } |