Help - Search - Members - Calendar
Full Version: a different kind of night and day...
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
Marian_Frae
Ok, so I've seen some scripts that cause time to pass in your game... and I really want different times of day but only once they reach certain areas of the map. Is there some way I can implement the passage of time through events? Where... once player crosses this line, the sun goes down a little(so to speak) and stays at that level until they cross the next line? Even if they backtrack?
And... if it involves scripting, is there already a script that someone wouldn't mind helping me alter for my purposes?
poisonshift
You need to find a script in the script section, try that. If you have any problems or questions, then you should ask. There is a stickied post at the top of the VX scripts page that has a compiled list of scripts.
darkace77450
You can set up a series of events that activate on player touch that change the screen tint (and implement any other effects you wish to happen at night). Adding self switches so you can have a page for day and night changes would be necessary so the player can trigger day when backtracking over the event.
Robocroakie
Yeah, events and switches are the best way to go with that one - scripting would be complicated and unnecessary.
Marian_Frae
@darkace I DON'T want backtracking to reset the switch. That's why I was wondering if it's a script I need. So... do I make a switch if I want it to stay one time until next area of change and selfswitches do the opposite? Or does wanting it to stay "switched" so to speak make it a bit more complicated?
Robocroakie
Then just set it so that backtracking DOESN'T reset the switch.

And you won't necessarily need switches, because when you enter an area, you could just have it as an entirely new map - and have parallel process to make it change the time of day and/or weather on each individual map. If you did it that way, you'd have no reason for switches.
Marian_Frae
Hmm... I think I get what you're saying, Robocroakie, but wouldn't that mean that if they return to the old area, they would be back in the old time? Or are you saying multiple complete maps with all the different areas with different times? And the player would just be transported to the next square on the later-in-day map?
Robocroakie
QUOTE (Marian_Frae @ Apr 9 2010, 08:44 PM) *
Hmm... I think I get what you're saying, Robocroakie, but wouldn't that mean that if they return to the old area, they would be back in the old time? Or are you saying multiple complete maps with all the different areas with different times? And the player would just be transported to the next square on the later-in-day map?


Yeah, that's exactly what I was saying.

Or if you did it the first part of that post (the 'going back to the previous map, time restores to a previous time'), you could easily disallow backtracking in certain areas, but if there ARE areas where you would want/need backtracking, you'd have to use switches in order to disable it.
That could get kinda tedious, but it's possible nonetheless.
Marian_Frae
Alright! Sweet, thanks! I think I'll go with the multiple maps. If I were to, at some later point in time, get someone who actually knows what they're doing help me--would switches mean the game's size is smaller? I assume it would... but... as I implied- I don't really know what I'm doing.
Robocroakie
Well, the switches thing WOULD make it smaller, but it depends really on how many maps were truly involved, and how large they were.

And I think having so many events can significantly increase game file size, but don't quote me on that one.
Balddog
KGC's Day/Night Script
It's the best day and night script i know of. You can customize it to your liking fairly easily. Check it out.
Marian_Frae
Thanks, both of you, very much! I will definitely look into all three options laid before me... and possibly even try out all three. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.