Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Advanced Month/Season & Day System

Advanced Month/Season & Day System


This Tutorial applies for RPG MAKER VX & RPG MAKER XP.
It Can Be Done on Either Maker.

[ADVANCED TUTORIAL - ONLY FOR GOOD EVENT MAKERS]



First Things First, you will want to decide what to do for your game, whether it be seasons, months or just days.


To make different months/seasons, first you have to decide how many days are in each. For simple reference, we will say that there is 30 days in each month. You will have to add this onto a 'sleeping' or day changing event as I call it. Like if your character goes to bed, and the day changes, this is a basic add on to that event. So open up that even you made, and get ready for some complicated variable/switch work. First you have to make the months/seasons you want in the switches (Seasons are MUCH easier to make). After that create a variable called 'day'. This is going to be the variable that acts as the amount of days in your season/month. So once I have my 4 seasons that I have decided to make, and I have decided how many days (30) I want in them, we are ready to get to work.

Step 1- At the beginning of your game, set the 'Day' Variable to 1, and turn the season/month you want your game to start on in the switches. I will start on spring.

Step 2- Go into your 'Sleeping'/'Day Changing' event and create a conditional branch.

Step 3- Edit the conditional branch so it says: "If 'Season/Month switch' is on" Then inside it, write something to say like "Spring Day 1" when your character wakes up.

Step 4- Now inside that conditional branch, make another one, but this time make it say: "If Variable 'Day' Equals 'Amount of days in your season/month'"

Step 5- Now inside THAT one put actions to:

>Change Variable 'Day' to 0
>Turn Switch 'Starting Month/Season' off
>Turn Switch 'Next Month/Season' on

Step 6- Now lets go back to the first Conditional branch we made, and in the Else category, copy and paste the current conditional branch with everything in it into the Else category.

Step 7- Change the Conditional branch data that you just copied so it reads the next month and season in everything.

Step 8- After you finish EVERYTHING (It takes a long time so be patient) Make the game either end (If you want) or the seasons repeat.


I may soon be posting a demo explaining this a little batter, because it is REALLY hard to explain this, but hopefully you understand!

Thanks, and I hope it helped! - Linkio123

Details
Tutorial: Advanced Month/Season & Day System
Date Listed: 2010-08-07
Author: Linkio123
Total Hits: 5973


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal