[Modpack] "Better HUD" and "hunger" [2.x.1] [hud][hunger]
- JPRuehmann
- Member
- Posts: 334
- Joined: Fri Mar 21, 2014 21:40
- Location: Germany
- Contact:
Ehm...what? What do you mean by "messed up"?PilzAdam wrote:No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.JPRuehmann wrote:Think should be Part of the Internal mods.
Furthermore that it has hunger is not a reason to not include, more important is that minetest_game is no longer developed.
--
Will be added within next versionTenPlus1 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-
Last edited by BlockMen on Mon Apr 14, 2014 14:59, edited 1 time in total.
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
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.BlockMen wrote:Ehm...what? What do you mean by "messed up"?PilzAdam wrote:No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.JPRuehmann wrote:Think should be Part of the Internal mods.
http://i.imgur.com/m0JoKKU.jpg
The default health bar doesnt scale aswell?!PilzAdam wrote: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.BlockMen wrote:Ehm...what? What do you mean by "messed up"?PilzAdam wrote: No. It has hunger, and the hunger heals too fast. The health and hunger bar is messed up in a 1080p resolution.
http://i.imgur.com/m0JoKKU.jpg
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.
- JPRuehmann
- Member
- Posts: 334
- Joined: Fri Mar 21, 2014 21:40
- Location: Germany
- Contact:
Re: [Mod] Better HUD (and hunger) [1.3] [hud]
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 ;)
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 ;)
-
- New member
- Posts: 7
- Joined: Sun May 11, 2014 11:56
- In-game: KreeithGames
Re: [Mod] Better HUD (and hunger) [1.3] [hud]
Great mod! Hope you at more soon.
Re: [Mod] Better HUD (and hunger) [1.3] [hud]
Needs a slight fix in depends.txt:
farming_plus?
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
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
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
-
- 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]
YAY! <3BlockMen 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
At least I can enjoy fullscreen again!
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
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...
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
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
Could you give an example what mods did load before hunger overriding? (where they added to depends.txt?)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...
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.
- 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]
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.
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
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...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.
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
Maybe loading your mods 2.2 seconds afterwards ?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.
- 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]
You can't create nodes 2.2 seconds afterwards. T=0 when the game starts.TenPlus1 wrote:Maybe loading your mods 2.2 seconds afterwards ?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.
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
Maybe add those to the depends.txt? It's not like there's a limit on the number of depends you can have.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...
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
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...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...
- 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]
Soft depend on all the mods your mod overrides, and don't add a timer / delay.BlockMen wrote: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...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...
Diet and my food mods all soft depend on hud.
Diet does.I think some other mod changes the items after hud does.
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
Thats what is done right now, but it solves not the problem i described (when other mods override the item again after hud loaded).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.
Diet does.I think some other mod changes the items after hud does.
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...
- 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]
Do you mean overriding the on_use? Examples of mods that do this?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).
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.BlockMen wrote:oh..just saw the diet thing right now. Thats indeed a problem then...
Diet needs to load after your mod, and it needs to override your mod.
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
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?
Also a way of clearing or blocking the chat/error information?
Re: [Mod] Better HUD (and hunger) [1.3.1] [hud]
+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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests