News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Hunger Mod?  (Read 3286 times)

0 Members and 2 Guests are viewing this topic.

Offline 159516

  • Newbie
  • *
  • Posts: 0
    • View Profile
Hunger Mod?
« 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.

Offline Erik

  • Hero Member
  • ****
  • Posts: 3,718
  • Gender: Male
    • View Profile
Re: Hunger Mod?
« Reply #1 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:
« Last Edit: May 27, 2013, 01:22:12 AM by P Erik P »

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Hunger Mod?
« Reply #2 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.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Hunger Mod?
« Reply #3 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.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Hunger Mod?
« Reply #4 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.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Hunger Mod?
« Reply #5 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.

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Hunger Mod?
« Reply #6 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.

Offline 159516

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: Hunger Mod?
« Reply #7 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.

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Hunger Mod?
« Reply #8 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.

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Hunger Mod?
« Reply #9 on: June 01, 2013, 05:05:09 AM »
^Might work. We'll need to figure out what the animationfile is called though.