That would occur if you are loading a save file that was made before the script was put in.
Basic Game Time + Night/Day
RGSS3 Scripts (RMVX Ace)I have a question, in the game I'm working on, I have a nature bgs looping (tree leafs blowing, birds chirping etc.). When it turns to night, I'd like to have a night time nature bgs (crickets and such). Is it possible for the change of time to change the bgs? or even bgm?
You can set up a paralell process event on the map that plays bgm/bgs based on the time from the script.
hello wolde love to use thes day night script but can you guide me thrue on how to install it
regards buliwyf
ps im new to rpg maker vx ace
regards buliwyf
ps im new to rpg maker vx ace
I need help!! I just want a time system under common events that goes like this:
EARLY MORNING: 2-8 early morning switch on
MORNING: 8-12 swicth on
AFTERNOON: 12-5 switch on
EVENING: 5-8 switch on
NIGHT: 8-2 switch on
*of course the other switches need to turn off when one turns on.
EARLY MORNING: 2-8 early morning switch on
MORNING: 8-12 swicth on
AFTERNOON: 12-5 switch on
EVENING: 5-8 switch on
NIGHT: 8-2 switch on
*of course the other switches need to turn off when one turns on.
I'm okay now. 😛
You would copy and paste the script and place it in the script editor in a new line above Main, and below Materials (use Insert to add a new line)
Hi was wondering if it would be possible to have certain events and monsters tied to the ingame time? I tried so I think I'm doing something wrong.
PS: =) nice script btw!
PS: =) nice script btw!
You can use parallel process common events to turn switches for events on and off based on what the time is (using conditional branches), there's also an option in the customization to use a switch to be turned on/off for day and night, but that's mostly generic. And lastly I have a script called Script Event Page Conditions which lets you use script calls to determine whether the page of an event is valid or not as well as a script called Enhanced Encounter Conditions, which lets you set extra conditions for Troop Encounters, so you can set up certain ones to only appear at certain times.
An example script call that checks for a time between 6am and 6pm for any of the above checks would be:
GameTime.hour? > 6 and GameTime.hour? < 18
An example script call that checks for a time between 6am and 6pm for any of the above checks would be:
GameTime.hour? > 6 and GameTime.hour? < 18
Thank you I'll try this when I get more used to your script (still exploring and testing it). Quick question, when the character goes to a new map, the clock stops progressing n also the tint isn't on what I have it set for time. The character was originally in a map where I had the tint on pause then on the new map, I had the pause on false and gametime.set(900) it says 3:00 pm on the clock but it's not progressing. Also, I think the tint is in the morning tint (it's real bright)
Make sure it isn't a no tint map, which are decided in the customization section of the script by NOTINTMAPS, by default for testing purposes map #2 is set to a notint map. Though.. that shouldn't effect the time...
Hi! checked and it isn't. The weird thing is, when I talk to people, the time would start moving, but after I'm done talkin to them, it resets back to the time it started as and it will stop moving again. Also, I did false for time pause and still no luck. By the way, for the notintmaps, when I add more IDs, would it look like this? [1,n,n,n,n,etc,]
update: yeah it only gets stuck when I use gametime.set(931), is there another way to set the time? would gametime.hour? work? (I actually don't know how to set the time by using this one). Aside from that, everything is working wonderfully, although now I get an error/crash when I talk to a shop keeper. It looks like it's looking for the clock in the shop window?
it says,
script 'game_interpreter' line 1411:NoMethodError occured
undefined method 'clock_visible?' for #<scene_shop:0x936519c>
-I fixed the question below =)-
One more question if you don't mind!
i have another thing set for the shift key, what other keys can I use instead of shift for the clock toggle section?
PS: Sorry for the many questions and problems u.u
You can use GameTime.change(###) as well, which increments time.
As for the different buttons, all available keys are listed in the RPG VX ACE helpfile under INPUT.
DOWN LEFT RIGHT UP A B C X Y Z L R SHIFT CTRL ALT F5 F6 F7 F8 F9
As for the different buttons, all available keys are listed in the RPG VX ACE helpfile under INPUT.
DOWN LEFT RIGHT UP A B C X Y Z L R SHIFT CTRL ALT F5 F6 F7 F8 F9
THANK YOU! everything is workin real well now, but I get this error when I talk to a merchant to open the shop menu,
script 'game_interpreter' line 1411:NoMethodError occured
undefined method 'clock_visible?' for #<scene_shop:0x936519c>
Hmm, I can't recreate that error even on purpose. Are you using the latest version and are you only calling the chop or are you doing anything else in the event?
Hi! I got it fixed! I deleted the script and re-pasted it XD and it worked. Now I just need to learn how to set up events with the time. Btw, is it possible to have the item and equipment shops closed at a certain time but the inn would b 24/7?
If you set up the events correctly, yup! I gave a couple examples of how to set up events with time a couple posts back that you can look at.
gna try! Would it be okay if I message you later on as well? >_< sorry if I'm being a bother btw.
Of course!
Wow thanks for the script! 😀
Although I do have a small problem for some reason tinting is only done indoors and i have not put the no tint switch on any of my outside maps.
Do you know how I can fix this?
Although I do have a small problem for some reason tinting is only done indoors and i have not put the no tint switch on any of my outside maps.
Do you know how I can fix this?
Original thread: https://forums.rpgmakerweb.com/threads/basic-game-time-night-day.1079/