Game Time - Time system

● ARCHIVED · READ-ONLY
Started by DK 74 posts Page 3 of 4 View original ↗
  1. slickdeath97 said:
    So I am trying to understand how this plugin work and am still new to this because of Ruby scripts (Am new to MV because I have mainly worked with Vx ace). So I want an npc to show up or a shop to open at 12:00 pm and I also want the game to be irt. How would I set this up exactly? Do I have to have variables for the hours, minutes, and seconds? I want it to read the specific time so as it hits exactly 12 pm, the npc shows up or the store opens. However when it hits 8 pm the npc is gone or the shop closes.
    You need to configure a switch that will automatically turn on at 8 o'clock and turn off at 12. You can do this in the plugin settings (section Other settings -> Switches).
    Just specify the switch number and set the necessary conditions. In this case, you will need 2 conditions with type hour, the first one is >= 8 and the second one is <= 12.
    Spoiler
    1690619095997.png
    Next, you need to create a merchant event. Leave the first page blank, without graphics, and make the second page with graphics and the activation condition for your switch.
    If you still have questions, then ask.

    I also recommend checking out the plugin demo (online or offline) on my website.
  2. DK said:
    You need to configure a switch that will automatically turn on at 8 o'clock and turn off at 12. You can do this in the plugin settings (section Other settings -> Switches).
    Just specify the switch number and set the necessary conditions. In this case, you will need 2 conditions with type hour, the first one is >= 8 and the second one is <= 12.
    Spoiler
    View attachment 271194
    Next, you need to create a merchant event. Leave the first page blank, without graphics, and make the second page with graphics and the activation condition for your switch.
    If you still have questions, then ask.

    I also recommend checking out the plugin demo (online or offline) on my website.
    Ok. Thanks so much for the info. Btw, I can't use the demo because it is for MZ not MV. Also, how would I set it up if I wanted a bar open from 6 pm - 12 am? Does the plugin act like a 24 hour clock that I can put up to 24 for the hour to indicate a later time than 12? Also, I set up the event, but the merchant is still there after it turns later than 12.
    1690650142787.png
    1690650168956.png
    1690650216491.png
    Am I doing something wrong?
    Edit: Figured it out with why the npc was still there. Am still wondering if the hours can be set to higher than 12 or what I have to do to specify the time for my bar event question.
  3. slickdeath97 said:
    Ok. Thanks so much for the info. Btw, I can't use the demo because it is for MZ not MV. Also, how would I set it up if I wanted a bar open from 6 pm - 12 am? Does the plugin act like a 24 hour clock that I can put up to 24 for the hour to indicate a later time than 12? Also, I set up the event, but the merchant is still there after it turns later than 12.
    View attachment 271217
    View attachment 271218
    View attachment 271219
    Am I doing something wrong?
    Edit: Figured it out with why the npc was still there. Am still wondering if the hours can be set to higher than 12 or what I have to do to specify the time for my bar event question.
    yes, the plugin works like 24 hours. if you need to do from 18 hours to 24 (00:00) hours, then you can use one condition where the hour is greater than or equal to 18
  4. DK said:
    yes, the plugin works like 24 hours. if you need to do from 18 hours to 24 (00:00) hours, then you can use one condition where the hour is greater than or equal to 18
    Ok. Cool. So if I have it right, if a player starts a new game at 5 am and a store is closed until 8 am, if they save the game and load it up later (say at 7:59 am) will it take the time into account from the loaded save? Sorry for all the weird questions, just want to make sure I am getting this right.
  5. slickdeath97 said:
    Ok. Cool. So if I have it right, if a player starts a new game at 5 am and a store is closed until 8 am, if they save the game and load it up later (say at 7:59 am) will it take the time into account from the loaded save? Sorry for all the weird questions, just want to make sure I am getting this right.
    Yes, if you have turned off the use of real time (in the plugin parameters), then the time is saved along with the save.
  6. DK said:
    Yes, if you have turned off the use of real time (in the plugin parameters), then the time is saved along with the save.
    What if I am using real time?
  7. DK said:
    used device date and time
    Ok, so how would I set up an event that only shows up at exactly 10:30 am while using real time and setting up the switches? Sorry for so many questions.
  8. slickdeath97 said:
    Ok, so how would I set up an event that only shows up at exactly 10:30 am while using real time and setting up the switches? Sorry for so many questions.
    Sorry for the late reply.
    This is more difficult. Through the switches, you will not be able to set the conditions for the activation of the switch at 10:30.
    I'm currently working on an update that makes it easier for time to work with events.
  9. Hey this plugin looks great, it's not working well for me so far though but this is hopefully just my lack of knowledge.

    so all my maps are Parallax, I'm using MV.
    So right now I am attempting to use this as my time system with the tints I am having an intermittent flash when I turn on the night/day plugin, here is a screen shot.
    This is the the flash VVV
    weirdflash.jpg

    This is without normal VVV
    noflash.jpg

    So I am currently trying to use the plugin to add a layer to my map at night and remove it during the day etc
    I use galv layer graphics, I tried repeating the method you showed SlickDeath97 to create a Day and Night switch, I was hoping it'd be as easy as setting up a parallel event with the plugin commands for galv layers to change the opacity of the layer to 255 or 0 depending on which switch is active, but so far all that's happening is the layer is going to 0 when I enter the map but not returning to 255 at night... any advice would be great, it might just be how I'm setting the event but I have tried various ways to no progress

    Screenshot 2023-08-08 at 9.00.17 pm copy.jpg
    Screenshot 2023-08-08 at 9.00.17 pm copy.jpg
  10. Hey, this is a cool plugin, much better than my previous clock day/night events, however, there seemed to be a drop in fps when the game loads up with the clock enabled its drops to 30, i turned off the plugins and the fps returned to 60 fps. my first clock event had fps trouble because it used parallel constantly, so was hoping this one was a good alternative
  11. jedite1000 said:
    Hey, this is a cool plugin, much better than my previous clock day/night events, however, there seemed to be a drop in fps when the game loads up with the clock enabled its drops to 30, i turned off the plugins and the fps returned to 60 fps. my first clock event had fps trouble because it used parallel constantly, so was hoping this one was a good alternative
    Do you have a demo where I can see the problem ?
  12. nvm it wasn't the problem, however, i have another problem, Well not really a problem, more like how to get it to work? I am using visustella lighting plugin, but however when it becomes night and the tint changes to your night settings, the light does not turn on, It requires a darker tint setting i think, but i don't know how to make your day night setting match with the visustella lighting

    example a normal night tint setting and your tint setting
    Also another thing, when the time is 12pm the tint doesnt want to clear, the maps still have a tint effect, probably an evening tint or early morning tint, the tint during the day is not 01694338104923.png
  13. jedite1000 said:
    nvm it wasn't the problem, however, i have another problem, Well not really a problem, more like how to get it to work? I am using visustella lighting plugin, but however when it becomes night and the tint changes to your night settings, the light does not turn on, It requires a darker tint setting i think, but i don't know how to make your day night setting match with the visustella lighting

    example a normal night tint setting and your tint setting
    Also another thing, when the time is 12pm the tint doesnt want to clear, the maps still have a tint effect, probably an evening tint or early morning tint, the tint during the day is not 0View attachment 276075

    Hi.

    I haven't tested the day/night add-on with other lighting plugins. You should probably leave only the Visustella plugin.
  14. Version 2.8.0:
    1. Added a new setting that allows you to control switches based on date and time. It is more flexible, which allows you to set more complex conditions.
    2. The previous setting for switches control is marked as deprecated.
    3. Fixed an issue with the time window flickering when moving the player with the mouse.
    4. Help updated.
  15. DK said:
    Hi.

    I haven't tested the day/night add-on with other lighting plugins. You should probably leave only the Visustella plugin.
    what do you mean leave only the visustella plugin

    also what about the issue with the tint not clearing when the time hits certain times of the day?
  16. jedite1000 said:
    what do you mean leave only the visustella plugin
    Are you trying to use the Day/Night plugin along with the Visustella lighting plugin?
    jedite1000 said:
    also what about the issue with the tint not clearing when the time hits certain times of the day?
    I'll see if there really is some kind of tint there.
  17. DK said:
    Are you trying to use the Day/Night plugin along with the Visustella lighting plugin?

    I'll see if there really is some kind of tint there.
    yeah i was using the visustella light plugin with ur day night plugin
    with the tint it seems to be stuck on the morning tint i think even after it reached 12pm
  18. jedite1000 said:
    yeah i was using the visustella light plugin with ur day night plugin
    with the tint it seems to be stuck on the morning tint i think even after it reached 12pm
    Visustella plugin doesn't have its own screen tints?
  19. DK said:
    Visustella plugin doesn't have its own screen tints?
    just with plugin commands and preset colors i suppose 1694428764292.png1694428716822.png