Farming

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I'm trying to put a farming mechanic in my game, and I know how to do it, but I want the player to have to wait a bit for the plant is fully grown (a day). Is there anyway to do this?

Here's the event template I'm using. It's basically the same for each stage of growth, except for the Self Switches and text being different.

Event 2.png
 
Last edited by a moderator:

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
That's kinda what I was doing, but I want the player to have to wait a day in real time. Is that possible?
 

Juunanagou

Veteran
Veteran
Joined
Jul 19, 2012
Messages
122
Reaction score
42
First Language
Italian
Primarily Uses
In real time? You mean 24 hours? Or game hours? Like you go to bed and wake up with full grown crops?
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
Yeah. It's a Harvest Moon kinda game.
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
Even without scripts it is possible.

You need to set up the variables, switches, self-switches, common events, etc.

Check out the tutorials on this forum. 

If you have or planned to get Celianna's Rural Farm Pack, she has a great farming sample project which can be used too.

It's all pure eventing.
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
Thanks! I really wanna get the core engine done before I add quests, story etc. :)
 

Nightstag

Warper
Member
Joined
Nov 5, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I made this project that demonstrates the use of Common Events and Self Switches to create a farming system. Make sure to read the comments I left in the Common Event section.  :)

Edit: Not sure what happened, my Chrome is blocking it....I'll see if I can fix it.

Edit: I attached it directly, I guess Chrome doesn't like Dropbox?

Edit: Question, were you wanting it to be to where the plants could grow even when the game's not open?

Farming.zip
 

Attachments

Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
If you need it in real time (as in the time in the real world), you'd need a script to fetch the time from your computer or somewhere else...
 
Last edited by a moderator:

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I made this project that demonstrates the use of Common Events and Self Switches to create a farming system. Make sure to read the comments I left in the Common Event section.  :)

Edit: Not sure what happened, my Chrome is blocking it....I'll see if I can fix it.

Edit: I attached it directly, I guess Chrome doesn't like Dropbox?

Edit: Question, were you wanting it to be to where the plants could grow even when the game's not open?
Yes, I want it to run even when the games not open.
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
Which Harvest Moon would that be?

The original one required you to sleep before switching to the next day.

The other versions kept the clock running while you're in-game. Didn't know of any that continued running after you switch it off.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You cannot make it run while it's closed, but you can check the time difference of course... Vlue has a script that allows you to use the computer's time as your game time.

The original one required you to sleep before switching to the next day.
Eh? I could stay awake until the next day on all HM that I played... You just doesn't recover energy if you did...
 
Last edited by a moderator:

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
@Engr. Adiktuzmiko :

The first Harvest Moon I ever played was on the SNES. When you reach night time, you could stay awake all night & the time will never pass.

In all other versions I have seen including the GBC remake, time passes as you said.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I was born on the PSX era, so my first HM was Back to Nature... XD
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
Good one, Engr Adiktuzmiko. I understand now. (Too bad my I reached my daily quota of likes).

@ SebazWorld :

As Engr.Adiktuzmiko mentioned, try Vlue's Basic/Advanced Game Time as well as Climate scripts (if you want to incorporate that in your game).

You can also check Galv's Event Spawn Timer script for your crops.
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
Yeah, I'm using Vlue's script now. I am gonna use climate but make different maps for the seasons. The time system I want is like Animal Crossing. I am incorporating it now, but it's hard getting time specific events.
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I've got a screenshot, with Vlue's script. How would I go about doing the time specific events?

Screenshot 1.png
 
Last edited by a moderator:

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
All of Vlue's scripts have instructions on how to use script calls and/or message code.

I'll assume you are using Vlue's Basic Real Time script since you implied that you want your game to run according to real time.

A quick example using the instructions provided is to create an event with a conditional branch.

- click on tab 4 and select 'script'.

- type in 'RTime::minute
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I'm actually using the advance script, because I like the dates and stuff. Will it still be the same?
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
The script calls and message codes will be different but you will be able to implement your time system.

That script also uses real time if needed, you just need to adjust the settings from withing the script itself.

You just need to to fiddle with simple events using the provided script calls & message codes to understand how to use it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top