Hooray! Thanks, I'll wait!
Orange Time System
JS Plugin Releases (RMMV)Thank you! (Though if you wanted to create an event for each dayPeriod variable, it isn't implemented, yet.)
There is another problem, though:
(image missing, because I am apparently only allowed to upload .bmp images, which are invisible upon posting)
http://imgur.com/6oB20nZ
When I run this common event, it doesn't work. I tried it with OrangeOnLoadEvent, I tried it with a Player Touch triggered event in the game and other possibilities, but it won't work.
Commen Event #16 works if I put it separately in the game as a switch.
Those lines are script calls, not plugin commands.
So I have to use the Script button or what? It still doesn't work with that.
It should work with the script button. Do you get any error information on the console?
None.
Found a bug here. You can use those two lines until I get a chance to upload the fix:
Code:
OrangeTimeSystem.onDateTime(16, undefined, undefined, undefined, 9, 0, 0)OrangeTimeSystem.onDateTime(16, undefined, undefined, undefined, 23, 0, 0)
YES! It works, thank you!
It looks like I've found a bug. If the value of 'secondLength' of less than 5 milliseconds, the time does not match the calculations. At 5 ms, 1 h = 18 sec, at 4 ms and 1 hour = 15.6 seconds, and then time does not fall below 15 seconds per hour.
In test mode, it would be convenient to use the minimum value of 1 ms.
In test mode, it would be convenient to use the minimum value of 1 ms.
I'll test it here 🙂
This is a really neat plugin!
Took me some time to get it to work, but now it works fine ^^
Took me some time to get it to work, but now it works fine ^^
This happens because the game takes about 5~6 milliseconds to do all the processing it needs to do on the game itself, so it can't keep the timesystem refreshing every single millisecond. One frame can take up to 16.6 milliseconds to process while on 60fps.
But I'll change the time system to workaround that and instead of trying to add 1 second every millisecond, to add 10 seconds every 10 milliseconds.
I've also added an option to specify a different secondLength while the game is being playtested.
Thank you Hudell, that is a very nice plugin!
Since we have "run common event 6 in 5 minutes" now, can we have a "turn off self-switch A in 5 minutes"?
I'd like to make an event of a tree from which the player can collect some fruit every 6 hours in the game.
Since we have "run common event 6 in 5 minutes" now, can we have a "turn off self-switch A in 5 minutes"?
I'd like to make an event of a tree from which the player can collect some fruit every 6 hours in the game.
Yeah, I can add that.
Is it possible to add the 8 hours + my variable?
Yeah:
Just change the number 15 by the number of the variable.
Code:
OrangeTimeSystem.addHours(8 + $gameVariables.value(15));
Hey Huddell, thanks for the awesome time plugin! I am needing a bit of assistance, I hope it isn't too much of a bother, but I was using your HUD plugin in conjunction with this plugin, as well as the variables plugin, but my clock on the HUD doesn't update, and my date is incorrect, do you have any idea what I can do to fix this? Please and thank you!


Hmm, did you set the right variables? I'm away from my computer so I can't check it today
I did set the right variables, I even went back and made sure, for some reason though, when I check my debug screen the only variable that updates is the one I have set for the Name of the month for some reason
Original thread: https://forums.rpgmakerweb.com/threads/orange-time-system.46509/
