Game Design
Game Design Indonesia .. Forum Untuk Bersama Membuat Game Berkreasi Bersama Bukan Untuk Menyombongkan Diri Saling Berbagi bersama Selebihnya Silahkan Login,Forum
TERIMAKASIH
Lead Forum

Join the forum, it's quick and easy

Game Design
Game Design Indonesia .. Forum Untuk Bersama Membuat Game Berkreasi Bersama Bukan Untuk Menyombongkan Diri Saling Berbagi bersama Selebihnya Silahkan Login,Forum
TERIMAKASIH
Lead Forum
Game Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Perkenalan member qornanali
NEO MENU SYSTEM V1.04 EmptyTue Nov 12, 2013 8:11 am by A|L|F|DGI|Wibie Sultan

» perkenalan
NEO MENU SYSTEM V1.04 EmptySun Oct 06, 2013 1:39 pm by A|L|F|DGI|Wibie Sultan

» Apasih Keunggulan Forum Ini
NEO MENU SYSTEM V1.04 EmptyTue Sep 10, 2013 3:54 pm by Rudy pangabean

» Perkenalan member Bima
NEO MENU SYSTEM V1.04 EmptyTue Sep 10, 2013 3:52 pm by Rudy pangabean

» Scared 1 Topic
NEO MENU SYSTEM V1.04 EmptyTue Sep 10, 2013 3:51 pm by Rudy pangabean

» Dynamic Class Changer
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:26 pm by A|L|F|DGI|Wibie Sultan

» Cache Optimasi
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:26 pm by A|L|F|DGI|Wibie Sultan

» Miscellaneous Options
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:25 pm by A|L|F|DGI|Wibie Sultan

» XS battle audio
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:22 pm by A|L|F|DGI|Wibie Sultan

» Teleport free
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:20 pm by A|L|F|DGI|Wibie Sultan

» Interacting System
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:15 pm by A|L|F|DGI|Wibie Sultan

» NEO MENU SYSTEM V1.04
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 8:10 pm by A|L|F|DGI|Wibie Sultan

» Rules update script
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 7:57 pm by A|L|F|DGI|Wibie Sultan

» VX ace (Tikus system)
NEO MENU SYSTEM V1.04 EmptyThu Aug 29, 2013 7:52 pm by A|L|F|DGI|Wibie Sultan

» Ask update script RPG maker
NEO MENU SYSTEM V1.04 EmptyTue Aug 27, 2013 9:08 pm by AssJikom

March 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

Calendar Calendar

Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None

Most users ever online was 22 on Wed Jun 10, 2020 10:07 pm
Top posting users this week
No user

Social bookmarking

Social bookmarking reddit      

Bookmark and share the address of Game Design on your social bookmarking website

Twitter Forum

recently twittered on Forumotion


NEO MENU SYSTEM V1.04

Go down

rpg maker NEO MENU SYSTEM V1.04

Post by A|L|F|DGI|Wibie Sultan Thu Aug 29, 2013 8:10 pm

NEO MENU SYSTEM  v1.04
fitur:
Sesuaikan Item pada Menu Anda, dan fungsi mereka. Memungkinkan Anda untuk dengan mudah mengatur ulang, menghapus, atau menambahkan perintah menu.

kredit:
Tidak ada Kredit Dibutuhkan. Jangan mengklaim sebagai pekerjaan Anda sendiri.


ambil sekarang:
Code:
                            #======================#
                            #  Z-Systems by: Zetu  #
#===========================#======================#===========================#
#                 *  *  *  Z01 Neo Menu System  v1.04  *  *  *                 #
#=#==========================================================================#=#
  #  Insert ALL menu commands, each menu item array will contain...          #
  #  [0] Name of Command (String)                                            #
  #  [1] If command is enabled (Boolean or String)                           #
  #  [2] Requires Selection (Boolean)                                        #
  #  [3] Command to Run                                                      #
  #  [4] (Only if [3]==:command_custom) Scene to go to                       #
  #--------------------------------------------------------------------------#
  #  Tip on finding the code within a script:                                #
  #    Use Ctrl+F '$scene ='.  This should be able to locate the call method #
  #    used in most every script.                                            #
  #==========================================================================#
module Z01
  def self.menucommandlist
    return [
      # (Convert)  | (Convert) When to     |Require   | Scene or
      # Item Name  | Enable this command   |Selection?| Command
      [Vocab::item,  "main_commands_enabled", false,   Scene_Item],
      [Vocab::skill, "main_commands_enabled", true,    Scene_Skill],
      [Vocab::equip, "main_commands_enabled", true,    Scene_Equip],
      [Vocab::status,"main_commands_enabled", true,    Scene_Status],
      [Vocab::formation, "formation_enabled", false,   :command_formation],
      [Vocab::save,           "save_enabled", false,   Scene_Save],
      [Vocab::game_end,                 true, false,   Scene_End],
      
      
      # Example of Custom Menu Item!
      # ["Quest Log", true, false, :command_custom, Scene_QuestLog]
    ]
  end
#========#======================#====#================================#========#
#--------#                      #----# DO NOT EDIT PAST THIS POINT!!! #--------#
#--------# End of Customization #----# Editing will cause Kata Yang Tidak bisa dibaca di Scan Kami by    #--------#
#--------#                      #----# brain asplosions.              #--------#
#========#======================#====#================================#========#
end

class Window_MenuCommand < Window_Command
  
  def make_command_list
    i = 0
    for command in Z01::menucommandlist
      symbol = eval(":s#{i}")
      add_command(tryconvert(command[0]), symbol, tryconvert(command[1]),
        command[3])
      i += 1
    end
  end
  
end

class Scene_Menu < Scene_MenuBase
  
  def create_command_window
    @command_window = Window_MenuCommand.new
    i = 0
    for command in Z01::menucommandlist
      symbol = eval(":s#{i}")
      if !command[2]
        @command_window.set_handler(symbol, getmethod(command[3]))
      else
        @command_window.set_handler(symbol, method(:command_personal))
      end
      i += 1
    end
    @command_window.set_handler(:cancel, method(:return_scene))
  end
  
  def getmethod(item)
    if item.is_a?(Symbol)
      return method(item)
    else
      return method(:command_custom)
    end
  end
  
  def on_personal_ok
    getmethod(@command_window.current_ext).call
  end
  
  def command_custom
    print " - "
    print @command_window.current_ext
    print " -\n"
    SceneManager.call(@command_window.current_ext)
  end
  
end
A|L|F|DGI|Wibie Sultan
A|L|F|DGI|Wibie Sultan
Administrator
Administrator

Gemini Jumlah posting : 236
Thanks/Like Post : 31
Join date : 2013-06-26
Lokasi : Indonesia,bandung
Humor : We All Work Together

https://designgameindonesia.indonesianforum.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum