NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
40
First Language
English
Primarily Uses
I'm trying to create a day/night cycle that uses pictures to add extra lighting effects. The change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition. But the transition repeats over and over again. I added a self switch and a page with the single full opacity picture, and that works for one period of day(morning), but the single picture stays through all the other time periods. If I add a switch for morning on the second page, the event starts at the second page and is again too abrupt. I had originally added the pictures to the Common Event that controlled tints, but that didn't work because of the repetition.


Can you please help either get the parallel process to end at the last picture command, or get the self-switch-full-opacity picture to go away after the morning switch is off? This would be very useful to know for other events too.


Screenshots:

lighting screen.png


lighting screen 2.png


Here are the common events that are tied to it.


lighting screen 5.png


lighting screen 6.png


This is what the evening should look like, just one light source in the north west.


lighting screen 4.png


And this is what the morning looks like, two light sources in both the east and west.


lighting screen 3.png
 
Last edited by a moderator:

XxXhelazz

Agains these fascist who want to destroy me and my
Veteran
Joined
Nov 20, 2015
Messages
83
Reaction score
33
First Language
Msdos and httml
Primarily Uses
I think that the event repeats because you didn't turn off morning. I don't really know, have you see if morning is really off at all? Or maybe changing some image display coordenades?
 
Last edited by a moderator:

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
40
First Language
English
Primarily Uses
@XxXhelazz  No, turning the switch off doesn't do anything...


Thanks for answering though.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,688
Reaction score
12,230
First Language
English
Primarily Uses
RMMZ
Your second page is set to self switch A.  This will always override the Morning switch as the engine reads event pages from highest number to lowest and stops at the first page where the conditions are fulfilled.  It will, therefore, never reach page 1 again and the full opacity picture will always show.


If you want this to happen repeatedly, i.e. every time the Morning switch is turned on, then instead of using a self switch, you would need to use another control switch, let's call it 'full morning'.  Activate that and use it for the condition of page 2.  Then include turning that switch off when you want the time to cycle on to the next day so that the engine reads the first page.
 

Dad3353

Veteran
Veteran
Joined
Mar 9, 2016
Messages
421
Reaction score
111
First Language
English
@NightHerald...


The Event pages have a priority, the highest numbered page with conditions 'True' will run. This implies, in your case above, that, once the Self Switch 'A' has been triggered, it will always run. Nothing turns off that Self Switch. I could suggest two different methods to treat this, depending on the effect wanted.


1 - Have a 3rd page, with a condition 'Day: On', with the command content 'Self-Switch 'A': Off. Once 'Day is triggered, this 3rd page will override the 2nd page, and turn off the Self Switch. When next Morning comes, the 1st page will again be active.


2 - You could use another Switch, instead of a Self Switch, to trigger your 2nd page. Page 1 could set this Switch (End of Morning, for instance...) to trigger Page 2. At any future change of lighting, such as 'Day' becoming active, have the Morning Switch Off, but also the End of Morning Switch. Both pages will remain inactive intil the next Morning.


Does this help at all..?
 
Last edited by a moderator:

Dad3353

Veteran
Veteran
Joined
Mar 9, 2016
Messages
421
Reaction score
111
First Language
English
R91KekF.gif
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,737
Reaction score
15,870
First Language
English
Primarily Uses
RMMV
The change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition



lol - talk about doing things the hard way!


You can just use Move Picture to change the opacity over a set number of frames (or seconds?)
 

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
40
First Language
English
Primarily Uses
@Shaz Thank youuu! ;_; I knew there had to be a simpler way to that. I didn't even check out the move picture command -_- I should really look at all the commands and see what they all do before trying to do something like this...
 

Latest Threads

Latest Posts

Latest Profile Posts

Took some trial and error, but I managed to create "visuals" for underground dig path regions.
Couldn't sleep at all so I started working on the topmost deck. I've had to make several deviations from the Imperator/Berengaria's deck-plans to accommodate MV's movement, but 100% accuracy was never my intention.
Still no name for the poor ship...:kaodes:
Screenshot-2022-06-25-053308.png
ScreenShot_6_24_2022_9_20_7.png
Here's Mike when you get a preemptive strike in battle. There's another one for when an enemy sneaks up on you too.
Suddenly, games mean nothing. The money spent was worth it to bring souls towards the light of life. May God bless my path forever. I pray that all are shaken for truth and poured out flat on the table of true understanding, knowledge, and wisdom. Bless you.

Forum statistics

Threads
123,033
Messages
1,153,566
Members
161,374
Latest member
artdeko
Top