| Menghilangkan beberapa menu | |
|
+5maihime LowlingLife SerpentZ wltr3565 ReydVires 9 posters |
Pengirim | Message |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Menghilangkan beberapa menu 2011-07-12, 19:29 | |
| gan... ada yg tau gak cara ngilangin menu Save & Skill di menu RPGM VX ??? ane gak butuh untuk game ane.... (Lg gak butuh) tolong.. om2 scripter... ane butuh bantuan supaya tuh skill & save di menu ane hilang....
mohon pencerahannya Thx! sebelumnya | |
|
| |
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-12, 19:40 | |
| Ku buat patchnya nih: - Code:
-
class Scene_Menu < Scene_Base def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::save s6 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s3, s4, s6]) @command_window.index = @menu_index if $game_party.members.size == 0 # If number of party members is 0 @command_window.draw_item(0, false) # Disable item @command_window.draw_item(1, false) # Disable skill @command_window.draw_item(2, false) # Disable equipment @command_window.draw_item(3, false) # Disable status end if $game_system.save_disabled # If save is forbidden @command_window.draw_item(4, false) # Disable save end end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new elsif Input.trigger?(Input::C) if $game_party.members.size == 0 and @command_window.index < 4 Sound.play_buzzer return elsif $game_system.save_disabled and @command_window.index == 4 Sound.play_buzzer return end Sound.play_decision case @command_window.index when 0 # Item $scene = Scene_Item.new when 1,2 # Skill, equipment, status start_actor_selection when 3 # End Game $scene = Scene_End.new end end end def update_actor_selection if Input.trigger?(Input::B) Sound.play_cancel end_actor_selection elsif Input.trigger?(Input::C) $game_party.last_actor_index = @status_window.index Sound.play_decision case @command_window.index when 1 # equipment $scene = Scene_Equip.new(@status_window.index) when 2 # status $scene = Scene_Status.new(@status_window.index) end end end end Taruh aja diatas main | |
|
| |
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Re: Menghilangkan beberapa menu 2011-07-12, 19:42 | |
| - wltr3565 wrote:
- Ku buat patchnya nih
wah gann.... rada error pasbuka end game.. pas cencel.. malah ini yang dihasilkan - Spoiler:
kayanya blm 100% complet | |
|
| |
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-13, 17:52 | |
| Aku lupa bilang "semoga beruntung" - Code:
-
class Scene_Menu < Scene_Base def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::save s6 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s3, s4, s6]) @command_window.index = @menu_index for i in 0...4 @command_window.draw_item(i) end end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new elsif Input.trigger?(Input::C) if $game_party.members.size == 0 and @command_window.index < 4 Sound.play_buzzer return elsif $game_system.save_disabled and @command_window.index == 4 Sound.play_buzzer return end Sound.play_decision case @command_window.index when 0 # Item $scene = Scene_Item.new when 1,2 # Skill, equipment, status start_actor_selection when 3 # End Game $scene = Scene_End.new end end end def update_actor_selection if Input.trigger?(Input::B) Sound.play_cancel end_actor_selection elsif Input.trigger?(Input::C) $game_party.last_actor_index = @status_window.index Sound.play_decision case @command_window.index when 1 # equipment $scene = Scene_Equip.new(@status_window.index) when 2 # status $scene = Scene_Status.new(@status_window.index) end end end end
Tuh yang baru, dan semoga beruntung | |
|
| |
SerpentZ Advance
Posts : 425 Thanked : 2 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
| Subyek: Re: Menghilangkan beberapa menu 2011-07-13, 18:54 | |
| Patch Yang sebelumnya Work di Project ane,,, Tapi kenapa di project @Reyd ga jadi??? Sedikit Tambahan - Spoiler:
Mau balik nanya Kalo Mau ilangin Hanya Menu Save saja bagaimana scriptnya mohon dikasih tahu
Semoga dibantu | |
|
| |
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-13, 19:16 | |
| kalo mau savenya aja yang diilangin, nih patchnya : - Spoiler:
- Code:
-
#============================================================================== # ** Scene_Menu #------------------------------------------------------------------------------ # This class performs the menu screen processing. #==============================================================================
class Scene_Menu < Scene_Base #-------------------------------------------------------------------------- # * Object Initialization # menu_index : command cursor's initial position #-------------------------------------------------------------------------- def initialize(menu_index = 0) @menu_index = menu_index end #-------------------------------------------------------------------------- # * Start processing #-------------------------------------------------------------------------- def start super create_menu_background create_command_window @gold_window = Window_Gold.new(0, 360) @status_window = Window_MenuStatus.new(160, 0) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super dispose_menu_background @command_window.dispose @gold_window.dispose @status_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super update_menu_background @command_window.update @gold_window.update @status_window.update if @command_window.active update_command_selection elsif @status_window.active update_actor_selection end end #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5]) @command_window.index = @menu_index if $game_party.members.size == 0 # If number of party members is 0 @command_window.draw_item(0, false) # Disable item @command_window.draw_item(1, false) # Disable skill @command_window.draw_item(2, false) # Disable equipment @command_window.draw_item(3, false) # Disable status end end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new elsif Input.trigger?(Input::C) if $game_party.members.size == 0 and @command_window.index < 4 Sound.play_buzzer return elsif $game_system.save_disabled and @command_window.index == 4 Sound.play_buzzer return end Sound.play_decision case @command_window.index when 0 # Item $scene = Scene_Item.new when 1,2,3 # Skill, equipment, status start_actor_selection when 4 # End Game $scene = Scene_End.new end end end #-------------------------------------------------------------------------- # * Start Actor Selection #-------------------------------------------------------------------------- def start_actor_selection @command_window.active = false @status_window.active = true if $game_party.last_actor_index < @status_window.item_max @status_window.index = $game_party.last_actor_index else @status_window.index = 0 end end #-------------------------------------------------------------------------- # * End Actor Selection #-------------------------------------------------------------------------- def end_actor_selection @command_window.active = true @status_window.active = false @status_window.index = -1 end #-------------------------------------------------------------------------- # * Update Actor Selection #-------------------------------------------------------------------------- def update_actor_selection if Input.trigger?(Input::B) Sound.play_cancel end_actor_selection elsif Input.trigger?(Input::C) $game_party.last_actor_index = @status_window.index Sound.play_decision case @command_window.index when 1 # skill $scene = Scene_Skill.new(@status_window.index) when 2 # equipment $scene = Scene_Equip.new(@status_window.index) when 3 # status $scene = Scene_Status.new(@status_window.index) end end end end
| |
|
| |
SerpentZ Advance
Posts : 425 Thanked : 2 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
| |
| |
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-13, 19:28 | |
| itu cuma minor edit doang.... gak usah dipuji-puji... btw, thx! | |
|
| |
SerpentZ Advance
Posts : 425 Thanked : 2 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
| Subyek: Re: Menghilangkan beberapa menu 2011-07-13, 19:54 | |
| Oke | |
|
| |
maihime Senior
Posts : 677 Thanked : 143 Engine : Multi-Engine User Skill : Very Beginner Type : Artist
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 08:48 | |
| @ Serpentz: Lho? Bukannya klo ngilangin menu save di menu tinggal pake change save access? Save-nya tinggal di disable... | |
|
| |
hyperkudit Pahlawan Super
Posts : 2288 Thanked : 30 Engine : RMXP Skill : Very Beginner Type : Artist
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 10:52 | |
| @mai : itu buat ngilangin akses save di menu di menu tetep ada tulisannya, cuma gk bisa dipake.. CMIIW TSnya ingin dimenu gk ada tulsan save | |
|
| |
redlagart Advance
Posts : 342 Thanked : 5 Engine : Multi-Engine User Skill : Intermediate Type : Artist
Trophies
Awards: | |
| |
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:37 | |
| | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:49 | |
| @TS Uda berhasil ya? padahal.. ane mo nunjukkin ini - Code:
-
#============================================================================== # ** Scene_Menu #------------------------------------------------------------------------------ # This class performs the menu screen processing. #==============================================================================
class Scene_Menu < Scene_Base #-------------------------------------------------------------------------- # * Object Initialization # menu_index : command cursor's initial position #-------------------------------------------------------------------------- def initialize(menu_index = 0) @menu_index = menu_index end #-------------------------------------------------------------------------- # * Start processing #-------------------------------------------------------------------------- def start super create_menu_background create_command_window @gold_window = Window_Gold.new(0, 360) @status_window = Window_MenuStatus.new(160, 0) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super dispose_menu_background @command_window.dispose @gold_window.dispose @status_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super update_menu_background @command_window.update @gold_window.update @status_window.update if @command_window.active update_command_selection elsif @status_window.active update_actor_selection end end #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::save s6 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s3, s4, s6]) @command_window.index = @menu_index if $game_party.members.size == 0 # If number of party members is 0 @command_window.draw_item(0, false) # Disable item @command_window.draw_item(1, false) # Disable equipment @command_window.draw_item(2, false) # Disable status end if $game_system.save_disabled # If save is forbidden #@command_window.draw_item(4, false) # Disable save end end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new elsif Input.trigger?(Input::C) if $game_party.members.size == 0 and @command_window.index < 4 Sound.play_buzzer return elsif $game_system.save_disabled and @command_window.index == 4 Sound.play_buzzer return end Sound.play_decision case @command_window.index when 0 # Item $scene = Scene_Item.new when 1,2 # equipment, status start_actor_selection when 3 # End Game $scene = Scene_End.new end end end #-------------------------------------------------------------------------- # * Start Actor Selection #-------------------------------------------------------------------------- def start_actor_selection @command_window.active = false @status_window.active = true if $game_party.last_actor_index < @status_window.item_max @status_window.index = $game_party.last_actor_index else @status_window.index = 0 end end #-------------------------------------------------------------------------- # * End Actor Selection #-------------------------------------------------------------------------- def end_actor_selection @command_window.active = true @status_window.active = false @status_window.index = -1 end #-------------------------------------------------------------------------- # * Update Actor Selection #-------------------------------------------------------------------------- def update_actor_selection if Input.trigger?(Input::B) Sound.play_cancel end_actor_selection elsif Input.trigger?(Input::C) $game_party.last_actor_index = @status_window.index Sound.play_decision case @command_window.index when 1 # equipment $scene = Scene_Equip.new(@status_window.index) when 2 # status $scene = Scene_Status.new(@status_window.index) end end end end ..dan berhasil! tapi ada fail nya saat setelah milih Game End, lalu di-cancel buat balik ke Menu nya
Btw, script ente juga ada fail spt ini ga? Okay, tunggu ya ane mikir dulu
~ Salam Ngacay dari Alissa Liu ~ | |
|
| |
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:51 | |
| - bungatepijalan wrote:
- @TS
Uda berhasil ya? padahal.. ane mo nunjukkin ini - Code:
-
#============================================================================== # ** Scene_Menu #------------------------------------------------------------------------------ # This class performs the menu screen processing. #==============================================================================
class Scene_Menu < Scene_Base #-------------------------------------------------------------------------- # * Object Initialization # menu_index : command cursor's initial position #-------------------------------------------------------------------------- def initialize(menu_index = 0) @menu_index = menu_index end #-------------------------------------------------------------------------- # * Start processing #-------------------------------------------------------------------------- def start super create_menu_background create_command_window @gold_window = Window_Gold.new(0, 360) @status_window = Window_MenuStatus.new(160, 0) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super dispose_menu_background @command_window.dispose @gold_window.dispose @status_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super update_menu_background @command_window.update @gold_window.update @status_window.update if @command_window.active update_command_selection elsif @status_window.active update_actor_selection end end #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::save s6 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s3, s4, s6]) @command_window.index = @menu_index if $game_party.members.size == 0 # If number of party members is 0 @command_window.draw_item(0, false) # Disable item @command_window.draw_item(1, false) # Disable equipment @command_window.draw_item(2, false) # Disable status end if $game_system.save_disabled # If save is forbidden #@command_window.draw_item(4, false) # Disable save end end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection if Input.trigger?(Input::B) Sound.play_cancel $scene = Scene_Map.new elsif Input.trigger?(Input::C) if $game_party.members.size == 0 and @command_window.index < 4 Sound.play_buzzer return elsif $game_system.save_disabled and @command_window.index == 4 Sound.play_buzzer return end Sound.play_decision case @command_window.index when 0 # Item $scene = Scene_Item.new when 1,2 # equipment, status start_actor_selection when 3 # End Game $scene = Scene_End.new end end end #-------------------------------------------------------------------------- # * Start Actor Selection #-------------------------------------------------------------------------- def start_actor_selection @command_window.active = false @status_window.active = true if $game_party.last_actor_index < @status_window.item_max @status_window.index = $game_party.last_actor_index else @status_window.index = 0 end end #-------------------------------------------------------------------------- # * End Actor Selection #-------------------------------------------------------------------------- def end_actor_selection @command_window.active = true @status_window.active = false @status_window.index = -1 end #-------------------------------------------------------------------------- # * Update Actor Selection #-------------------------------------------------------------------------- def update_actor_selection if Input.trigger?(Input::B) Sound.play_cancel end_actor_selection elsif Input.trigger?(Input::C) $game_party.last_actor_index = @status_window.index Sound.play_decision case @command_window.index when 1 # equipment $scene = Scene_Equip.new(@status_window.index) when 2 # status $scene = Scene_Status.new(@status_window.index) end end end end ..dan berhasil! tapi ada fail nya saat setelah milih Game End, lalu di-cancel buat balik ke Menu nya
Btw, script ente juga ada fail spt ini ga? Okay, tunggu ya ane mikir dulu
~ Salam Ngacay dari Alissa Liu ~ ane gak ngedit tuh script gan (Nemu, trus edit, tp bkan yg ini)... malah pas ane pilih end game, trus di cancel, eh ada 2 blok yg blank..... | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:56 | |
| | |
|
| |
maihime Senior
Posts : 677 Thanked : 143 Engine : Multi-Engine User Skill : Very Beginner Type : Artist
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:56 | |
| @kudit dan Serpentz: Oh! Betul juga! Tnggu, aku temukan cara yang lbih mudah... Yaitu di scene menu, cari baris ke 60, hapus tuh s5. Selesai... Harusnya sih hilang tuh menu savenya... | |
|
| |
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 11:59 | |
| | |
|
| |
bungatepijalan Moe Princess
Posts : 1487 Thanked : 30 Engine : Multi-Engine User Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 12:05 | |
| | |
|
| |
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 12:14 | |
| | |
|
| |
SerpentZ Advance
Posts : 425 Thanked : 2 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 12:47 | |
| Okay............. Solved | |
|
| |
dnasman
Admin Kodok Ganteng Indonesia™
Posts : 1361 Thanked : 21 Engine : RMXP Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: Re: Menghilangkan beberapa menu 2011-07-14, 13:13 | |
| | |
|
| |
Sponsored content
| Subyek: Re: Menghilangkan beberapa menu | |
| |
|
| |
| Menghilangkan beberapa menu | |
|