mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Updated hud/hunger while saving our modifications
- Splitted hud into two mods : hud and hunger
This commit is contained in:
@ -1,33 +1,35 @@
|
||||
--##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
|
||||
-- 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
|
||||
|
||||
|
||||
--
|
||||
-- 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
|
||||
HUD_SB_SIZE = {x = 24, y = 24} -- statbar icon size in pixel before (!) scaling
|
||||
|
||||
--
|
||||
-- health bar
|
||||
--
|
||||
HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1
|
||||
HUD_HEALTH_OFFSET = {x=5,y=30} --offset in pixel
|
||||
HUD_HEALTH_POS = {x = 0, y = 1} -- min 0, max 1
|
||||
HUD_HEALTH_OFFSET = {x = 10, y = -30} -- offset in pixel
|
||||
|
||||
--
|
||||
-- hunger bar
|
||||
--
|
||||
HUD_HUNGER_POS = {x=1,y=0} --min 0, max 1
|
||||
HUD_HUNGER_OFFSET = {x=-175,y=30} --offset in pixel
|
||||
HUD_HUNGER_POS = {x = 1, y = 1} -- min 0, max 1
|
||||
HUD_HUNGER_OFFSET = {x = -250, y = -30} -- offset in pixel
|
||||
|
||||
--
|
||||
-- breath bar
|
||||
--
|
||||
HUD_AIR_POS = {x=0.5,y=1} --min 0, max 1
|
||||
HUD_AIR_OFFSET = {x=15,y=-75} --offset in pixel
|
||||
HUD_AIR_POS = {x = 1, y = 1} -- min 0, max 1
|
||||
HUD_AIR_OFFSET = {x = -250, y = -60} -- 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
|
||||
|
||||
|
Reference in New Issue
Block a user