Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
So I'm trying to make a hunger, thirst, and karma system using this guide to make the HUD and such, but rather than the system going by the number of steps to deplete hunger and thirst, I wanted to use this time system script so that your hunger and thirst deplete as the hours go by, and that karma raises/decreases depending on your actions in the game.

I'm a little stuck. I have the HUD graphics made, but I have no idea where to go from there  >_>  Could someone help out? Thanks a ton in advance.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,604
First Language
Dutch
Primarily Uses
RMMV
Can all easily be evented yourself.


Actually, why don't you go ahead and donate $12 to Humble Bundle to score the Rural Farm Tiles resource pack - it includes a graphic based HUD with a working time system. You can tweak it so that it shows your own HUD graphics, as well as have it deplete HP/MP through time.


Also I want to point out the script you linked was a script for RPG Maker XP, and the tutorial you linked is for VX Ace, so I'm assuming you have VX Ace, in which case that script won't work with the program.
 
Last edited by a moderator:

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Can all easily be evented yourself.

Actually, why don't you go ahead and donate $12 to Humble Bundle to score the Rural Farm Tiles resource pack - it includes a graphic based HUD with a working time system. You can tweak it so that it shows your own HUD graphics, as well as have it deplete HP/MP through time.
Well I know it can be evented but I'm not sure how to go about it XD

Also I can't purchase it now because I'm under 18 and don't have a credit card/Paypal/means of buying stuff online, so I'll look into it when my mom gets home, and I was looking for something to use with the time system script available anyway rather than buying something new. I mean I'll definitely look into it if I can't, but for now I'll try this :p Thanks for the advice anyway.
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Are you sure you can use it though ... ? Like I pointed out, it's for XP.
The engine I'm using is XP, which I tagged this thread with :p
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,604
First Language
Dutch
Primarily Uses
RMMV
Woops, didn't notice the tag. My bad. That means you can't use my evented time system either way.


Anyways, if you use that script, you can use variables for the hour/minute/day whatever. In combination with those variables, you can have a common event set to parallel process check what hour it is, and subtract your HP/MP (which is hunger/thirst for you). You'd need one extra variable for this. Create a conditional branch in your common event; check if variable Hour is greater than Variable X. Variable X will be a a variable you pick out yourself, call it Temporary Hour or something. If true, subtract HP/MP, and set variable Temporary Hour to variable Hour.


When you start out your game, you must set variable Temporary Hour to variable Hour only once. This is so that the variable doesn't stay at 0 forever, it needs to start with the same value as your hour variable is. That way you can tell whether the hour has increased or not.
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Woops, didn't notice the tag. My bad. That means you can't use my evented time system either way.

Anyways, if you use that script, you can use variables for the hour/minute/day whatever. In combination with those variables, you can have a common event set to parallel process check what hour it is, and subtract your HP/MP (which is hunger/thirst for you). You'd need one extra variable for this. Create a conditional branch in your common event; check if variable Hour is greater than Variable X. Variable X will be a a variable you pick out yourself, call it Temporary Hour or something. If true, subtract HP/MP, and set variable Temporary Hour to variable Hour.

When you start out your game, you must set variable Temporary Hour to variable Hour only once. This is so that the variable doesn't stay at 0 forever, it needs to start with the same value as your hour variable is. That way you can tell whether the hour has increased or not.
Okay, thanks so much! :)
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Sorry to double post, but it's been a few days... how do I get my HUD graphics to show up, and deplete according to the time?

Here's what I have for HUD graphics

Base

rFp1Psr.png


Hunger

EYHj0UN.png


Energy

pVKqkGO.png


Karma

2wJw0Gy.png
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

By the power of timezones! This picture shall still be posted on december 1st!!!
7xI2Gc2.jpg

This is not something I'd ever even considered but wow! What a way to use music in a game.
I am a complete fool. I went through the trouble of making a clone sprite and setting up a system to have the characters flash, when it turns out - I never noticed that the "._mainSprite" was the actual bitmap being used. I'm happy since that makes compatibility easier, but I also want to scream.
Synchronizing bust and sprite expressions! Plus using a phone behaviour :kaopride:
BVadZby.gif

Long gif tho, let it load first :kaoswt2:
Wondering how to force a Save State in VNMaker with a name and how to call it with a scene event in order to double check if this Save State exists or not. Phew... Leaving breadcrumbs for chapter DLCs to pickup would be more than half the fight in order to finish this visual novel :LZSsad:

Forum statistics

Threads
117,115
Messages
1,104,710
Members
153,156
Latest member
ridge_tim
Top