Day and night sistem without scripts!
Hello eveybody. I'm XxXhelazzand today I will show you how to make day and night in rpg maker vx ace (in fact you can do this in every rpg maker engine) without any script!
Requeriments: Have rpg maker engine. Have these switches: Day, night, afternoon and first day.
Difficult level: Intermediate
First step: You will make a commont event in a field. The event name will be "first day". This event must be a pararell process one.
The event will trigger a switch called "day" and the same event will trigger a switch called "first day".
Now let's make a second event page. In conditions of aparition we will include the switch called "first day" and we will desactivate the event.
Second step: We will make a new event. We must call it day. The event will be in paralell process.
We will make a new conditional brand: If switch day is on, switch night will be off. The event
will have nothing in exeption.
Third step: Ths will be the last field event. It will be a Paralell process. In aparition conditions we will put the switch day.
The event will have this:
Change screen tone (0,0,0,0)
We will wait 999 frames.
We will trigger a switch called afternoon.
Now another event page. In apparition conditions we will put the switch afternoon. The event commands will be:
Change screen tone (34,-17,-17,0)
After this we will put off the switch called Day.
We will wait 999frames
We will change the screen tone to (-102,-102,-102,34)
We will trigger the swtich called night.
Now we will create another event page.
In apparition conditions we will put night.
Now we will put off afternoon
We will wait 999 frames
And we will trigger day.
Now this make more sense, right?
PD: The rpg maker I'm using is in spanish but I think you will understand it perfectly
Now here's coming the boring part.
We have the field day and night but the npc are normal, so we will change them.
We must have a town or normal npc in the field or something xD
We Will go to a npc and we will do this:
本贴来自国际rpgmaker官方论坛作者:XxXhelazz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/day-and-night-sistem-without-scripts.68353/
页:
[1]