Up
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
  • EN
New comments
GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Mods
  • CLEO scripts
  • TimeTillHungry 2

TimeTillHungry 2

  • TimeTillHungry 2 / GTA San Andreas
  • TimeTillHungry 2 / GTA San Andreas
GTA San Andreas / Mods / CLEO scripts
Author:
vladvo
More details
Uploaded:
vladvo Subscribe You are subscribed
Size:
4.21 Kb
Uploaded:
25 August 2023
Updated:
16 October 2023
Downloads:
324
Total downloads: 324
Unique downloads: 284
10 / 10
8 people rated the file
sack
WetCheese
Guest
ПавелЧерненко
TrueXSaintP
artb
Hurricane
Artem.1.9.9.6
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 9 December 2023
    timetillhungry-2_1702129915_530463.zip
    Virus check from Virustotal: the file is safe (view report)
    Download

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:StartingTTH=24

MaxTTH=48

  1. Time to starvation, with which the game will begin. It doesn't matter if it's a save or a new one. CJ will start feeling hungry after 24 hours.
  2. The maximum time before CJ starts starving.

Additional:

SmallMeal=8

MediumMeal=16

LargeMeal=24

HealthyMeal=8

Soda=2

Snack=4

StreetFood=6

Date=16

These parameters change the number of hours hunger is delayed based on

eaten food.

  1. SmallMeal — a small portion in a restaurant
  2. MediumMeal — Medium portion in a restaurant
  3. LargeMeal — big portion in the restaurant
  4. HealthyMeal — Salad at
  5. A restaurant is a restaurant that serves pizza, burgers, or chicken.
  6. Soda — drinks from vending machines
  7. Snack — snacks from street vending machines
  8. StreetFood — various street fast food (from carts and cars with hot dogs)
  9. Date — how many hours will be added if you visit the restaurant during a date

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 )

Support the author

  • Boosty
Permissions and distribution rules
The author answered the following questions upon publication. By downloading the file, you agree to abide by these rules.
Is it allowed to reupload the file to other websites / platforms / services?
No
Is it allowed to create paid mods using the developments, components, or assets presented in this file?
Under no circumstances
Is it allowed to edit or update the file and upload its updated versions separately?
Only after receiving the author's permission
Is it allowed to convert the file for use in other games?
Under no circumstances
Is it allowed to use the developments, components, or assets presented in this file to create your own files?
Only after receiving the author's permission
Are there any developments from other people in this file for which the author has permissions, but which cannot be distributed without the consent of their authors?
No
Comments 6
© 2008- LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search