[ModPack] hud_hunger fork featuring sprint [hud_hunger]

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

[ModPack] hud_hunger fork featuring sprint [hud_hunger]

by everamzah » Fri Mar 11, 2016 16:26

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
Last edited by everamzah on Fri Mar 11, 2016 17:34, edited 1 time in total.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

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

by benrob0329 » Fri Mar 11, 2016 16:29

Awesome! I've been waiting for that to happen for a while now!
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Fri Mar 11, 2016 17:31

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.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Fri Mar 11, 2016 19:19

Nice one :)
 

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

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

by ErrorNull » Fri Mar 11, 2016 20:46

ahh yes. finally! thank you for doing this one.
 

Martno
Member
 
Posts: 77
Joined: Thu May 28, 2015 07:09

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

by Martno » Wed Mar 23, 2016 16:16

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.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

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

by Wuzzy » Fri Aug 05, 2016 14:16

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
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ph8jPf9M
Member
 
Posts: 70
Joined: Sat Jul 16, 2016 10:29
GitHub: 22i

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

by ph8jPf9M » Sat Aug 06, 2016 07:44

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
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

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

by Wuzzy » Sat Aug 06, 2016 13:11

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.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

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

by amadin » Mon Sep 26, 2016 16:34

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?
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Wed Oct 05, 2016 02:47

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.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Wed Oct 05, 2016 07:12

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.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Wed Oct 05, 2016 10:06

Oh, you!
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

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

by Fixerol » Wed Nov 09, 2016 16:23

 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 10 guests

cron