I tried that but it gives me an error if I go out of the side border.
Basic Game Time + Night/Day
RGSS3 Scripts (RMVX Ace)I tried that but it gives me an error if I go out of the side border.
Then there's probably a limit and you might need to use the script call on all the maps that don't fit. Either that or open the bracket on the first line then put all of the map id's on the next line, then close the bracket.
Look at line 89 of the script. You can set the time there, just change the number to the time you want the game to start. You don't need an event.
It isn't to set what time it's going to be. It's to make it visible.
The clock should automatically be visible. As long as line 37 is set to true.
It is set to true, but all it's doing is tinting the screen.
Hmm... How is the event set up?
It's a parallel process and it just has the script call in it.
Edit 1:Tested it in a blank project and it works fine, though I have nothing in my current project that uses the same methods or anything.
Edit 2: Urgh. That's annoying. It was a save screen script that was causing the problem. And I liked that one too. Well, guess, I'm back to Yanfly's.
Edit 1:Tested it in a blank project and it works fine, though I have nothing in my current project that uses the same methods or anything.
Edit 2: Urgh. That's annoying. It was a save screen script that was causing the problem. And I liked that one too. Well, guess, I'm back to Yanfly's.
EDIT: Sorted now.
Hello!
Absolutely LOVE this script! I do, however, have a couple of questions.
1. Can I display the time in an event rather than on an on-screen clock?
2. How do I stop the screen tinting every time I enter into an event?
Thanks!
Absolutely LOVE this script! I do, however, have a couple of questions.
1. Can I display the time in an event rather than on an on-screen clock?
2. How do I stop the screen tinting every time I enter into an event?
Thanks!
You can actually. First you need an event making sure that the clock is hidden on the screen (using the script call GameTime::clock(false) ) Make sure this event is a parallel process and that you erase the event after. Then set up an action button event on a clock or whatever you want to tell the time. The event should be set up like this:
GameTime::clock(true)
transparent text box with no text. (so that the clock doesn't disappear right away)
GameTime::clock(false)
Thats about it, It should work. I used it myself. Sorry I'm not sure how to answer your second question.
Hi Vlue,
Great script, I used it with some moderate success. It aso showed be enough about Ruby to build my own script for something else.
One thing - I have a "World Map" running and I can't seem to get the day/night tinting to work. Yet in another map, in the same project, does. Any idea why?
Cheers!
Great script, I used it with some moderate success. It aso showed be enough about Ruby to build my own script for something else.
One thing - I have a "World Map" running and I can't seem to get the day/night tinting to work. Yet in another map, in the same project, does. Any idea why?
Cheers!
Ok... I am new to this so, how do I actually use the script? I don't know the first thing about scripting.... I'm sorry! Please help!
Read Andar's tutorial for beginners. Link in signature block.
hello ive got a quick question, whenever its night time and i enter a building the shading stays and doesnt reset.
video showing you what i mean here:
is there a way to make it reset?
video showing you what i mean here:
is there a way to make it reset?
Can someone please help me resolve my issue? it would be much appreciated!!
You can reset the tint with simple eventing on these maps.
Just use a parallel process event which sets the tint to 0,0,0,0, and stick an "Erase Event" at the end of it. Do this for all of these maps.
Just use a parallel process event which sets the tint to 0,0,0,0, and stick an "Erase Event" at the end of it. Do this for all of these maps.
nvm ignore this
sorry i havent gotten the chance to actually try this until now, but that didnt work. i set it up and when i walk into the building its still dark in it.
https://gyazo.com/9c04c9d25cfe14f013653567d7d98936
https://gyazo.com/7fd4891096ccffb2f734c339d44d8719
You have to use a note-tag on your maps to set them to indoor maps, otherwise the tint will be taken from the time system no matter what your do.
Also, set that tint event to be 1 frames long and not 60, that way it should be instant change.
Also, set that tint event to be 1 frames long and not 60, that way it should be instant change.
Original thread: https://forums.rpgmakerweb.com/threads/basic-game-time-night-day.1079/