Orange Time System

Discussion in 'JS Plugin Releases (RMMV)' started by Hudell, Oct 24, 2015.

  1. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Try adding this plugin by Tsukihime and check if the problem still happens:
    http://forums.rpgmakerweb.com/index.php?/topic/47857-common-event-queue
     
    #81
    koldsack likes this.
  2. koldsack

    koldsack Veteran Veteran

    Messages:
    45
    Likes Received:
    25
    First Language:
    english
    #82
  3. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Oh, I didn't see you edited that post. I'll check the parallax issue.
     
    #83
  4. Sideroxylon

    Sideroxylon Veteran Veteran

    Messages:
    29
    Likes Received:
    5
    Location:
    Germany
    First Language:
    German
    Will there be a possibility to time events at a specific hour and/or time events for a specific time period? For example:

    Mister Orange appears at 6 o'clock and disappears at 9 o'clock.

    Once activated, the magic orange lasts for 3 hours.
     
    #84
  5. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    OrangeTimeSystem.runInHours(1, 6);OrangeTimeSystem.runInHours(2, 9);This script call will make the common event 1 be triggered at 6AM and common event 2 be triggered at 9AM.(This information is not stored in the save file, so you may need to have it all inside a common event that is triggered when the player loads the game).
     
    #85
  6. Sideroxylon

    Sideroxylon Veteran Veteran

    Messages:
    29
    Likes Received:
    5
    Location:
    Germany
    First Language:
    German
    Okay, thanks I will test that. One more thing: is it possible to turn off Day/Night Cycle plugin for certain maps or through script calls?

    And:

    OrangeTimeSystem.runInDays(1, 6);

    OrangeTimeSystem.runInDays(2, 9);

    Can I also do that with other variables? Or use a certain date like 01.08.99?
     
    Last edited by a moderator: Nov 9, 2015
    #86
  7. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yes, check the previous page here, I think I explained that someone yesterday.
    Sorry, I gave you the wrong script call. That one would call the common event AFTER 6 hours.To call in a specific time, it would be this one:

    Code:
    OrangeTimeSystem.onTime(1, 6);OrangeTimeSystem.onTime(1, 9);
    And yes, you can specify other variables:

    Code:
    OrangeTimeSystem.onTime(commonEvent, hour, minute, second);OrangeTimeSystem.onDate(commonEvent, day, month, year);OrangeTimeSystme.onDateTime(commonEvent, day, month, year, hour, minute, second);
    Do note that if you do something like this:

    Code:
    OrangeTimeSystem.onTime(1, 6);
    It will run the common event at every second while the hour is 6. If you want it to run only at 06:00:00, you have to do:

    Code:
    OrangeTimeSystem.onTime(1, 6, 0, 0);
     
    Last edited by a moderator: Nov 9, 2015
    #87
    Sideroxylon likes this.
  8. Sideroxylon

    Sideroxylon Veteran Veteran

    Messages:
    29
    Likes Received:
    5
    Location:
    Germany
    First Language:
    German
    Okay, thanks, I will put that in a readme.txt. There is something wrong with SuperOrangeMovement, though, because when I have it activated my character sometimes doesn't get as near to certain tiles, as they should. I encountered the weirdest bug in a map with the Dungeon tileset enabled, where I randomly get stuck at the walls (not in the walls) between invisible walls, though I can sometimes get out of it by moving the character randomly. The character also receives damage in the way, when you walk over e.g. lava.
     
    #88
    Hudell likes this.
  9. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yeah, I have a list of things I need to fix on that plugin that have been way overdue :X
     
    #89
  10. DBDragoner

    DBDragoner Veteran Veteran

    Messages:
    123
    Likes Received:
    89
    Location:
    USA
    I'm loving your plugins. Made my life so much easier. Thank you so much for adding the demo. I was completely lost without it. May I suggest you add your possible plugin and script calls to the help file? Most plugins have these displayed within the help file, so its a bit jarring to open it and find nothing but your website within.
     
    #90
    Hudell likes this.
  11. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yup, I'll add it all later.
     
    #91
  12. SoulOfRock

    SoulOfRock Veteran Veteran

    Messages:
    38
    Likes Received:
    6
    First Language:
    Spanish
    Hi, awesome script,but i need something special... How i can make a npc to appear only at 7pm to 11pm, not common events. 

    PD: Clay explain pls, im soooooo noob,and i dont know nothing :D
     
    #92
  13. Fitcher

    Fitcher Veteran Veteran

    Messages:
    50
    Likes Received:
    7
    Location:
    Finland
    First Language:
    Finnish
    I got some issues with updating the HUD for the time.

    My game is setup to only have time running at the map.

    Now if i got a NPC in a place where time is stoped to change my time over the 24:00, it wont update the time on my hud untill i go to a place where the time is active.

    If the clock is lets say 20:00 and i use OrangeTimeSystem.addHours(6)

    it will set my time to 26:00 untill i go to a place where time is active then it will update the hud by adding a day and changing the time to 02:00
     
    #93
  14. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hm, that should be working..

    I can't test it right now, but adding one of the following script calls should update the HUD.

    I'll fix the plugin itself tonight.

    Code:
    OrangeTimeSystem.updateTime();
    Code:
    OrangeTimeSystemVariables.configureVariables();
     
    #94
  15. Fitcher

    Fitcher Veteran Veteran

    Messages:
    50
    Likes Received:
    7
    Location:
    Finland
    First Language:
    Finnish
    Okey so running "OrangeTimeSystemVariables.configureVariables();" fixed my issue on the event that changes time, thats good.

    Oh just a note that i am also using the OrangeTimeSystemVariable plugin, dont know if it matters or not but thought its worth mentioning.

    But yeah thanks for the quick reply now i got a fix for it atleast untill you get a chance to check the plugin it self.

    Let me know if you need more detailed information on the issue.
     
    #95
    Hudell likes this.
  16. DBDragoner

    DBDragoner Veteran Veteran

    Messages:
    123
    Likes Received:
    89
    Location:
    USA
    Thank you so much!
     
    #96
  17. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Forgot to reply to this, but you can make it with the Variables add on
     
    #97
  18. SoulOfRock

    SoulOfRock Veteran Veteran

    Messages:
    38
    Likes Received:
    6
    First Language:
    Spanish
    How TnT? Seriously Im sooo new with this

    Wops,i think i have learn by my self how,

    Sorry and thanks for your great job!  :)

    You are the best :)
     
    Last edited by a moderator: Nov 10, 2015
    #98
    Hudell likes this.
  19. Sideroxylon

    Sideroxylon Veteran Veteran

    Messages:
    29
    Likes Received:
    5
    Location:
    Germany
    First Language:
    German
    I tried this and none of it works. The hud still shows the same time, that was true before adding hours. The Day/Night cycle screen tint doesn't take effect either. Only the actual time is changed, since one NPC disappears after adding enough hours through plugin command, because he is only available at daytime.
     
    #99
    Hudell likes this.
  20. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,316
    Likes Received:
    2,931
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I'll test and fix it here :)

    Edit: Fixed.

    The following plugins were changed: OrangeTimeSystem, OrangeTimeSystemVariables and OrangeEventManager. You don't need to update the event manager if you don't use it.
     
    Last edited by a moderator: Nov 11, 2015
    Sideroxylon likes this.

Share This Page