Page 1 of 13

[Modpack] "Better HUD" and "hunger" [2.x.1] [hud][hunger]

Posted: Sat Jun 22, 2013 16:56
by BlockMen
This is an old unmaintained mod, and shouldn't be used

Spoiler
Hi everyone,

this mod improves the HUD of Minetest and adds statbars for Hunger and Armor (hidden by default). Also it provides an API to add new statbars easily, see API.txt for more informations. Also its released bundled with hunger.

Changes in builtin HUD items:
- Adds background for Health bar
- Uses better textures for Hotbar
- Uses texture for crosshair
- Positions of statbars can be customize via "hud.conf" file
- Experimental "ItemWheel" that replaces the hotbar (must be enabled by adding "hud_item_wheel = true" in minetest.conf) [Version 2.1.x]

Screenshot:
Image

This mod gets provided as Modpack which includes the hunger mod. The following informations are concerning the hunger mechanics of this hunger mod (https://github.com/BlockMen/hunger)

- You loose health when you are hungry (1/2 bread left)
- If the bar has 8 or more breads you get healed
- Digging, Building and walking increases hunger
- You can die if starving
Spoiler
- Apples (Minetest Game)
- Bread (Minetest Game)
- Mushrooms (Minetest Game)

- Animalmaterials (mobf modpack)
- Bushes
- bushes_classic
- Creatures
- Dwarves (beer and such)
- Docfarming
- Ethereal
- Farming (default and Tenplus1's redo)
- Farming plus
- Ferns
- Fishing
- Food
- fruit
- Glooptest
- JKMod
- kpgmobs
- Mobfcooking
- Mooretrees
- Mtfoods
- mushroom
- mush45
- Pizza
- Seaplants (sea)
- Simple mobs
Depends:
none, but supports 3d_armor

Download:

Version 2.x.1: Download (requires Minetest 0.4.13 or newer)
Older releases

Code: hud hunger
Spoiler
Version 0.2.2: Download
Version 0.2.1: Download
Version 0.2: Download
Version 0.1: Download
Themes:
- more themes for the hotbar (by gsmanners) can be found here

License:
Code: LGPL 2.1
Textures: CC BY-SA 3.0, WTFPL (see Readme.txt for more informations)


Please give Feedback and ideas for improvement

Posted: Sat Jun 22, 2013 17:00
by Dan Duncombe
Very nice- keep up the good work!

Posted: Sat Jun 22, 2013 17:14
by PilzAdam
BlockMen wrote:It will have an LUA-based drowing
Thats gonna be laggy (see every "Drowning" mod).

Posted: Sat Jun 22, 2013 17:15
by Mossmanikin
Very nice indeed.
All features I've been waiting for.

Posted: Sat Jun 22, 2013 18:23
by kaeza
PilzAdam wrote:
BlockMen wrote:It will have an LUA-based drowing
Thats gonna be laggy (see every "Drowning" mod).
This ^

It could be useful to have a function to change the properties of builtin HUD elements. I proposed this while implementing the align and offset.

Posted: Sat Jun 22, 2013 18:44
by BlockMen
kaeza wrote:
PilzAdam wrote:
BlockMen wrote:It will have an LUA-based drowing
Thats gonna be laggy (see every "Drowning" mod).
This ^

It could be useful to have a function to change the properties of builtin HUD elements. I proposed this while implementing the align and offset.
I prefer possible lags than having no control over drowning. When it gets read- and changeable by mods then a LUA-based drowing is ofc useless.

Posted: Sun Jun 23, 2013 07:44
by webdesigner97
Looks interesting!

Posted: Fri Jun 28, 2013 21:21
by BlockMen
Update: Version 0.2 Beta

- added support of costum config file (e.g. you can change positions of health and hunger bar)
- you can eat now 50% more than before (although it isnt shown in hunger bar)
- you get healed with 8 breads and more (in hunger bar) now
- fixed saving issue

Example of costum positions: Image

Posted: Sun Jun 30, 2013 15:32
by Slain
i love it. now i find a food mod :P

Posted: Sun Jun 30, 2013 19:57
by BlockMen
Slain wrote:i love it. now i find a food mod :P

--
- Supported food (so far): Apples, Bread (both in default game)
Let me know what food mod/s you would like to use and i will add support for it/these.

Posted: Sun Jun 30, 2013 21:14
by Mito551
BlockMen wrote:Let me know what food mod/s you would like to use and i will add support for it/these.
i want to have mine supported. do you need me to say its' name out loud?

Posted: Sun Jun 30, 2013 22:36
by VanessaE
It probably couldn't hurt to support the various food recipes in Moretrees mod.

Posted: Sun Jun 30, 2013 23:11
by Slain
well, i have simple mobs installed, so it would be nice if meat would work. eating meat only increases heart, not hunger

Posted: Mon Jul 01, 2013 08:04
by BlockMen
Update: Version 0.2.1

- tweaked override of food
- added support for dwarves, moretrees and simple mobs

----
Mito551 wrote:i want to have mine supported. do you need me to say its' name out loud?
I guess you mean dwarves? I added the food stuff of it.
VanessaE wrote:It probably couldn't hurt to support the various food recipes in Moretrees mod.
Added all i could find.
Slain wrote:well, i have simple mobs installed, so it would be nice if meat would work. eating meat only increases heart, not hunger
Support added.

Posted: Mon Jul 01, 2013 19:23
by Slain
perfect, i love it :D

Posted: Tue Jul 02, 2013 00:36
by Slain
i was just thinking, a cool feature would be making support for PilzAdam's beds mod. maybe, your hunder goes down by 3 everytime you sleep. cuz i know if im hungry before bed, im going to be hungrier when i wake up

Posted: Tue Jul 02, 2013 01:58
by Mossmanikin
I'd like to have support for animalmaterials & fishing

Posted: Tue Jul 02, 2013 15:20
by BlockMen
Mossmanikin wrote:I'd like to have support for animalmaterials & fishing
Done.

Posted: Tue Jul 02, 2013 16:33
by Slain
i love every aspect of it so far. how here is the question. can you make an update to this mod to work with inventory_plus and armor mods? so while we are wearing armor, we can see how to helps and so fourth

Posted: Wed Jul 03, 2013 04:34
by keyxmakerx
Could you incorporate other mods? Perhaps specialties and / or recipie mods

Posted: Wed Jul 03, 2013 05:03
by GloopMaster
glooptest would be trivial to add support for; the only edible item is glooptest:kalite_lump

Posted: Wed Jul 03, 2013 05:28
by keyxmakerx
Well I really was referring to the HUD part of it, because there's 3 different inventory mods and so I was wondering if he could create like a unified section. Like a worldedit / recipe / specialties all in one section.

Posted: Wed Jul 03, 2013 09:34
by Mossmanikin
BlockMen wrote:
Mossmanikin wrote:I'd like to have support for animalmaterials & fishing
Done.
Nice :)

Posted: Wed Jul 03, 2013 13:23
by BlockMen
Slain wrote:i love every aspect of it so far. how here is the question. can you make an update to this mod to work with inventory_plus and armor mods?
For me it works fine with inventory_plus. What issues you have?
Slain wrote:so while we are wearing armor, we can see how to helps and so fourth
You mean an armor HUD that shows the status of it? Maybe I will add, but can't promise.
keyxmakerx wrote:Could you incorporate other mods? Perhaps specialties and / or recipie mods
keyxmakerx wrote:Well I really was referring to the HUD part of it, because there's 3 different inventory mods and so I was wondering if he could create like a unified section. Like a worldedit / recipe / specialties all in one section.
And how should this mod interact with specialties? It has already a HUD, that shows the levels and does not effect this mod.

An interaction with inventory mods? What would you expect (except armor status like suggested above)?

GloopMaster wrote:glooptest would be trivial to add support for; the only edible item is glooptest:kalite_lump
Done.

Posted: Wed Jul 03, 2013 13:49
by Slain
yes, an armor hud. but if you dont feel like adding it now, i can wait til crafting pack gets armor. :P then the hud would be better