Change name of mod to “HUD bars” [hudbars]

This commit is contained in:
Wuzzy 2015-02-04 01:10:20 +01:00
parent 169e4d44bf
commit 2a2db9ab9c
5 changed files with 11 additions and 103 deletions

View File

@ -1,11 +1,11 @@
Minetest mod "Better HUD" Minetest mod "HUD bars"
========================= =========================
Version: 1.4 Version: 0.1.0
License of source code: WTFPL License of source code: WTFPL
----------------------------- -----------------------------
(c) Copyright BlockMen (2013-2014) Author: Wuzzy (2015)
Forked from the “Better HUD” [hud] mod by BlockMen.
Using the mod: Using the mod:
@ -14,72 +14,19 @@ This mod changes the HUD of Minetest.
It improves the apperance of the health and breath bar and adds a more fancy hotbar. Furthermore it adds a It improves the apperance of the health and breath bar and adds a more fancy hotbar. Furthermore it adds a
custom crosshair, an armor bar (only for 3darmor mod) and a hunger bar. It includes also a mechanic for hunger. custom crosshair, an armor bar (only for 3darmor mod) and a hunger bar. It includes also a mechanic for hunger.
You can create a "hud.conf" file to customize the positions of health, hunger, armor and breath bar. Take a look at "hud.conf.example" to get more infos. You can create a "hud.conf" file to customize the positions of the health and breath bars. Take a look at "hud.conf.example" to get more infos.
!!IMPORTANT !!: !!IMPORTANT !!:
Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!! Keep in mind if running a server with this mod, that the custom position should be displayed correct on every screen size!!
=Hunger=
========
This mod adds a hunger mechanic to the game. Player actions like digging, placing and walking causes exhausion,
that lowers players saturation. Also every 800 seconds you lose 1 saturation point without doing anything.
If you are hungry (empty hunger bar) you will get damage and die in case you don't eat something.
Notice:
-------
You can disable this by setting "HUD_HUNGER_ENABLE = false" in "hud.conf", or "hud_hunger_enable = false" in minetest.conf.
In case of conflict hud.conf configuration is dominant.
Currently supported food:
-------------------------
- Apples (default)
- Animalmaterials (mobf modpack)
- Bread (default)
- Bushes
- bushes_classic
- Creatures
- Dwarves (beer and such)
- Docfarming
- Fishing
- Farming plus
- Farming (default and Tenplus1's fork)
- Food
- fruit
- Glooptest
- JKMod
- kpgmobs
- Mobfcooking
- Mooretrees
- Mtfoods
- mushroom
- mush45
- Seaplants (sea)
- Simple mobs
Example: 1 apple fills up the hunger bar by 1 bread, 1 bread (from farming) 2 breads in bar.
Although it show 20 hunger points (10 breads) in hunger bar,
you can fill it up to 30 points.(5 breads not shown then)
License of textures: License of textures:
-------------------- --------------------
hud_heart_fg.png - celeron55 (CC BY-SA 3.0), modified by BlockMen hudbars_icon_health.png - celeron55 (CC BY-SA 3.0), modified by BlockMen
hud_heart_bg.png - celeron55 (CC BY-SA 3.0), modified by BlockMen hudbars_icon_breath.png - kaeza (WTFPL), modified by BlockMen
hud_hunger_fg.png - PilzAdam (WTFPL), modified by BlockMen hudbars_bar_health.png - Wuzzy (WTFPL)
hud_hunger_bg.png - PilzAdam (WTFPL), modified by BlockMen hudbars_bar_breath.png - Wuzzy (WTFPL)
wieldhand.png (from character.png) - Jordach (CC BY-SA 3.0), modified by BlockMen
hud_air_fg.png - kaeza (WTFPL), modified by BlockMen
hud_armor_fg.png - Stu (CC BY-SA 3.0), modified by BlockMen
hud_armor_bg.png - Stu (CC BY-SA 3.0), modified by BlockMen
everything else is WTFPL:
(c) Copyright BlockMen (2013-2014)
This program is free software. It comes without any warranty, to This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it the extent permitted by applicable law. You can redistribute it

View File

@ -1,26 +0,0 @@
default
animalmaterials?
bucket?
bushes?
bushes_classic?
cooking?
creatures?
docfarming?
dwarves?
ethereal?
farming?
farming_plus?
fishing?
fruit?
glooptest?
jkanimals?
jkfarming?
jkwine?
kpgmobs?
mobfcooking?
mobs?
moretrees?
mtfoods?
mush45?
mushroom?
seaplants?

View File

@ -1,17 +1,10 @@
--##Better HUD example config file## --##HUD bars 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 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!-- --!NOTICE!--
-- >>if damage is disabled neither health bar nor hunger bar or breath bar is shown -- >>if damage is disabled neither health bar nor breath bar is shown
-- --
-- health bar -- health bar
@ -19,12 +12,6 @@ HUD_HUNGER_TICK = 300 --sets time for loosing 1/2 bread (of 10) (in seconds)
HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1 HUD_HEALTH_POS = {x=0,y=0} --min 0, max 1
HUD_HEALTH_OFFSET = {x=5,y=30} --offset in pixel HUD_HEALTH_OFFSET = {x=5,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
-- --
-- breath bar -- breath bar
-- --

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B