Help - Search - Members - Calendar
Full Version: hi need help to make night-day script
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
bc gy
I want someone to tell me how to put a night -day script on my game plz make it simple cause im kinda new with this
game.

If you can make tha the script is just paste and copy over the main or somethin

TY
stripe103
Well most scripts are that allready.
Thar are several of those scripts. Just search.
bc gy
I did my search but sad.gif
im having problem understanding them
stripe103
What don't you understand?
Is it how you are turning them on?
Can you link to the script so I can take a better look.
bc gy
Here the link
http://www.rpgrevolution.com/forums/index.php?showtopic=8567

But I also saw day/night system as a comon event if you want to do that way teach me how to do it
or just explain me this script

one last help if doesnt you I want my caracter to fight himself(the ennemy is a dopellganger )
how do i put my ennemy with the same sprite on the fight.
stripe103
Well there is allready instructions on how to use the script so I'll try to make them clearer.
[Show/Hide] Instructions
Disabling Day/Night Change (Freezing Time)
When [DN_STOP] is inserted in map name, with that map day and night change stops.
You use, with the map where such as in town we would not like to modify phase.

When inserting "[DN_STOP]" in the map name, then the system will stop the time in that map

Disabling Map Color Tone (Removing Noon, Night, Dusk Effects in indoor maps)
When [DN_VOID] is inserted in map name, with that map also modification of the color tone with present phase in addition to the stop of day and night change, becomes invalid.
You use at the bright place without, distinction of day and night such as in the building.

When you put the "[DN_VOID]" within a map name, then the screen color changes back to normal. This can be used within buildings where you don't want it for exaple, get darker during the night.


Setting of enemy group

In enemy group name [DN�]When it adds, appearance condition of the enemy can be set.
� The phase which appears that group is input with comma pause.
When - you insert before the numerical value, the phase which is appointed is excluded from appearance condition.

- When �the night� only it appears -
Monster *2 [DN 2]
- �noon morning� when it does not appear -
skeleton *2 [DN -0, - 3]
The group with nothing written appears with all phases.

When you put this command in the group name of an enemy group, you can make it appear only in the night or morning, etc.

EXAMPLE:
When you write
Monster *2 [DN 2]
then the monster group only appears during the night.

When you write
Skeleton *2 [DN -0, - 3]
then the group dont appear in the morning and noon.

Different Phases:
0 = Noon
1 = Evening
2 = Night
3 = Morning


Setting of phase

PHASE = [
["Noon", Tone.new( 0, 0, 0), 300], # Phase 0
["Evening", Tone.new( -32, -96, -96), 100], # Phase 1
["Night", Tone.new(-128, -128, -32), 250], # Phase 2
["Morning", Tone.new( -48, -48, -16), 100], # Phase 3
] # Do not turn this off!

Setting of each phase is modified.
As for phase,


This is needed if you want to change what color the night, morning, noon or evening have.


I don't know if this is your problem, but I hope it helps.

And for the script itself, it is just to put above main.
bc gy
Thx all those dn stuff were confusing me thx for making it clearer
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.