Bully-Board

Bully Modding Section => Requests => Requests Archive => Topic started by: 159516 on May 27, 2013, 12:36:50 AM

Title: Hunger Mod?
Post by: 159516 on May 27, 2013, 12:36:50 AM
Hi! Is there a mod that adds hunger to the game? Where, say, going too long without eating causes Jimmy to pass out and wake up (much like going too long without sleep.) Thanks for any help you can give.
Title: Re: Hunger Mod?
Post by: Erik on May 27, 2013, 12:53:16 AM
I'm not trying to be a jerk but maybe when you arrive somewhere, you shouldn't start immediately asking for things.   :ajajaxh5:
Title: Re: Hunger Mod?
Post by: SWEGTA on May 27, 2013, 02:14:05 AM
^Eric, this is the request section. I do get what you're coming at though.

I have been considering making a hunger system for the Zombie Edition. If this gets done, then I can easily add it in the normal game.
Title: Re: Hunger Mod?
Post by: Red Blaster on May 27, 2013, 05:44:40 AM
It's possible to do. But it's somewhat complex.

The only potentially tricky part is writing the line that checks whether Jimmy has eaten or not.
Title: Re: Hunger Mod?
Post by: c00ld0c26 on May 27, 2013, 09:26:02 AM
Is it a plane? Is it a bird? No its propably Madman!, the modding guru will answer your question (If he will want to post of course)
Even though, hunger system is a great Idea, specialy for the Zombie mod.
Title: Re: Hunger Mod?
Post by: Red Blaster on May 27, 2013, 03:40:09 PM
Nah, it can be done.

Although, I think the easiest method of doing this will be having the food as a pickup item (like mission items). Everything else would be a piece of piss.
Title: Re: Hunger Mod?
Post by: SWEGTA on May 27, 2013, 03:55:20 PM
^Piece of piss?
Precisely. I could easily get a similar method done, however that might take time since I am working on different projects atm.
Title: Re: Hunger Mod?
Post by: 159516 on May 27, 2013, 05:01:16 PM
^Eric, this is the request section. I do get what you're coming at though.

I have been considering making a hunger system for the Zombie Edition. If this gets done, then I can easily add it in the normal game.

Sounds cool, man. Looking forward to it.
Title: Re: Hunger Mod?
Post by: Walter20210 on May 31, 2013, 08:17:02 PM
I got the idea of using

Code: [Select]
if PedIsPlaying(gPlayer, "Eating animation") then
PedAddHealth(HungerBar, 10)

For example.
Title: Re: Hunger Mod?
Post by: SWEGTA on June 01, 2013, 05:05:09 AM
^Might work. We'll need to figure out what the animationfile is called though.