1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-31 05:15:21 +01:00

added hudbars custom position

possibility to define position("health" in left or "sprint" in right, etc) in .conf
refactor code position, load config before registrer default hudbars(health,breath)
This commit is contained in:
2015-06-19 13:19:09 +02:00
parent 0ba98ba2f6
commit af4ff618bb
2 changed files with 35 additions and 8 deletions

10
mods/hudbars/hudbars.conf Executable file
View File

@@ -0,0 +1,10 @@
-- if custom==true, use custom position
-- X 0=left, 1=right
--Y 0,1,2 = down--> up
hb.settings.custom.custom = true
hb.settings.custom.health = { x = 0, y = 0 }
hb.settings.custom.satiation = { x = 1, y = 0 }
hb.settings.custom.sprint = { x = 0, y = 1 }
hb.settings.custom.mana = { x = 1, y = 1 }
hb.settings.custom.armor = { x = 0, y = 2 }
hb.settings.custom.breath = { x = 1, y = 2 }