Vlue's Advanced Game Time help!

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
I have been playing around with new scripts and experimenting etc and i have come to a roadblock. im working on a simulation project similar to rune factory and i am using vlue's advanced game time script to mark day time month etc. 

I'm not yet that experienced with modding scripts so i have a few questions to ask here.

anyone who is familiar with this script can you help me out with:

how to make events appear once a day. similar to games like rune factory and harvest moon where u can go to a point and pick up raw materials daily and once a day.

how to make time progress when you sleep.

how to fast forward time to the next day etc.

here is a link to the script here.

http://www.rpgmakervxace.net/topic/6145-advanced-game-time/

thanks to those who helps me with my noviceness. 
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
You've come to the... well, place because I have answers! I'm sorta familiar with the script. So let's see.

Once a day events, you can use a seperate switch for each daily resource, then at the end of the day, have a common event run that turns all those switches off, it can be parallel process and set to do so every like.. 12am, or it can just be one you call each time you sleep.

Time progression: Script call like... 

GameTime.set("addhour",8)

would set time ahead by 8 hours.

Fast forward time to the next day... Also easy, like if you wanted it to be 6am the next day.. Script call:

GameTime.set("addday",1)

GameTime.change(0,0,6)

One call to forward the day, and one to change the hour to 6am

:3
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
you're the best vlue thanks! he himself helps me with his script i am honored!
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
You've come to the... well, place because I have answers! I'm sorta familiar with the script. So let's see.

Once a day events, you can use a seperate switch for each daily resource, then at the end of the day, have a common event run that turns all those switches off, it can be parallel process and set to do so every like.. 12am, or it can just be one you call each time you sleep.

Time progression: Script call like... 

GameTime.set("addhour",8)

would set time ahead by 8 hours.

Fast forward time to the next day... Also easy, like if you wanted it to be 6am the next day.. Script call:

GameTime.set("addday",1)

GameTime.change(0,0,6)

One call to forward the day, and one to change the hour to 6am

:3
hey vlue how about making things happen at certain times of the day and npc appearing at certains times etc.
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
The best and easiest way to do events happening only at certain times would be if we could set up pages to only be active at certain times... but alas that just isn't... wait a minute... it tottally is! Now, I may not be the only one who's had this idea, but I am the one you're talking to, so if you use this script:

http://pastebin.com/e7B2zddW

Aptly called the Script Event Page Conditions script (or Script that makes it so you can set more conditions for pages script for short, don't blame me, I don't name these things (I do, I'm sorry it's late, I think I'm funny)).. moving on.

With that script in, you could put a comment at the top of the page of an event that says something like...

SC: if GameTime.hour? == 6

Then that page of the event will only be active if it's 6am, and if it's the only page, then it won't even be there unless it's 6am! 

Hope that's enough info.

The other method would be parallel process events and switches and other complications, etc. etc. bunny.
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
The best and easiest way to do events happening only at certain times would be if we could set up pages to only be active at certain times... but alas that just isn't... wait a minute... it tottally is! Now, I may not be the only one who's had this idea, but I am the one you're talking to, so if you use this script:

http://pastebin.com/e7B2zddW

Aptly called the Script Event Page Conditions script (or Script that makes it so you can set more conditions for pages script for short, don't blame me, I don't name these things (I do, I'm sorry it's late, I think I'm funny)).. moving on.

With that script in, you could put a comment at the top of the page of an event that says something like...

SC: if GameTime.hour? == 6

Then that page of the event will only be active if it's 6am, and if it's the only page, then it won't even be there unless it's 6am! 

Hope that's enough info.

The other method would be parallel process events and switches and other complications, etc. etc. bunny.
hey vlue its me again. can u tell me how to stop time? i tried following your instructions on the script page but i think im doing it wrong because it didnt work.
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Should just be a script call:


GameTime.notime(true)


and then to start time


GameTime.notime(false)
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
Should just be a script call:

GameTime.notime(true)

and then to start time

GameTime.notime(false)
do i write it exactly like tht in the comment box of the event page?
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Not a comment box, but a script box. Page 3, last command.
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
The best and easiest way to do events happening only at certain times would be if we could set up pages to only be active at certain times... but alas that just isn't... wait a minute... it tottally is! Now, I may not be the only one who's had this idea, but I am the one you're talking to, so if you use this script:

http://pastebin.com/e7B2zddW

Aptly called the Script Event Page Conditions script (or Script that makes it so you can set more conditions for pages script for short, don't blame me, I don't name these things (I do, I'm sorry it's late, I think I'm funny)).. moving on.

With that script in, you could put a comment at the top of the page of an event that says something like...

SC: if GameTime.hour? == 6

Then that page of the event will only be active if it's 6am, and if it's the only page, then it won't even be there unless it's 6am! 

Hope that's enough info.

The other method would be parallel process events and switches and other complications, etc. etc. bunny.
just wondering. how would i make them appear and stay on a map for more than 1 hour
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top