• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Dawn, Day, Dusk and Night system for all RM series makers

charmandereleonzard#2

Call me Krishnan, Please
  • 130
    Posts
    20
    Years
    Note- This was posted in RMXP.net forums by a user named 'taylor' but I have made changes to it so it can be fit inside a Pokemon RPG.

    This has been used in my game and it works fine. I will how screenshots later.(If anyone wants system for the colours when there is a storm ask me since I am working on it.)

    In an outdoor map make a new event set it "Parallel Process" and make it have no graphic and do the following in the event page.

    <>Wait: 200 Frames
    <>Wait: 200 Frames
    <>Tint Screen: (0,0,0,119), @20
    <>Wait: 400 Frames
    <>Tint Screen: (0,0,34,170), @20
    <>Wait: 200 Frames
    <>Wait: 200 Frames
    <>Tint Screen: (34,0,-17,119), @20
    <>Wait: 100 Frames
    <>Wait: 100 Frames
    <>Tint Screen: (0,0,0,0), @20

    If you want the time period to be longer then just increase the amount of frames in wait command. I would'nt reccomend you editng the colours in tint screen command unless you know what you are doing.

    If you are using this please put my name (Krishnan) and taylor's name in the credits.

    Thank you.
     
    Wait a minute.... wouldn't that just make the event loop again after you go to another map?

    Example: It is evening outside. You go to another map and it becomes morning again.
     
    0.o didn't think of that well maybe if you make it a commomn event and put it on all the maps? I guess then it would work.
     
    Perhaps make a conditional branch. Like it turns on Morning first. When it becomes day, it turns off the Morning switch and turns on the Day switch. Something like that could fix the problem. :)

    ~Jeff
     
    Yeah, that happened to me too. I tried adding the events to other maps, but it did not work.
     
    I just used common sense. :D
    It should be something like this:

    <>Switch Morning = ON
    <>Conditional Branch if Morning is ON
    ..<>Wait: 200 Frames
    ..<>Wait: 200 Frames
    ..<>Tint Screen: (0,0,0,119), @20
    ..<>Wait: 400 Frames
    ..<>Switch Morning = Off
    ..<>Switch Day = On
    <>End
    <>Conditional Branch if Day is ON
    ..<>Wait: 200 Frames
    ..<>Wait: 200 Frames
    ..<>Tint Screen: (0,0,0,119), @20
    ..<>Wait: 400 Frames
    ..<>Switch Day = Off
    ..<>Switch Evening = On
    <>End
    ..
    ..
    ..and so on...
     
    Thanks Jeff you saved me a lot of research time. I am gonna check this one out.
     
    Urmmmm.... I used the system, and how do i make the event pause to go inside a building without the event starting all over from the morning phase?
     
    Well, make the outdoor event parralel process and turns on when a switch, such as dayandnight, is on. Turn the dayandnight switch on when you first start the game, and when you enter a building, turn dayandnight off. That means the tinting and stuff outside still works, but is turned off when you enter a building. Turn dayandnight on again when you head outside.
     
    i did it, but i dont understand.
     
    Back
    Top