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

Manually applied hunger_split update

- Updated hud/hunger splitting while keeping our configuration and solving
  issues
This commit is contained in:
LeMagnesium
2015-04-08 23:30:51 +02:00
parent a1dfa30979
commit b6e44b4047
37 changed files with 2368 additions and 970 deletions

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

@ -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