TimeTillHungry 2 is a mod that will allow you to customize CJ's hunger. Adds realism to meals.
Changelog is at the end of this description.
This is an extended version of the TimeTillHungry mod. It has a lot of customizable options, so you can fine-tune all the in-game hunger mechanics to your personal preferences.
Thanks for the idea and advice KaiQ and Artem.1.9.9.6 .
What is configured in the .ini file:
Basic settings:
Additional:
These parameters change the number of hours hunger is delayed based on
eaten food.
Example:
You have loaded a save.
Starvation will come in 24 hours.(StartingTTH=24)
You drank a can of drink from a vending machine.
24 + 2 (Soda=2 is added to StartingTTH=24)
We get 26 hours before hunger.
You can fill your belly up to 48 (MaxTTH=48).
You can enter the code HUNGER and the mod will show how many hours the feeling of hunger will appear.
Update.
Big thanks to artb and DimoP5KR for coding advices, testing and ideas.
Thanks to OrionSR for GTASA Global Variable Table
- bugfixes, a lot of them
- completely reworked handling of eating in fast food restaurant
— added compatibility with Fruit Kiosk mod by Artem.1.9.9.6
- added an option to save TTH
How it works:
If this mode is enabled in .ini file, then when you save the game TTH will decrease by
6 hours and this value will be saved in separate file (savegame files are untouched).
Next time you load a saved game — this value will be restored and set. Values are stored
for each save slot separately.
Saves section is added to .ini.
Enabled=1
Enable or disable (set to 0) TTH saving. If set to 0 — everything will be as before.
Hunger=6
TTH will be decreased by this amount when you save the game. If set to 0 then TTH will not
be decreased but TTH will be saved.
Updated 06.10.23
- bugfix: when starting a new game StartingTTH was ignored and value from Slot1 was used
- fixed time show with HUNGER code
Updated 07.10.23
Thanks to TrueXSaintP for this idea.
- you can change how much fat and hp CJ will loose every hour when he is hungry
You can change the values in tth2.ini, section Hunger
For fat use only float numbers (like 5.0, 25.0 etc)
For hp — only a certain values are available (0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0). Don't use anything else !
If you set Fat=0.0 then both fat and HP would not decrease at all.
Updated 16.10.23
- reduced amount of code a bit
- you can now use any float values in ini (values without .0 would not work)
- bug fix and new feature: Fat and muscle stat were reducing at the same speed (as intended by R*). In my mod they used the same value — this was my mistake as I completely missed
and forgot that muscle stat is affected by hunger. You can now set how much muscle CJ will
lose every hour when he is hungry (in .ini Hunger -> Muscle= )
- added an option to alter delay between loosing fat and loosing muscle. By default (in-game)
it is set to 24 hours.
It works this way:
CJ looses fat. As soon as he's out of fat the 24-hour timer start. During these 24 hours
he looses some HP and the he starts loosing HP and muscle. You can change this delay
(Hunger->Delay= )
- minor bugfixes
Updated 04.12.23
- bugfix: on rare ocassions hunger was set to 0 when starting a new game
Updated 09.12.23
- bugfix: fixed a bug that appeared after previous bugfix )