Farming

● ARCHIVED · READ-ONLY
Started by NixasHearts 20 posts View original ↗
  1. 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
  2. That's kinda what I was doing, but I want the player to have to wait a day in real time. Is that possible?
  3. In real time? You mean 24 hours? Or game hours? Like you go to bed and wake up with full grown crops?
  4. Yeah. It's a Harvest Moon kinda game.
  5. 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.
  6. Thanks! I really wanna get the core engine done before I add quests, story etc. :)
  7. 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
  8. 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...
  9. Nightstag said:
    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.
  10. 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.
  11. 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...
  12. @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.
  13. I was born on the PSX era, so my first HM was Back to Nature... XD
  14. 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.
  15. 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.
  16. I've got a screenshot, with Vlue's script. How would I go about doing the time specific events?

    Screenshot 1.png
  17. 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
  18. I'm actually using the advance script, because I like the dates and stuff. Will it still be the same?
  19. 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.