Every in-game hour your Hunger and Sleep needs decrease.
Eating food will recover hunger, Sleeping will recover the Sleep need! (or Dieng)
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version v1.2.3
Added a save folder for saving your stats regarding my mods
Version v1.2.2
You now lose hunger after sleeping. (Simulating 6 hours) Hunger now saves when you save and loads when you load. Status bars no longer show during cutscenes.
Version v1.2.1
Added status bar to indicate current need levels! Now costs money to eat from safehouse fridge. Hunger and Sleep now affects health every in game minute if one or the other is at 0. Changed max level of hunger to 100 and sleep to 150. Eating and sleeping should be more intuitive. Fixed sprint so that if either hunger or sleep is 50% or below, jogging or walking is the only option. Shortened fridge radius by half. Added multiple animations for fridge eating. Now 3 different eating animations!
Version v1.2.0
Hunger changed for a little more flexablility. Now hunger has an effect on stamina and whether or not you can sprint. Roughly 30 in game hours before hunger take an effect on health. You can now eat at any of the SAFEHOUSE fridges. (you you eat a invisible weiner) Added a Sleep need system. just like hunger, your sleep will slowly dwindle by the day. Roughly 40 in game hours before sleep effects health. Sleep effects your stamina and whether or not you can sprint.
Version v1.0.0
The glitches I thought I had solved are (hopefully) once again solved. Raised hunger to decrease 7% per hour. Not sure why the messages were not showing at the right percentage before. In 12 to 13 hours you will start starving and losing health now. Instead of the time before. You will also lose 45 health per hour if not eaten. Changed the prompt messages a bit. Going to go ahead and call this complete unless other bugs pop up!
Version v0.1.0
v0.1.0 - Hunger resets now only if you eat food or die. Removed hunger reset for everything exept for the mention methods. Mod now functions as intended!
Version v0.0.5
v0.0.5 - Re-added code to make hunger reset after death if near hospital already, with the other methods of hunger reset. Should now be a little more efficient.
Version v0.0.4
v0.0.4 - Forgot to change the "hunger reset" debug message to something that fits the mod. When hunger is reset, it now shows "Feeling Full!"
Version v.0.0.3
0.0.3 - Whole hunger system improved upon heavily (not without bugs). Hunger now resets on death, arrest, and mission starting. (there may be other ways that I have not discovered) Hunger can reset even if full health to a degree and at the moment can be exploited unfortunately. Still cannot reset hunger if just eaten and at full health. Player's hunger should not reset if using fast travel by vehicle.
Version v.0.0.2
0.0.2 - Hunger is directly tied to health in a way that makes sense to me for now. Atleast to get the script working properly. Now when Niko Dies, Heals/eats or even getting arrested, hunger resets. Maybe even after cutscene(not tested) if your health go up in any way or for would reset it. Though note your hunger may not go back up if you *Die instantly at full health(confirmed), also no reset of hunger if arrested at full health(confirmed) I still do not know how to work with animations so any guidance would be awesome.
Version v.0.0.1
0.0.1 - Logic created and script born. Hunger resets if health has gone up by at least 1%. Hunger does not reset on instant death or arrest.
Every in-game hour your Hunger and Sleep needs decrease.
Eating food will recover hunger, Sleeping will recover the Sleep need! (or dieng)
You will start starving after 20 inGame hours and lose ALOT of health every hour after.
You will also start losing health every InGame minute after you have not slept for roughly 25 inGame hours.
Please give it a try and any pointers/help are appreciated! This will be my literal first mod ever!
INSTALLATION:===================== 1. Have ScriptHook installed in your GTA IV 2.Drag EPDT.SaveData into your GTAIV Directory! If you want your stats from This Mod to save, make sure to put this folder in the directory Otherwise the stats will just save as a bunch of txt files cluttering up the directory of your game. 3. Drag content of script folder from my mod and place into your scripts folder inside your gta iv directory. 4. All done enjoy!