|
| Tanya Ver 1.5 (Menu System) | |
| | Pengirim | Message |
---|
Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Tanya Ver 1.5 (Menu System) 2011-07-05, 16:42 | |
| Ehm - SS:
Direct >> http://www.nible.org/thumbs/ss.png
Pertanyaannya : bagaimana cara memindah Game End ke paling bawah/ Tukeran sama menu party, q tau pke sekrip, tapi q gtw caranya, thx | |
| | | LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 16:47 | |
| coba liat skrip scene_menu situ | |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 16:51 | |
| - 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, s2, s3, s4, s5, 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,3 # Skill, equipment, status start_actor_selection when 4 # Save $scene = Scene_File.new(true, false, false) when 5 # 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
Itu Scene Menu | |
| | | LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 16:56 | |
| ah maksud gw script menu situ, sory kalo ga jelas yg ada di SS post 1 itu | |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 17:03 | |
| q pke KGC_Large Party
klo post sekripnya gk bisa ada warning message is too long | |
| | | LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 17:08 | |
| link menuju ke sumber skripnya gpp intinya sih yg dibagian sini - penjelasan gampang:
- Quote :
- #--------------------------------------------------------------------------
# * 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 s7 = 'Party' @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6,s7]) @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
yg bagian bold dituker (2 pilihan terakhir) - Code:
-
s6 = 'Party' s7 = Vocab::game_end terus - Quote :
#-------------------------------------------------------------------------- # * 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 # Save $scene = Scene_File.new(true, false, false) when 5 # End Game $scene = Scene_End.new when 6 $scene = Party.new end end end yg bagian dibold (pokoknya 2 pilihan terakhir) juga dituker jd - Code:
-
when 5 $scene = Party.new when 6 # End Game $scene = Scene_End.new
| |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 17:12 | |
| http://www.media*fire.com/?k6059c224jvf7fj
Edit : http://www.rpgmakervx.net/index.php?showtopic=46235 | |
| | | Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Trophies
Awards:
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 17:18 | |
| udah trjawab tuh then, link paan tuh ?? | |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-05, 17:19 | |
| @Kuro saya gk nemu sekrip gitu/ sekrip yg di beritahu oleh Drago | |
| | | Relink Newbie
Posts : 9 Thanked : 0 Engine : Other Skill : Beginner Type : Scripter
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-06, 05:48 | |
| ada pakai script ini gak ? KGC_CustomMenuCommand kalau pakai, confignya harus lewat sono ada di baris 53 MENU_COMMANDS = [0, 1, 12, 2, 11, 10, 3, 16, 15, 4, 5] penjelasan soal 0, 1, 12 dll ada di atasnya, yang 10 itu untuk menu Party arigatou edit : @LiTTleDRAgo : - Quote :
- s5 = Vocab::save
s6 = Vocab::game_end s7 = "Party" @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6,s7]) lebih baik menu ordernya aja yg di ubah. - Quote :
- s5 = Vocab::save
s6 = Vocab::game_end s7 = "Party" @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s7, s6]) arigatou | |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-06, 15:19 | |
| @relink : klo pke KGC menu Command build upnya ilang | |
| | | wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-06, 15:39 | |
| - 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, s2, s3, s4, s5, "Party", 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,3 # Skill, equipment, status start_actor_selection when 4 # Save $scene = Scene_File.new(true, false, false) when 5 $scene = Party.new when 6 # End Game $scene = Scene_End.new end end end end Taruh dibawah KGC Large Partynya, dan semoga beruntung. Godspeed. | |
| | | Roronoa_Zojo Senior
Posts : 833 Thanked : 3 Engine : Multi-Engine User Skill : Skilled Type : Mapper
| Subyek: Re: Tanya Ver 1.5 (Menu System) 2011-07-06, 15:47 | |
| Ehm, itu cara panggilnya salah bukan $scene = Party.new tapi $scene = scene_partyform.new emang q edit + Berhasil tapi ada satu menu yg hilang yaitu Build up...
Edit : Gk perlu munculin gpp btw spec THX for wltr dan normal THX for yg mau bantuin
dan karena Solved bisa di lock | |
| | | Sponsored content
| Subyek: Re: Tanya Ver 1.5 (Menu System) | |
| |
| | | | Tanya Ver 1.5 (Menu System) | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|