1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Reset HUD (not ready for server yet)

This commit is contained in:
LeMagnesium
2015-04-13 21:37:48 +02:00
parent 83b50783c6
commit dd40c6828e
37 changed files with 971 additions and 2368 deletions

34
mods/hud/hud.conf.example Normal file → Executable file
View File

@ -1,35 +1,33 @@
--##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
-- This example moves the health bar in the top left corner and the hunger bar in the top right corner
HUD_SB_SIZE = {x = 24, y = 24} -- statbar icon size in pixel before (!) scaling
--
-- 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, y = 1} -- min 0, max 1
HUD_HEALTH_OFFSET = {x = 10, y = -30} -- offset in pixel
HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1
HUD_HEALTH_OFFSET = {x=5,y=30} --offset in pixel
--
-- hunger bar
--
HUD_HUNGER_POS = {x = 1, y = 1} -- min 0, max 1
HUD_HUNGER_OFFSET = {x = -250, y = -30} -- offset in pixel
HUD_HUNGER_POS = {x=1,y=0} --min 0, max 1
HUD_HUNGER_OFFSET = {x=-175,y=30} --offset in pixel
--
-- breath bar
--
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
HUD_AIR_POS = {x=0.5,y=1} --min 0, max 1
HUD_AIR_OFFSET = {x=15,y=-75} --offset in pixel