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

Locked
User avatar
JPRuehmann
Member
Posts: 334
Joined: Fri Mar 21, 2014 21:40
Location: Germany
Contact:

by JPRuehmann » Post

Hello
Yes, This is the Best HUD.
Think should be Part of the Internal mods.
Me for my Part, no game without Better HUD.
Thanks,
JPR

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

JPRuehmann wrote:Think should be Part of the Internal mods.
No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

PilzAdam wrote:
JPRuehmann wrote:Think should be Part of the Internal mods.
No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.
Ehm...what? What do you mean by "messed up"?
Image

Furthermore that it has hunger is not a reason to not include, more important is that minetest_game is no longer developed.


--
TenPlus1 wrote:Thanks for the new update BlockMen, death by hunger is a good feature and will be using it on Xanadu server...

For anyone wishing to add support for Ethereal mod foods, copy/paste the following lines to the end of hunger.lua
-code-
Will be added within next version
Last edited by BlockMen on Mon Apr 14, 2014 14:59, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

BlockMen wrote:
PilzAdam wrote:
JPRuehmann wrote:Think should be Part of the Internal mods.
No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.
Ehm...what? What do you mean by "messed up"?
http://i.imgur.com/m0JoKKU.jpg
It doesnt scale with the inventory bar, so the icons are too small and the distance between the inv bar and the icons gets bigger.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

PilzAdam wrote:
BlockMen wrote:
PilzAdam wrote: No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.
Ehm...what? What do you mean by "messed up"?
http://i.imgur.com/m0JoKKU.jpg
It doesnt scale with the inventory bar, so the icons are too small and the distance between the inv bar and the icons gets bigger.
The default health bar doesnt scale aswell?!
Image

the only difference is the space between the inv bar and the icons that is caused by (IMO) wrong engine behavior (and should be fixed)
Last edited by BlockMen on Mon Apr 14, 2014 15:15, edited 1 time in total.

User avatar
JPRuehmann
Member
Posts: 334
Joined: Fri Mar 21, 2014 21:40
Location: Germany
Contact:

by JPRuehmann » Post

Hi
I´m using a 30" LCD with 2560x1600 and can´t se any problems.

alcipri
Member
Posts: 15
Joined: Sat Apr 12, 2014 15:27

by alcipri » Post

The "problem" is when you increase the resolution in the game, increase the space between the inv bar and the icons too.
In my opinion it isn't a real problem, it doesn't disturb me.

Of course, better if it will be fixed. But, with the last update of the mod, it can be perfectly added to the game.

Glünggi
Member
Posts: 128
Joined: Wed Apr 16, 2014 08:13
Location: Switzerland

Re: [Mod] Better HUD (and hunger) [1.3] [hud]

by Glünggi » Post

You have forgotten the Slice from the bushes_classic Pie's
My suggestion:
overwrite("bushes:"..berry.."_pie_raw", 3)
overwrite("bushes:"..berry.."_pie_cooked", 8)
overwrite("bushes:"..berry.."_pie_slice", 2)
overwrite("bushes:basket_"..berry, 20)
There are 6 Slice per Pie -> 6x2 = 12.. but the Pie give only 8. So the Player is motivated to eat the Slice. The same at the basket.
The Basket and also the Pie is more a storage for the Slice.
Just a Suggestion ;)

EDIT:
Sorry my misstake.. i thought the basket werend reopenable -.-
But they give no Sense to make Slices... with this System..hmm.
The Problem is the reciep is it there... and when u make slice.. the pie is useless.
So i suggest Slice 1 Point, Pie 6 Point and Basket 18 for best solution.. without toutch the bushescode..or write a little Basketopenercode ;)

KreeithGames
New member
Posts: 7
Joined: Sun May 11, 2014 11:56
In-game: KreeithGames

Re: [Mod] Better HUD (and hunger) [1.3] [hud]

by KreeithGames » Post

Great mod! Hope you at more soon.

gsmanners
Member
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: [Mod] Better HUD (and hunger) [1.3] [hud]

by gsmanners » Post

Needs a slight fix in depends.txt:
farming_plus?

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by BlockMen » Post

Update! Version 1.3.1 released

Changelog:
- Added compatibility for lastest dev-version of MT (as of 2014-05-13)
(bars are scaled correct now, no more gap between hotbar and health/hunger bar)
- Fixed typo in depends.txt
- Lower maintimer tick value

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by Jordach » Post

BlockMen wrote:Update! Version 1.3.1 released

Changelog:
- Added compatibility for lastest dev-version of MT (as of 2014-05-13)
(bars are scaled correct now, no more gap between hotbar and health/hunger bar)
- Fixed typo in depends.txt
- Lower maintimer tick value
YAY! <3

At least I can enjoy fullscreen again!

Image

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by TenPlus1 » Post

Blockman, I've edited your mod slightly to fix a bug with certain foods not working with hunger, so a delay of 2 seconds to allow other mods to load before including hunger.lua file so they work properly...

Also, I've added a sound when you eat food, a free license chomp.ogg sound which is small and works well within the game... and lastly I've included the food items from the Ethereal mod...
Attachments
hud_131b-master.zip
(31.6 KiB) Downloaded 122 times

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by BlockMen » Post

TenPlus1 wrote:Blockman, I've edited your mod slightly to fix a bug with certain foods not working with hunger, so a delay of 2 seconds to allow other mods to load before including hunger.lua file so they work properly...

Also, I've added a sound when you eat food, a free license chomp.ogg sound which is small and works well within the game... and lastly I've included the food items from the Ethereal mod...
Could you give an example what mods did load before hunger overriding? (where they added to depends.txt?)

And yes, i always had in mind to add an eating sound (https://github.com/BlockMen/hud/blob/ma ... er.lua#L31) but i don't like the sound you have chosen. I gonna add one next version.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by rubenwardy » Post

TenPlus1 wrote:Blockman, I've edited your mod slightly to fix a bug with certain foods not working with hunger, so a delay of 2 seconds to allow other mods to load before including hunger.lua file so they work properly...

Also, I've added a sound when you eat food, a free license chomp.ogg sound which is small and works well within the game... and lastly I've included the food items from the Ethereal mod...

I oppose this change. Food, Sweets food, and Diet all rely on loading after the hunger.lua module. Also, you should not override node definitions after the game has loaded - which minetest.after does.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by TenPlus1 » Post

BlockMen wrote:Could you give an example what mods did load before hunger overriding? (where they added to depends.txt?)

And yes, i always had in mind to add an eating sound (https://github.com/BlockMen/hud/blob/ma ... er.lua#L31) but i don't like the sound you have chosen. I gonna add one next version.
For some reason the certain mods like kpgmobs, mobs, ethereal, farming didn't seem to load before the hunger.lua file and eating certain food items would not work at all, it would add to your hearts and not hunger so I placed a delay on loading the hunger.lua file and it worked fine after that...

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by TenPlus1 » Post

rubenwardy wrote:I oppose this change. Food, Sweets food, and Diet all rely on loading after the hunger.lua module. Also, you should not override node definitions after the game has loaded - which minetest.after does.
Maybe loading your mods 2.2 seconds afterwards ?

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by rubenwardy » Post

TenPlus1 wrote:
rubenwardy wrote:I oppose this change. Food, Sweets food, and Diet all rely on loading after the hunger.lua module. Also, you should not override node definitions after the game has loaded - which minetest.after does.
Maybe loading your mods 2.2 seconds afterwards ?
You can't create nodes 2.2 seconds afterwards. T=0 when the game starts.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

gsmanners
Member
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by gsmanners » Post

TenPlus1 wrote:For some reason the certain mods like kpgmobs, mobs, ethereal, farming didn't seem to load before the hunger.lua file and eating certain food items would not work at all, it would add to your hearts and not hunger so I placed a delay on loading the hunger.lua file and it worked fine after that...
Maybe add those to the depends.txt? It's not like there's a limit on the number of depends you can have.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by BlockMen » Post

TenPlus1 wrote: For some reason the certain mods like kpgmobs, mobs, ethereal, farming didn't seem to load before the hunger.lua file and eating certain food items would not work at all, it would add to your hearts and not hunger so I placed a delay on loading the hunger.lua file and it worked fine after that...
Works the override for the apple? If so i think some other mod changes the items after hud does. If that would be the problem there are only two options: expect the other mods to override the items not completly (especially on_use) or re-add the delay. Im unsure about this right now...

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by rubenwardy » Post

BlockMen wrote:
TenPlus1 wrote: For some reason the certain mods like kpgmobs, mobs, ethereal, farming didn't seem to load before the hunger.lua file and eating certain food items would not work at all, it would add to your hearts and not hunger so I placed a delay on loading the hunger.lua file and it worked fine after that...
Works the override for the apple? If so i think some other mod changes the items after hud does. If that would be the problem there are only two options: expect the other mods to override the items not completly (especially on_use) or re-add the delay. Im unsure about this right now...
Soft depend on all the mods your mod overrides, and don't add a timer / delay.

Diet and my food mods all soft depend on hud.
I think some other mod changes the items after hud does.
Diet does.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by BlockMen » Post

rubenwardy wrote: Soft depend on all the mods your mod overrides, and don't add a timer / delay.

Diet and my food mods all soft depend on hud.
I think some other mod changes the items after hud does.
Diet does.
Thats what is done right now, but it solves not the problem i described (when other mods override the item again after hud loaded).

And my mod only overrides the on_use of items/nodes, so a delay would be ugly but an useable option. But how i already said "Im unsure about this right now..."

EDIT: oh..just saw the diet thing right now. Thats indeed a problem then...

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by rubenwardy » Post

BlockMen wrote:Thats what is done right now, but it solves not the problem i described (when other mods override the item again after hud loaded).
Do you mean overriding the on_use? Examples of mods that do this?
BlockMen wrote:oh..just saw the diet thing right now. Thats indeed a problem then...
Why is Diet a problem? It works with your mod. Unless you want to add more to the on_use function. like sounds. If you want to do that, supply a hunger.eat(itemstack, player) function to your mod so I can call it.

Diet needs to load after your mod, and it needs to override your mod.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

dgm5555
Member
Posts: 245
Joined: Tue Apr 08, 2014 19:45

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by dgm5555 » Post

Would it be possible/difficult to add support for the HUD in debug mode, so it shows the identity of the node being pointed to.
Also a way of clearing or blocking the chat/error information?

gsmanners
Member
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]

by gsmanners » Post

+1 for pointed_thing_hud <-- this could be a good mod in itself

The thing I dislike about this mod is how much the hunger points deteriorate. A good example of this is casserole, a mere combination of foods that you expect to combine the benefits of its individual components. If you take and eat each of its part separately, it would give 13 points. However, casserole all by itself only gives you 3 points. I find that a little hard to swallow.

Locked

Who is online

Users browsing this forum: No registered users and 2 guests