Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =begin
- ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
- █ CRIME's RGSS3 Scripts █
- ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
- ██ ██
- █ Menu Blackout Effect `█
- █ - 1.0 - 28 November 2013 - `█
- █ █
- █ Contact: █
- █ Facebook : fb.me/chairul.crime █
- █ Twitter : t.co/owfzpyCEk0 █
- █ RPGMakerID : BlackCrows █
- █ Website : mythcrows.blogspot.com █
- █ █
- █ - T.O.S - █
- █ Jika kamu memakai Script ini, berarti kamu █
- █ telah menaati prinsip CRIME: █
- █ █
- █ C : Credit me if you want this Script █
- █ R : Report me if bugs happened with you █
- █ I : If you want to contact me, do it now! █
- █ M : My Scripts are free to edit █
- █ (But, I don't give a guarantee) █
- █ E : Ends, Don't be Plagiarism! █
- █ █
- ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
- ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
- █ Non-Scripter's Region █
- ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
- =end
- module CRIME
- module M_BLACKOUT
- #Transition Settings
- FILENAME = ["Cool","Flat","Flat Square", "Fog"] # Transition Filename
- TRANS_TYPE = 2 # 1 = Single, 2 = Random, 3 = Single Blackout, 4 = Random Blackout
- # Atur ke false jika ingin single transition
- # Tapi, Array pertama yang akan menjadi Transition
- TRANS_TIME = 60 # Waktu transisi dimulai
- TRANS_VAGUE = 100 # Vague effect level
- #Transition Fading Back Settings
- FADEBACK_TIME = 60 # Waktu efek fade-in back
- VAGUE_TIME = 120
- end
- end
- =begin
- ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
- █ Ingat prinsip "M" kalau mau mengedit! █
- ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
- =end
- class Scene_Menu < Scene_MenuBase
- alias crime_menu_start start
- def start
- case CRIME::M_BLACKOUT::TRANS_TYPE
- when 1..2
- crime_menu_start
- menutrans_run
- when 3..4
- menutrans_run
- crime_menu_start
- end
- end
- def menutrans_run
- trans = Array.new
- trans = CRIME::M_BLACKOUT::FILENAME
- rand_trans = rand(trans.size)
- case CRIME::M_BLACKOUT::TRANS_TYPE
- when 1
- Graphics.transition(CRIME::M_BLACKOUT::TRANS_TIME,"Graphics/Transition/" + (trans[1]),CRIME::M_BLACKOUT::VAGUE_TIME)
- when 2
- Graphics.transition(CRIME::M_BLACKOUT::TRANS_TIME,"Graphics/Transition/" + (trans[rand_trans]),CRIME::M_BLACKOUT::VAGUE_TIME)
- when 3
- Graphics.transition(CRIME::M_BLACKOUT::TRANS_TIME,"Graphics/Transition/" + (trans[1]),CRIME::M_BLACKOUT::VAGUE_TIME)
- Graphics.freeze
- Graphics.fadein(CRIME::M_BLACKOUT::FADEBACK_TIME)
- when 4
- Graphics.transition(CRIME::M_BLACKOUT::TRANS_TIME,"Graphics/Transition/" + (trans[rand_trans]),CRIME::M_BLACKOUT::VAGUE_TIME)
- Graphics.freeze
- Graphics.fadein(CRIME::M_BLACKOUT::FADEBACK_TIME)
- end
- end
- end
- =begin
- ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
- █ End of Script - 28 November 2013 - CRiME █
- ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
- =end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement