Page 1 of 1

[ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Fri Mar 11, 2016 16:26
by everamzah
github.com/everamzah/hud_hunger -- master.zip
License: LGPL2.1
Dependencies: default

This is a fork of BlockMen's hud_hunger modpack with GunshipPenguin's sprint mod. Sprinting now reduces the player's hunger bar (satiation). Particles will spawn as the player sprints using the run key (AUX1). Use `sprint = false' or `sprint_particles = false' in minetest.conf to disable either.

I will consider next whether to rely on extra keys (backwards, up/down ladders) to initiate sprinting.

Here's a link to a video to demonstrate

Re: [modpack] hud_hunger fork featuring sprint [hud] [hunger

PostPosted: Fri Mar 11, 2016 16:29
by benrob0329
Awesome! I've been waiting for that to happen for a while now!

Re: [modpack] hud_hunger fork featuring sprint [hud] [hunger

PostPosted: Fri Mar 11, 2016 17:31
by everamzah
Great, me too. It was surprisingly simple to insert.

I've changed to use default_dirt.png, whatever that is per your texture pack. Hunger drain rate has been reduced quite a lot, and is variable (SPRINT_DRAIN in init.lua) between 0 and 1, default is 0.35.

Also sprint and particles are on by default, but should you choose to disable either there exists sprint = false and/or sprint_particles = false in minetest.conf.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Fri Mar 11, 2016 19:19
by TenPlus1
Nice one :)

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Fri Mar 11, 2016 20:46
by ErrorNull
ahh yes. finally! thank you for doing this one.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Wed Mar 23, 2016 16:16
by Martno
I really like it!
So is this mod will be maintained in the future? I ask because I found some weird bugs in Blockmen's mod and since he left, I don't know that is there somebody who will fix those.
First thing is that the armor icons sometimes don't appear if the player connects to the game and already wears armor.
Second (this is with another mod: thirsty - I don't know if it's a bug in that mod, or this) if I use the Thirsty mod the HUD icons (water glasses) are much bigger, than the other icons (health, hunger), but only if I play on Windows. I have no idea why this happens, I tried with several machine, in the Linux version this problem doesn't exist. Same version of the game and same versions of the mods.
Edit: The hunger icons don't appear too, and it seems that this only happens only with the Windows version too. And it seems that it only happens, when Cornernote's bag mod is loaded. I have no idea why. It's happening with Unified inventory too (that contains the bag mod). The only thing I can do is I take off a piece of armor and put it back, and the armor shows again. Similar with the hunger icons, if I eat something (or start to sprint - in case of your fork), the icons appear again.
I tested this on Linux, this issue doesn't exist.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Fri Aug 05, 2016 14:16
by Wuzzy
I found a critical crash bug in the original hunger mod (version 2.x.1) and it looks like your mod has it, too.
Read here for more info:
viewtopic.php?f=11&t=6342&start=300#p228161

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Sat Aug 06, 2016 07:44
by ph8jPf9M
i am trying to run but no idea what button to press especially the AUX1 what button is that?

other than that could you implement an option for health and hunger to only appear when needed
like drowning. health would appear only when you eat something or get hurt
when health is full it disapears same with hunger it only shows when you lack hunger or when
you eat or poisened but disapears when your hunger is full.

this would clean and simplify the hud

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Sat Aug 06, 2016 13:11
by Wuzzy
The key which everamzah called “AUX1” or “run key” is actually called the “Use” key and is the [E] key on your keyboard by default. You can also change it in your controls settings.

Everamzah, please don't refer to the Use key as “AUX1”, almost nobody knows what this means.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Mon Sep 26, 2016 16:34
by amadin
I searched this mod a half of year but found only now :)
How enable using up (W) button instead using "E" for acceleration as in original sprint mod?

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Wed Oct 05, 2016 02:47
by everamzah
I don't recall ever implementing that portion of the original sprint mod by Gunship Penguin. And now, I prefer my runfast mod instead.

The double-tap mechanism sounds interesting, but the lag is bad enough when depending on a depressed key. I should try it, and see how well it works at least locally. Anyway, holding down a run key is more standard for me.

By the way, I look forward to changes in the Minetest engine that allow for physics manipulations for the player locally, without being subject to lag. Re celeron55's player script branch, which I have yet to try. I don't know if what is called Client Side Lua would also be appropriate for this, but I know even less about that.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Wed Oct 05, 2016 07:12
by TenPlus1
If it helps my git page ( github.com/tenplus1 ) has Blockmen's HUD_HUNGER, Wuzzy's HUDBars and Sofar's Stamina mod all with built-in Sprint feature that uses hunger while you run.

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Wed Oct 05, 2016 10:06
by everamzah
Oh, you!

Re: [ModPack] hud_hunger fork featuring sprint [hud_hunger]

PostPosted: Wed Nov 09, 2016 16:23
by Fixerol