Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Hunger System
« previous next »
  • Print
Pages: [1]

Author Topic: Hunger System  (Read 1892 times)

Offline armouredturtle

  • -=Cowboy from Hell=-
  • Initiate
  • *
  • Posts: 6
Hunger System
« on: January 03, 2006, 03:25:37 AM »
Right well...

I read this from a tutorial, the tutorial reads...
____________________________________________________
GOING HUNGRY
This will make it so if your hero doesn't eat he'll go hungry and die.

Things to know:
Switches
Items
Wait

Make an Item called 'food' (or 'steak and potatoes dinner' for all I care) it should be
a switch item. Make it turn on a switch called 'Feed'.
Make a Parallel common event called 'going hungry', activated by a switch called 'eaten':

WAIT 60.0
(Put waits as many times as you want)
MESSAGE "_hero name_ is getting hungry"
(WAIT some more)
GAME OVER

It is easy
Now make a Parallel common event called 'eating food', activated by a switch called 'feed' Make it:

CHANGE SWITCH OFF 'eaten'
CHANGE SWITCH ON 'eaten'    (This resets going hungry)
CHANGE SWITCH OFF 'feed'

There! Now at the start of the game, turn on switch 'eaten' and you have it.

____________________________________________________

I did all of that, and it doesn't seem to work. I have RPGmaker 2k3 here. and it just doesn't work. I have no idea whats going on, so if anybody can find an error in there tell me, or if they have a better system (different foods allow for longer 'wait' times) then tell me, or just tell me how I can edit the current system to make it more flexible, like how I explained in the parentheces.
Thanks.
Logged
Deed is done again, we've won
Ain't talking no tall tales friend
Cause high noon, your doom
Comin' for you we're the Cowboys from Hell
[ R.I.P. Dimebag ]

Offline VulcanRaven336

  • Yee!
  • Zealot
  • *
  • Posts: 579
  • I Use Photoshop 7.
(No subject)
« Reply #1 on: January 03, 2006, 04:19:08 AM »
Naw man, that's a pretty lame tutorial. Look, I used a tutorial that worked pretty well but sometimes it lagged, and (it had a meter that showed you how hungry you were) when you overfilled the meter it seemed like it was empty. You can probably find some modifications to make it better. If you want it just pm me and i'll give it to you.

PS: With the tutorial I told you about, you can actually make food items that made you less hungry, it used variables, you gotta have a little knowledge on variables to be able to pull it off!
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Hunger System
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum