Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 Tanya Ver 1.5 (Menu System)

Topik sebelumnya Topik selanjutnya Go down 
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 16:42
PostTanya Ver 1.5 (Menu System)
#1
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
Ehm
SS:

Pertanyaannya : bagaimana cara memindah Game End ke paling bawah/ Tukeran sama menu party, q tau pke sekrip, tapi q gtw caranya, thx
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 16:47
PostRe: Tanya Ver 1.5 (Menu System)
#2
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
Tanya Ver 1.5 (Menu System) Vide
coba liat skrip scene_menu situ
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 16:51
PostRe: Tanya Ver 1.5 (Menu System)
#3
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
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
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 16:56
PostRe: Tanya Ver 1.5 (Menu System)
#4
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
Tanya Ver 1.5 (Menu System) Vide
ah maksud gw script menu situ, sory kalo ga jelas

yg ada di SS post 1 itu

Tanya Ver 1.5 (Menu System) Ss
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 17:03
PostRe: Tanya Ver 1.5 (Menu System)
#5
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
q pke KGC_Large Party

klo post sekripnya gk bisa
ada warning message is too long
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 17:08
PostRe: Tanya Ver 1.5 (Menu System)
#6
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
Tanya Ver 1.5 (Menu System) Vide
link menuju ke sumber skripnya gpp
intinya sih yg dibagian sini

penjelasan gampang:

Tanya Ver 1.5 (Menu System) Empty2011-07-05, 17:12
PostRe: Tanya Ver 1.5 (Menu System)
#7
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
http://www.media*fire.com/?k6059c224jvf7fj

Edit : http://www.rpgmakervx.net/index.php?showtopic=46235
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 17:18
PostRe: Tanya Ver 1.5 (Menu System)
#8
Kuro Ethernite 
The Creator
Kuro Ethernite

Level 5
Posts : 1631
Thanked : 24
Engine : RMVX Ace
Skill : Masterful
Type : Jack of All Trades
Awards:

Tanya Ver 1.5 (Menu System) Vide
udah trjawab tuh :ngacay2:
then, link paan tuh ?? :swt:
Tanya Ver 1.5 (Menu System) Empty2011-07-05, 17:19
PostRe: Tanya Ver 1.5 (Menu System)
#9
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
@Kuro saya gk nemu sekrip gitu/ sekrip yg di beritahu oleh Drago
Tanya Ver 1.5 (Menu System) Empty2011-07-06, 05:48
PostRe: Tanya Ver 1.5 (Menu System)
Relink 
Newbie
Newbie
Relink

Level 5
Posts : 9
Thanked : 0
Engine : Other
Skill : Beginner
Type : Scripter

Tanya Ver 1.5 (Menu System) Vide
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
Tanya Ver 1.5 (Menu System) Empty2011-07-06, 15:19
PostRe: Tanya Ver 1.5 (Menu System)
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
@relink : klo pke KGC menu Command build upnya ilang
Tanya Ver 1.5 (Menu System) Empty2011-07-06, 15:39
PostRe: Tanya Ver 1.5 (Menu System)
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

Tanya Ver 1.5 (Menu System) Vide
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.
Tanya Ver 1.5 (Menu System) Empty2011-07-06, 15:47
PostRe: Tanya Ver 1.5 (Menu System)
Roronoa_Zojo 
Senior
Senior
Roronoa_Zojo

Level 5
Posts : 833
Thanked : 3
Engine : Multi-Engine User
Skill : Skilled
Type : Mapper

Tanya Ver 1.5 (Menu System) Vide
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
Tanya Ver 1.5 (Menu System) Empty
PostRe: Tanya Ver 1.5 (Menu System)
Sponsored content 




Tanya Ver 1.5 (Menu System) Vide
 

Tanya Ver 1.5 (Menu System)

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMVX-