mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-03 17:10:27 +01:00
34 lines
796 B
Plaintext
Executable File
34 lines
796 B
Plaintext
Executable File
--##Better HUD example config file##
|
|
------------------------------------
|
|
-- This example moves the health bar in the top left corner and the hunger bar in the top right corner
|
|
|
|
|
|
--
|
|
-- general settings
|
|
--
|
|
HUD_ENABLE_HUNGER = true --enables/disables hunger
|
|
HUD_HUNGER_TICK = 300 --sets time for loosing 1/2 bread (of 10) (in seconds)
|
|
|
|
|
|
--!NOTICE!--
|
|
-- >>if damage is disabled neither health bar nor hunger bar or breath bar is shown
|
|
|
|
--
|
|
-- health bar
|
|
--
|
|
HUD_HEALTH_POS = {x=0.5,y=0.9} --min 0, max 1
|
|
HUD_HEALTH_OFFSET = {x=-262, y=-50} --offset in pixel
|
|
|
|
--
|
|
-- hunger bar
|
|
--
|
|
HUD_HUNGER_POS = {x=0.5,y=0.9} --min 0, max 1
|
|
HUD_HUNGER_OFFSET = {x=25, y=-50} --offset in pixel
|
|
|
|
--
|
|
-- breath bar
|
|
--
|
|
HUD_AIR_POS = {x=0.5,y=0.9} --min 0, max 1
|
|
HUD_AIR_OFFSET = {x=25,y=-10} --offset in pixel
|
|
|