[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: 1238
Joined: Thu Aug 06, 2015 22:39
Location: Michigan
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
 

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: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1
 

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

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

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: 3241
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
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

ph8jPf9M
Member
 
Posts: 77
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: 3241
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.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

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: 2419
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
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

Boruch
Member
 
Posts: 16
Joined: Wed Oct 18, 2017 14:35

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

by Boruch » Fri Oct 20, 2017 01:55

Looks good, but a few suggestions about integration into the game.

For some reason, you register the modpack within the game under the name 'zombies' instead of something that someone would associate with either 'hud_hunger" or 'everamzah', or something similar to the download zip file name.

Maybe rename the root directory 'hud_hunger_everamzah' and register that name in the mod.conf file. That way people can easily find your modpack within the game and within the filesystem.
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

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

by jas » Fri Oct 20, 2017 03:28

https://github.com/taikedz/everamzah-hu ... its/master

Not sure what's going on with mod.conf. Personally I use the "runfast" mod, but it's not yet tailored for generic use. I have been planning on doing so.
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

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

by taikedz » Fri Oct 20, 2017 15:19

Crud. That looks like a bug from when I processed all your old repos, evidently it didn't step through the directories like it should have.

Fixed, I'll likely want to squash them - or you could add your copy to your new location, and update the links up top....
Not my monkeys; not my circus.
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

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

by jas » Fri Oct 20, 2017 16:06

I might just recommend TenPlus1's version which is here: https://github.com/tenplus1/hud_hunger/ but I haven't tried it.

I like runfast a lot more, since I made it from scratch and it works well for me. The current version is here: github.com/jastevenson303/runfast -- and it's a bit different; it sets player properties {new_move=true, sneak_glitch=false} when not sprinting, and when you do sprint it's {new_move=false, sneak_glitch=true} which IMHO makes for some pretty fun romps. (The hungrier you are, there, the less you can sprint, until eventually it won't work until you eat.)

https://youtu.be/RrYCGZVtwHY?t=4m5s
 

hajo
Member
 
Posts: 596
Joined: Thu Oct 13, 2016 10:45
Location: DE

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

by hajo » Thu Jan 18, 2018 11:08

I get a message
Code: Select all
WARNING[Main]: Undeclared global variable "HUD_ENABLE_HUNGER" accessed at .../everamzah-hud_hunger/hud/builtin.lua:41

and error 404 for the link to github,
so https://github.com/taikedz/everamzah-hud_hunger is current now ?
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

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

by taikedz » Thu Jan 18, 2018 12:16

The taikedz link is "current" insomuch as that's where it lives now. I'll take and triage pull requests, though I have not been active in developing it.

This particular issue has now been fixed.

The mod predates tenplus1's hudbars which are likely more recently maintained. https://github.com/tenplus1/hudbars
Not my monkeys; not my circus.
 

codexp
New member
 
Posts: 9
Joined: Sun Jan 21, 2018 11:42
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

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

by jas » Mon Jul 09, 2018 11:10

Hello. There exists some mirrors and archives of this mod, but since publishing have made some others. I haven't played in a bit, so I'll have to test them out again.

https://github.com/taikedz/everamzah-hud_hunger <- original mirror
https://archive.org/details/everamzah-mt_git <- archive of mods made under the name everamzah

I made one called Run & Fast, that became part of decibel, a sub-game. Then I started on one called sneak_jump, for any minetest version, which I want to try out again, make sure it still works: viewtopic.php?t=19861

Have fun.
 


Return to Mod Releases



Who is online

Users browsing this forum: Doriphore, Exabot [Bot] and 8 guests