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
Latest topics
» Perkenalan member qornanali
Tue Nov 12, 2013 8:11 am by A|L|F|DGI|Wibie Sultan

» perkenalan
Sun Oct 06, 2013 1:39 pm by A|L|F|DGI|Wibie Sultan

» Apasih Keunggulan Forum Ini
Tue Sep 10, 2013 3:54 pm by Rudy pangabean

» Perkenalan member Bima
Tue Sep 10, 2013 3:52 pm by Rudy pangabean

» Scared 1 Topic
Tue Sep 10, 2013 3:51 pm by Rudy pangabean

» Dynamic Class Changer
Thu Aug 29, 2013 8:26 pm by A|L|F|DGI|Wibie Sultan

» Cache Optimasi
Thu Aug 29, 2013 8:26 pm by A|L|F|DGI|Wibie Sultan

» Miscellaneous Options
Thu Aug 29, 2013 8:25 pm by A|L|F|DGI|Wibie Sultan

» XS battle audio
Thu Aug 29, 2013 8:22 pm by A|L|F|DGI|Wibie Sultan

» Teleport free
Thu Aug 29, 2013 8:20 pm by A|L|F|DGI|Wibie Sultan

» Interacting System
Thu Aug 29, 2013 8:15 pm by A|L|F|DGI|Wibie Sultan

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

» Rules update script
Thu Aug 29, 2013 7:57 pm by A|L|F|DGI|Wibie Sultan

» VX ace (Tikus system)
Thu Aug 29, 2013 7:52 pm by A|L|F|DGI|Wibie Sultan

» Ask update script RPG maker
Tue Aug 27, 2013 9:08 pm by AssJikom

December 2018
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 10 on Tue Jul 30, 2013 10:58 pm
Top posting users this week

Social bookmarking

Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

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 on 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:
                     #======================#
                           #  Z-Systems by: Zetu  #
#===========================#======================#===========================#
#                         *  *  *  CORE v1.01  *  *  *                         #
#=#==========================================================================#=#
 #                              For Z01 to Z07+                             #
 # * Make sure ALL Z items are in order and adjacent to each other, with    #
 #   this script preceeding them.                                           #
 #--------------------------------------------------------------------------#
 # General Methods :                                                        #
 # Object                                                                   #
 #   rand_range(min, max)                                                   #
 #     Give a random value between the two given values.                    #
 # Array                                                                    #
 #   random                                                                 #
 #     Returns a random item in an array.                                   #
 #   random!                                                                #
 #     Returns a random item in array and deletes it.                       #
 #   sum                                                                    #
 #     Returns sum of all values in an array.                               #
 #   mean                                                                   #
 #     Returns the average of all values in an array                        #
 #--------------------------------------------------------------------------#
 # Handled Methods (RGSS3)                                                  #
 # Window_BattleLog                                                         #
 #   display_action_results                                                 #
 #==========================================================================#
($imported||={})[:zcore] = true
module Z
 
 def self.display_command_symbols
   symbols = []
   symbols.push(:critical)
   symbols.push(:hpdamage)
   symbols.push(:ampxdamage) if $imported[:z02]
   symbols.push(:mpdamage)   unless $imported[:z02]
   symbols.push(:tpdamage)
   symbols.push(:miss)
   symbols.push(:evasion)
   symbols.push(:steal)      if $imported[:z05]
   symbols.push(:states)
 end
 
end
#========#======================#====#================================#========#
#--------#                      #----# DO NOT EDIT PAST THIS POINT!!! #--------#
#--------# End of Customization #----# Editing will cause Kata Yang Tidak bisa dibaca di Scan Kami by    #--------#
#--------#                      #----# brain asplosions.              #--------#
#========#======================#====#================================#========#
class Window_BattleLog < Window_Selectable
 #--------------------------------------------------------------------------
 # ● Overwrite method: display_action_results
 #--------------------------------------------------------------------------
 def display_action_results(target, item)
   if target.result.used
     last_line_number = line_number
     for symbol in Z::display_command_symbols
       case symbol
       when :critical; display_critical(target, item)
       when :damage;   display_damage(target, item)
       when :hpdamage, :mpdamage, :tpdamage, :ampxdamage
         if !target.result.missed and !target.result.evaded
           case symbol
           when :hpdamage;   display_hp_damage(target, item)
           when :mpdamage;   display_mp_damage(target, item)
           when :tpdamage;   display_tp_damage(target, item)
           when :ampxdamage; display_ampx_damage(target, item)
           end
         end
       when :states;   display_affected_status(target, item)
       when :steal;    display_steal(target, item)
       end
     end
     display_failure(target, item)
     wait if line_number > last_line_number
     back_to(last_line_number)
   target.reset_steal_item if $imported[:z05] unless target.actor?
   end
 end
 
 alias :zdf :display_failure
 def display_failure(target, item)
   return unless target.result.steal.nil?
   zdf(target, item)
 end
 #--------------------------------------------------------------------------
 # ● New method: display_steal    (Z05)
 #--------------------------------------------------------------------------
 def display_steal(target, skill)
   return unless skill.steal?
   item = target.last_stolen_item
   result = target.result.steal
   case result
   when :success
     if item.is_a?(Integer)
     add_text(sprintf(Z05::STEAL_GOLD, item, target.name))
   else
     add_text(sprintf(Z05::STEAL_ITEM, item.name, target.name))
   end
   when :nosteal
     add_text(sprintf(Z05::NO_STEALS, target.name))
   when :fail
     add_text(Z05::STEAL_FAIL)
   end
 end
 #--------------------------------------------------------------------------
 # ● New method: display_ampx_damage    (Z02)
 #--------------------------------------------------------------------------
 def display_ampx_damage(target, item)
   return if target.dead? || target.result.mp_damage == 0
   return if (resource = target.resource(item)).nil?
   Sound.play_recovery if target.result.mp_damage < 0
   add_text(target.result.ampx_damage_text(resource.name))
   wait
 end
 
end

module DataManager
 #--------------------------------------------------------------------------
 # ● Overwrite method: make_save_contents
 #--------------------------------------------------------------------------
 def self.make_save_contents
   contents = {}
   contents[:system]        = $game_system
   contents[:timer]         = $game_timer
   contents[:message]       = $game_message
   contents[:switches]      = $game_switches
   contents[:variables]     = $game_variables
   contents[:self_switches] = $game_self_switches
   contents[:actors]        = $game_actors
   contents[:party]         = $game_party
   contents[:troop]         = $game_troop
   contents[:map]           = $game_map
   contents[:player]        = $game_player
   #------------------------=
   contents[:quest] = QuestLog.questlist if $imported[:z07]
   #------------------------=
   contents
 end
 #--------------------------------------------------------------------------
 # ● Overwrite method: extract_save_contents
 #--------------------------------------------------------------------------
 def self.extract_save_contents(contents)
   $game_system        = contents[:system]
   $game_timer         = contents[:timer]
   $game_message       = contents[:message]
   $game_switches      = contents[:switches]
   $game_variables     = contents[:variables]
   $game_self_switches = contents[:self_switches]
   $game_actors        = contents[:actors]
   $game_party         = contents[:party]
   $game_troop         = contents[:troop]
   $game_map           = contents[:map]
   $game_player        = contents[:player]
   #-------------------=
   QuestList.loadquestlist(contents[:quest]) if $imported[:z07]
   #-------------------=
 end
 
end

class Object
 #--------------------------------------------------------------------------
 # ● New method: rand_range
 #--------------------------------------------------------------------------
 def rand_range(min, max)
   rand(max - min + 1) + min
 end
 
end

class Array
 #--------------------------------------------------------------------------
 # ● New method: random
 #--------------------------------------------------------------------------
 def random
   self[rand(size)]
 end
 #--------------------------------------------------------------------------
 # ● New method: random!
 #--------------------------------------------------------------------------
 def random!
   self.delete_at(rand(size))
 end
 #--------------------------------------------------------------------------
 # ● New method: sum
 #--------------------------------------------------------------------------
 def sum
   self.inject{|sum,x| sum + x }
 end
 #--------------------------------------------------------------------------
 # ● New method: mean
 #--------------------------------------------------------------------------
 def mean
   sum.to_f / size
 end
 
end

class Object
 
 def tryconvert(value)
   begin
     return eval(value)
   rescue
     return value
   end
 end
 
end[/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

___________We Are Designer Indonesia_____________
Wibie sultan ID
http://Scaredjsl.blogspot.com
@Wibie_sulthan
FB: Game Designer Bandung Indonesia
8) Basketball 
afro 


I Know I Not Perfect :0| 
But I Have You My friends
avatar
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

View user profile http://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