Poll

Like?

Yes
No

Author Topic: Hunger Mod | V2.5 | HUGE UPDATE  (Read 16078 times)

| Hunger Mod |

----------------------------------------



Description:
Adds hunger, food, and hydration into any RPG or server you feel like.



Features:
  • Hunger, food, and hydration
  • [0]RTB preferences
  • Events to nourish food, hydration, and hunger
  • [0]VCE Compatibility



Information:
  • Type .hungerhelp for a list of a few commands
  • [0]Type /checkFood to get your current amount of food
  • Type /eatFood [amount] to eat an amount of food that will replace that same amount of hunger
  • [0]Type /startHunger as an admin to start the hunger mod
  • Type /stopHunger as an admin to stop the hunger mod
  • [0]Use events to set, or add food, hydration, and hunger
  • VCE Variables are: <var:client:food> <var:client:hydration> and <var:client:hunger>
  • [0]Hydration is fully toggleable by doing /togglyHydration or using RTB preferences



Commands
These are for people that aren't using RTB Preferences
  • /setHungerTick [time]  - This will change the tick time between hunger and hydration decrements, this is in milliseconds and has no cap
  • [0]/toggleHydration - This will toggle hydration being used
  • /setMaxHunger - This will set the max hunger allowed
  • [0]/setMaxHydration - This will set the max hydration allowed
  • /setHungerDecrement - This will set how much hunger is taken each tick
  • [0]/setHydrationDecrement - This will set how much hydration is taken each tick



Planned:
  • Items that will return food
  • [0]Commands to set a clients hunger, food, and hydration
  • A command to transfer food between clients
  • [0]Feel free to suggest!



Download:
Here!



Credits:
JazZ - All the scripting itself
Coding help - all the guys in here, they're really great and helped me tons!
The Bright Dark & Dr.Zegobob - Beta testing


--This is not compatible with the old Script_Hunger and will not work when it is enabled!--

« Last Edit: September 15, 2012, 07:36:55 PM by ¥ola »

Epic! I helped beta test this :)


Are these global settings or for individual players, because if anyone can change their hunger time thing they'll just set it to some number that'll make them never die.
To set your tick length: /setHungerTick "Time" - No quotes around time
To start the hunger lowering loop: /startHunger
To stop the hunger lowering loop: /stopHunger
Help: /hungerhelp
Checking you hunger: /checkHunger

So I'm guessing this works exactly the same way Script_Hunger works?

Are these global settings or for individual players, because if anyone can change their hunger time thing they'll just set it to some number that'll make them never die.
Will edit when I get back on my desktop tomorrow, but all the commands are admin only except for checkHunger, and hunger help.

So I'm guessing this works exactly the same way Script_Hunger works?
Wrong.  Look at the old mods topic and then this one, plus the old one relied on cashmod, and didn't really work.

Will edit when I get back on my desktop tomorrow, but all the commands are admin only except for checkHunger, and hunger help.
Okay cool, wasn't really sure on that :P

make the food a variable of some sort, so it's not crowding the inventory, or make it like a bag/crate of food you can carry around, and it automatically or manually feeds you



Not necessarily

minutes? 30 seconds? what are they worth in time?

minutes? 30 seconds? what are they worth in time?

Tick time when setting it is in milliseconds, just like events.

/sethungertick 30000
That would make each tick 30 seconds.

Tick time when setting it is in milliseconds, just like events.

/sethungertick 30000
That would make each tick 30 seconds.

will it work if we set it above the event limit of 30000? wanted to set it to like 15 minutes or something.

will it work if we set it above the event limit of 30000? wanted to set it to like 15 minutes or something.
so take 60 x 1000 so you have 60000, then x that by 15

simpleeeeeeeeeeeeeeee

so take 60 x 1000 so you have 60000, then x that by 15

simpleeeeeeeeeeeeeeee

i wasn't asking how much milliseconds 15 minutes is.