Main Menu
  • Welcome to The RPG Maker Resource Kit.

Hunger System??

Started by Daelin, February 02, 2006, 09:22:09 PM

0 Members and 1 Guest are viewing this topic.

Daelin

I am currently using RPGM2K, and I want to know how to make a hunger system.

By this, I mean after a certain amount of steps, your character's status changes to "Hungry", and HP is deducted during battles, and while walking.

The status would be curable with items like "Meat" or "Apple".

I also wanted to make another system similar, only make it for Thirst.

Can anyone help??
"Sure we were created equal... but I've been levelling up." - Me

live4eva

hi i carnt script but ill try and find somethink for you and when i do ill post it or pm you ok

~live4eva~

blueXx

that's easy lol
scripting my ass...

here is what you do, make a variable named hunger and make a common parallel process going:

wait 5 frames
hunger: +1

if hunger = 800 then
-message: you should find something to eat asap
if hunger >= 1000 then
-switch (hungry) = on
else
-switch (hungry) = off

if switch(hungry) is on then
-change hp: entire party : -10 (ouch 10 hp damage per 5 frames, feel free to change it though)

and in battles, trigger it so that in every turn the battle event will work, and the battle event looks like:

if switch(hungry) = on then
-change hp:entire party: - 100

now make food items, link them to common events
say you make an apple, it's common event will be:
variable (hungry) : -500

and meat will reduce 1k or something and so on
holy shit my sig was big!

King Anesis

Quote from: live4evahi i carnt script but ill try and find somethink for you and when i do ill post it or pm you ok

~live4eva~

Did you miss the RPGM2k of the post? :whoa:  :O_o:
Do you want to be part of a growing Gaming Community, with many galleries, comics, active community, and gfx artists? Also known to be friendly. Also want some free anime music just for signing up? Play in the arcade?



Click Community Forums to join!

< Zelda Fan Club

ahref

blue you beat me to it

you could also use the poisned status for if the food was poisened