设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 136|回复: 0

[转载发布] Organized Menu MOD

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58883
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68848

    灌水之王

    发表于 2026-8-1 08:49:59 | 显示全部楼层 |阅读模式
    Script Name: Organized Menu MOD

    Auther: Rupam Ontherocks

    This is my very first script which provides a Scene_Menu in organized window view.

    Free to use in any project.

    Note: This is a single player menu system.

    MOD Features:

    - Categorized Menu Windows.                                               

    - Custom Window-skins for each window.

    - Window for displaying States.

    - Actor Profile Window.                                                 

    - Window for displaying map name.                                         

    - Window for displaying variables.

     

    Thanks to dbchest for his calculation over Level and Experience rate.

     

    Edit: Version 1.1 Added [icons for Gold, Variables and Map-name]

    Edit: Added number alignments for variables.

     

    Organized Menu MOD Version 1.1


    #==============================================================================

    # ■ Script Name:                                  

    # - Organized Menu MOD

    # - Version 1.1

    #------------------------------------------------------------------------------

    # ■ Note:                                                                  

    # - This is a single player menu modification.                             

    #------------------------------------------------------------------------------

    # ■ Version History:                                                        

    # - Initial Release [Version 1.0]

    # - Version 1.1 [Added Icon Interface]

    #------------------------------------------------------------------------------

    # ■ Game Engine:                                                            

    # - RPG Maker VX Ace                                                        

    #------------------------------------------------------------------------------

    # ■ File:                                                                   

    # - Ruby Game Scripting System 3                                            

    #------------------------------------------------------------------------------

    # ■ Type:                                                                   

    # - Scene_Menu                                                              

    #------------------------------------------------------------------------------

    # ■ Script Level:                                                           

    # - Advance                                                                 

    #------------------------------------------------------------------------------

    # ■ Auther:                                                                 

    # - Rupam Ontherocks                                                        

    #------------------------------------------------------------------------------

    # ■ Date:                                                                   

    # - 18/04/2015                                                              

    #------------------------------------------------------------------------------

    # ■ License:                                                                

    # - Freeware                                                                

    #------------------------------------------------------------------------------

    # ■ Description:                                                            

    # - This is a new and simple menu modification which gives players          

    #   an organized view.                                                      

    #------------------------------------------------------------------------------

    # ■ MOD Features:                                                           

    # - Categorized Menu Windows.                                               

    # - Custom Windowskins for each window.

    # - Window for displaying States.

    # - Actor Profile Window.                                                 

    # - Window for displaying map name.                                         

    # - Window for displaying variables.                                        

    #------------------------------------------------------------------------------

    # ■ Hints:                                                                  

    # - Use variables to show your Game Progress - Alternative Curreny or Bonus 

    #   Points.                                                                 

    #------------------------------------------------------------------------------

    # ■ Usage:                                                                  

    # - Free to use in commercial/non-commercial games.                         

    # - Credits must be given.                                                  

    #------------------------------------------------------------------------------

    # ■ Instruction:                                                            

    # - Copy the script and paste above main.                                   

    #==============================================================================

    module MOD

    #==============================================================================

    #                          Menu Modification Begins                          

    #------------------------------------------------------------------------------

    # ● Font Configuration                                                      

    #------------------------------------------------------------------------------

      Font.default_name      = ["Cambria","Cambria","Cambria"]   

      Font.default_size      = 18

      Font.default_bold      = false

      Font.default_italic    = false

      Font.default_shadow    = false

      Font.default_outline   = true

      Font.default_color     = Color.new(255,255,255,255)

      Font.default_out_color = Color.new(0,0,0,182)

    #------------------------------------------------------------------------------

    # ● Windowskin Graphics                                                     

    #------------------------------------------------------------------------------

      WINDOW = ('Window')

    #==============================================================================

    # ▼ Object Initialization                                                   

    #       x : window X coordinate                                              

    #       y : window Y coordinate                                              

    #------------------------------------------------------------------------------

    # ● Logo Window [Main Menu]                                                 

    #------------------------------------------------------------------------------

      LogoX = 0

      LogoY = 0

    #------------------------------------------------------------------------------

    # ● Health Window                                                           

    #------------------------------------------------------------------------------

      HealthX = 0

      HealthY = 48

    #------------------------------------------------------------------------------

    # ● Mana Window                                                             

    #------------------------------------------------------------------------------

      ManaX = 160

      ManaY = 48

    #------------------------------------------------------------------------------

    # ● Level Window                                                            

    #------------------------------------------------------------------------------

      LevelX = 0

      LevelY = 123

    #------------------------------------------------------------------------------

    # ● Experience Window                                                            

    #------------------------------------------------------------------------------

      ExpX = 160

      ExpY = 123

    #------------------------------------------------------------------------------

    # ● Menu Command Window                                                            

    #------------------------------------------------------------------------------  

      CommandX = 0

      CommandY = 198

    #------------------------------------------------------------------------------

    # ● Gold Window                                                            

    #------------------------------------------------------------------------------

      GoldX = 160

      GoldY = 198

    #------------------------------------------------------------------------------

    # ● Variable 1 Window                                                            

    #------------------------------------------------------------------------------

      Var1X = 0

      Var1Y = 246

    #------------------------------------------------------------------------------

    # ● Variable 2 Window                                                            

    #------------------------------------------------------------------------------

      Var2X = 160

      Var2Y = 246

    #------------------------------------------------------------------------------

    # ● Variable 3 Window                                                            

    #------------------------------------------------------------------------------ 

      Var3X = 0

      Var3Y = 294

    #------------------------------------------------------------------------------

    # ● Variable 4 Window                                                            

    #------------------------------------------------------------------------------

      Var4X = 160

      Var4Y = 294  

    #------------------------------------------------------------------------------

    # ● Mapname Window                                                            

    #------------------------------------------------------------------------------ 

      MapX = 0

      MapY = 342

    #------------------------------------------------------------------------------

    # ● States Window                                                            

    #------------------------------------------------------------------------------ 

      StateX = 160

      StateY = 342  

    #------------------------------------------------------------------------------

    # ● Profile Window                                                            

    #------------------------------------------------------------------------------

      ProX = 320

      ProY = 0

    #------------------------------------------------------------------------------

    # ● Text Alignment                                                            

    #------------------------------------------------------------------------------

      ALIGNMENT = 2   

    end

    #------------------------------------------------------------------------------

    #                             End Of Modification                            

    #------------------------------------------------------------------------------

    def alignment

        return MOD::ALIGNMENT

      end

    #==============================================================================

    # ▼ Parameter Calculation:                                                  

    #------------------------------------------------------------------------------

    # - [Calculation of Level and Experience Rate]                              

    #------------------------------------------------------------------------------

    class Game_BattlerBase

    #------------------------------------------------------------------------------

    # ● Level Rate                                                              

    #------------------------------------------------------------------------------

      def lvl_rate

        @level.to_f / max_level

      end

    #------------------------------------------------------------------------------

    # ● Experience Rate                                                         

    #------------------------------------------------------------------------------

      def exp_rate

        equation1 = (exp.to_f - current_level_exp.to_f)

        equation2 = (next_level_exp.to_f - current_level_exp.to_f)

        equation1 / equation2

      end

    end

    #==============================================================================

    #                                Menu Items                                  

    #------------------------------------------------------------------------------

    # ▼ Scene_Menu                                                              

    #------------------------------------------------------------------------------

    # - This class performs the menu screen processing.                         

    #------------------------------------------------------------------------------

    class Scene_Menu < Scene_MenuBase

    #------------------------------------------------------------------------------

    # ● Start MOD Processing                                                    

    #------------------------------------------------------------------------------

      def start

            super

            create_background

            create_logo_window

            create_health_window

            create_mana_window

            create_level_window

            create_exp_window

            create_command_window

            create_var1_window

            create_var2_window

            create_var3_window

            create_var4_window

            create_map_window

            create_gold_window

            create_state_window

            create_pro_window

          end

    #------------------------------------------------------------------------------

    # ● Gold Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_gold_window

            @gold_window = Window_Gold.new

            @gold_window.x = (MOD::GoldX)

            @gold_window.y = (MOD::GoldY)

            @gold_window.windowskin = Cache.system(MOD::WINDOW)

            @gold_window.width = 160

            @gold_window.height = 48

          end       

    #------------------------------------------------------------------------------

    # ● Logo Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_logo_window

            @logo_window = Window_Logo.new((MOD::LogoX), (MOD::LogoY))

            @logo_window.x = (MOD::LogoX)

            @logo_window.y = (MOD::LogoY)

            @logo_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #------------------------------------------------------------------------------

    # ● Health Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_health_window

            @health_window = Window_Health.new((MOD::HealthX), (MOD::HealthY))

            @health_window.x = (MOD::HealthX)

            @health_window.y = (MOD::HealthY)

            @health_window.windowskin = Cache.system(MOD::WINDOW)

          end 

    #------------------------------------------------------------------------------

    # ● Mana Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_mana_window

            @mana_window = Window_Mana.new((MOD::ManaX), (MOD::ManaY))

            @mana_window.x = (MOD::ManaX)

            @mana_window.y = (MOD::ManaY)

            @mana_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #------------------------------------------------------------------------------

    # ● Level Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_level_window

            @level_window = Window_Level.new((MOD::LevelX), (MOD::LevelY))

            @level_window.x = (MOD::LevelX)

            @level_window.y = (MOD::LevelY)

            @level_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #------------------------------------------------------------------------------

    # ● Experience Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_exp_window

            @exp_window = Window_Exp.new((MOD::ExpX), (MOD::ExpY))

            @exp_window.x = (MOD::ExpX)

            @exp_window.y = (MOD::ExpY)

            @exp_window.windowskin = Cache.system(MOD::WINDOW)

          end 

    #------------------------------------------------------------------------------

    # ● Command Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_command_window

       @command_window = Window_MenuCommand.new

       @command_window.set_handler
    item,    method
    command_item))

       @command_window.set_handler
    skill,   method
    command_skill))

       @command_window.set_handler
    equip,   method
    command_equip))

       @command_window.set_handler
    status,  method
    command_status))

       @command_window.set_handler
    save,    method
    command_save))

       @command_window.set_handler
    end,     method
    command_end))

       @command_window.set_handler
    cancel,  method
    return_scene))

       @command_window.x = (MOD::CommandX)

       @command_window.y = (MOD::CommandY)

       @command_window.width = 160

     end

    end

    #------------------------------------------------------------------------------

    # ● [scene_Item]                                                    

    #------------------------------------------------------------------------------

      def command_item

            @actor = $game_party.members[0]

            SceneManager.call(Scene_Item)

          end     

    #------------------------------------------------------------------------------

    # ● [scene_Skill]                                                    

    #------------------------------------------------------------------------------

      def command_skill

            @actor = $game_party.members[0]

            SceneManager.call(Scene_Skill)

          end

    #------------------------------------------------------------------------------

    # ● [scene_Equip]                                                    

    #------------------------------------------------------------------------------

      def command_equip

            @actor = $game_party.members[0]

            SceneManager.call(Scene_Equip)

          end

    #------------------------------------------------------------------------------

    # ● [scene_Status]                                                    

    #------------------------------------------------------------------------------

      def command_status

            @actor = $game_party.members[0]

            SceneManager.call(Scene_Status)

          end     

    #------------------------------------------------------------------------------

    # ● [scene_Save]                                                    

    #------------------------------------------------------------------------------

      def command_save

            @actor = $game_party.members[0]

            SceneManager.call(Scene_Save)

          end 

    #------------------------------------------------------------------------------

    # ● [scene_End]                                                    

    #------------------------------------------------------------------------------

      def command_end

            @actor = $game_party.members[0]

            SceneManager.call(Scene_End)

          end      

    #------------------------------------------------------------------------------

    # ● Variable 1 Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_var1_window

            @var1_window = Window_Var1.new((MOD::Var1X), (MOD::Var1Y))

            @var1_window.x = (MOD::Var1X)

            @var1_window.y = (MOD::Var1Y)

            @var1_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #------------------------------------------------------------------------------

    # ● Variable 2 Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_var2_window

            @var2_window = Window_Var2.new((MOD::Var2X), (MOD::Var2Y))

            @var2_window.x = (MOD::Var2X)

            @var2_window.y = (MOD::Var2Y)

            @var2_window.windowskin = Cache.system(MOD::WINDOW)

          end 

    #------------------------------------------------------------------------------

    # ● Variable 3 Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_var3_window

            @var3_window = Window_Var3.new((MOD::Var3X), (MOD::Var3Y))

            @var3_window.x = (MOD::Var3X)

            @var3_window.y = (MOD::Var3Y)

            @var3_window.windowskin = Cache.system(MOD::WINDOW)

          end 

    #------------------------------------------------------------------------------

    # ● Variable 4 Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_var4_window

            @var4_window = Window_Var4.new((MOD::Var4X), (MOD::Var4Y))

            @var4_window.x = (MOD::Var4X)

            @var4_window.y = (MOD::Var4Y)

            @var4_window.windowskin = Cache.system(MOD::WINDOW)

          end             

    #------------------------------------------------------------------------------

    # ● Mapname Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_map_window

            @map_window = Window_Map.new((MOD::MapX), (MOD::MapY))

            @map_window.x = (MOD::MapX)

            @map_window.y = (MOD::MapY)

            @map_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #------------------------------------------------------------------------------

    # ● States Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_state_window

            @state_window = Window_State.new((MOD::StateX), (MOD::StateY))

            @state_window.x = (MOD::StateX)

            @state_window.y = (MOD::StateY)

            @state_window.windowskin = Cache.system(MOD::WINDOW)

          end      

    #------------------------------------------------------------------------------

    # ● Profile Window MOD                                                    

    #------------------------------------------------------------------------------

      def create_pro_window

            @pro_window = Window_Pro.new((MOD:
    roX), (MOD:
    roY))

            @pro_window.x = (MOD:
    roX)

            @pro_window.y = (MOD:
    roY)

            @pro_window.windowskin = Cache.system(MOD::WINDOW)

          end

    #==============================================================================

    # ▼ Window_Gold

    #------------------------------------------------------------------------------

    # This window displays the available gold.

    #==============================================================================

    class Window_Gold < Window_Base

      #--------------------------------------------------------------------------

      # ● Object Initialization

      #--------------------------------------------------------------------------

      def initialize

        super(0, 0, window_width, fitting_height(1))

        refresh

      end

      #--------------------------------------------------------------------------

      # ● Refresh

      #--------------------------------------------------------------------------

      def refresh

            contents.clear

            draw_currency_value(value, currency_unit, 4, 2, contents.width - 25)

      end

      #--------------------------------------------------------------------------

      # ● Get Party Gold

      #--------------------------------------------------------------------------

      def value

        $game_party.gold

      end

      #--------------------------------------------------------------------------

      # ● Get Currency Unit

      #--------------------------------------------------------------------------

      def currency_unit

      #--------------------------------------------------------------------------

      # ● Gold Icon

      #--------------------------------------------------------------------------

            draw_icon(361, contents.width - 23, -1, true)

            "Gold"

      end

      #--------------------------------------------------------------------------

      # ● Open Window

      #--------------------------------------------------------------------------

      def open

        refresh

        super

      end

    end

    #==============================================================================

    # ▼ Window Logo                                                             

    #------------------------------------------------------------------------------

    # - This windows displays Main Menu Logo.                                   

    #------------------------------------------------------------------------------

    class Window_Logo < Window_Base

      def initialize(x, y)

            super(x, y, 320, 48)

            refresh

          end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(system_color)

             draw_text(0, 0, 300, line_height, "Main Menu", 1)

           end

         end

    #==============================================================================

    # ▼ Window Health                                                           

    #------------------------------------------------------------------------------

    # - This windows displays Health.                                           

    #------------------------------------------------------------------------------

    class Window_Health < Window_Base

      def initialize(x, y)

            super(x, y, 160, 75)

            refresh

      end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(0, 0, 250, line_height, "Health Condition")

             draw_actor_hp(@actor, 0 ,20)

           end

    #------------------------------------------------------------------------------

    # ● Draw HP                                                                 

    #------------------------------------------------------------------------------

      def draw_actor_hp(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)

        change_color(system_color)

        draw_text(5, 20, 100, line_height, "Health")

        change_color(normal_color)

        draw_text(5, 20, 116, line_height, actor.hp, 2)

      end 

    end

    #==============================================================================

    # ▼ Window Mana                                                             

    #------------------------------------------------------------------------------

    # - This windows displays Mana.                                             

    #------------------------------------------------------------------------------

    class Window_Mana < Window_Base

      def initialize(x, y)

            super(x, y, 160, 75)

            refresh

      end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(0, 0, 250, line_height, "Mana Condition")

             draw_actor_mp(@actor, 0 ,20)

           end

    #------------------------------------------------------------------------------

    # ● Draw MP                                                                 

    #------------------------------------------------------------------------------

      def draw_actor_mp(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)

        change_color(system_color)

        draw_text(5, 20, 100, line_height, "Mana")

        change_color(normal_color)

        draw_text(5, 20, 116, line_height, actor.mp, 2)

      end

      end

    #==============================================================================

    # ▼ Window Level                                                            

    #------------------------------------------------------------------------------

    # - This windows displays Level.                                            

    #------------------------------------------------------------------------------

    class Window_Level < Window_Base

      def initialize(x, y)

            super(x, y, 160, 75)

            refresh

      end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(0, 0, 250, line_height, "Current Level")

             draw_actor_level(@actor, 0 ,20)

           end

    #------------------------------------------------------------------------------

    # ● Draw Level                                                              

    #------------------------------------------------------------------------------

      def draw_actor_level(actor, x, y, width = 124)

        draw_gauge(x, y, width, actor.lvl_rate, text_color(10), text_color(2))

        change_color(system_color)

        draw_text(5, 20, 100, line_height, Vocab::level_a)

        change_color(normal_color)

        draw_text(5, 20, 116, line_height, actor.level, 2)

      end  

    end

    #==============================================================================

    # ▼ Window Exp                                                              

    #------------------------------------------------------------------------------

    # - This windows displays Experience.                                       

    #------------------------------------------------------------------------------

    class Window_Exp < Window_Base

      def initialize(x, y)

            super(x, y, 160, 75)

            refresh

          end      

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(0, 0, 250, line_height, "Experience")

             if @actor.max_level?

             draw_actor_maxlevel(@actor, 0, 20)

             else

             draw_actor_nxtlevel(@actor, 0, 20)

           end

         end

    #------------------------------------------------------------------------------

    # ● Draw Exp                                                                

    #------------------------------------------------------------------------------

      def draw_actor_nxtlevel(actor, x, y, width = 124, rate = actor.exp_rate)

          draw_gauge(x, y, width, actor.exp_rate, text_color(28), text_color(29))

          next_level = actor.next_level_exp - actor.exp

          change_color(system_color)

          draw_text(5, 20, 100, line_height, "Exp")

          change_color(normal_color)

          draw_text(5, 20, 116, line_height, next_level, 2)

        end

      def draw_actor_maxlevel(actor, x, y, width = 124, rate = 1.0)

          draw_gauge(0, 20, 124, rate, text_color(28), text_color(29))

          change_color(system_color)

          draw_text(5, 20, 116, line_height, "Max-Out")

        end    

      end  

    #==============================================================================

    #  ▼ Window Variable 1                                                       

    #------------------------------------------------------------------------------

    #  - This windows displays Varialbe ID No.1                                  

    #------------------------------------------------------------------------------

    class Window_Var1 < Window_Base

      def initialize(x, y)

            super(x, y, 160, 48)

            refresh

          end      

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(25, 0, 250, line_height, "Variable 1:",)

             change_color(system_color)

             draw_text(x, 0, contents_width, line_height, "#{$game_variables[1]}", 2)

             draw_icon(187, 0, -1, true)

           end

         end

    #==============================================================================

    #  ▼ Window Variable 2                                                       

    #------------------------------------------------------------------------------

    #  - This windows displays Varialbe ID No.2                                  

    #------------------------------------------------------------------------------

    class Window_Var2 < Window_Base

      def initialize(x, y)

            super(x, y, 160, 48)

            refresh

          end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(25, 0, 250, line_height, "Variable 2:")

             change_color(system_color)

             draw_text(0, 0, contents_width, line_height, "#{$game_variables[2]}", 2)

             draw_icon(188, 0, -1, true)

           end

         end

    #==============================================================================

    #  ▼ Window Variable 3                                                       

    #------------------------------------------------------------------------------

    #  - This windows displays Varialbe ID No.3                                 

    #------------------------------------------------------------------------------

    class Window_Var3 < Window_Base

      def initialize(x, y)

            super(x, y, 160, 48)

            refresh

          end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(25, 0, 250, line_height, "Variable 3:")

             change_color(system_color)

             draw_text(x, 0, contents_width, line_height, "#{$game_variables[3]}", 2)

             draw_icon(189, 0, -1, true)

           end

         end

    #==============================================================================

    #  ▼ Window Variable 4                                                       

    #------------------------------------------------------------------------------

    #  - This windows displays Varialbe ID No.4                                 

    #------------------------------------------------------------------------------

    class Window_Var4 < Window_Base

      def initialize(x, y)

            super(x, y, 160, 48)

            refresh

          end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(25, 0, 250, line_height, "Variable 4:")

             change_color(system_color)

             draw_text(0, 0, contents_width, line_height, "#{$game_variables[4]}", 2)

             draw_icon(190, 0, -1, true)

           end

         end      

    #==============================================================================

    # ▼ Window Mapname                                                          

    #------------------------------------------------------------------------------

    # - This windows displays Map Name                                     

    #------------------------------------------------------------------------------

    class Window_Map < Window_Base

      def initialize(x, y)

            super(x, y, 160, 74)

            refresh

          end      

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(hp_gauge_color1)

             draw_text(0, 0, 250, line_height, "Location:")

             change_color(system_color)

             draw_text(0, 20, 250, line_height, "#{$data_mapinfos[$game_map.map_id].name}")

             draw_icon(231, contents.width - 23, -1, true)

            end

          end

    #==============================================================================

    # ▼ Window State                                                          

    #------------------------------------------------------------------------------

    # - This windows displays States                                     

    #------------------------------------------------------------------------------

    class Window_State < Window_Base

      def initialize(x, y)

            super(x, y, 160, 74)

            refresh

          end      

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             contents.fill_rect(0, 0, width, height,  Font.default_out_color)

             change_color(tp_gauge_color1)

             draw_text(5, 0, width, line_height, "States:")

             draw_actor_icons(@actor, 5, 21, width = 96)

            end

          end      

    #==============================================================================

    # ▼ Window Profile                                                        

    #------------------------------------------------------------------------------

    # - This windows displays Biography.                                        

    #------------------------------------------------------------------------------

    class Window_Pro < Window_Base

      def initialize(x, y)

            super(x, y, 224, 416)

            refresh

          end

    #------------------------------------------------------------------------------

    # - Refresh                                                                 

    #------------------------------------------------------------------------------

      def refresh

            self.contents.clear

             @actor = $game_party.members[0]

             change_color(system_color)

             draw_text(0, 0, width, line_height, "Character Identity Card:")

             # Actor Face Position

             contents.fill_rect(0, 25, 96, 96,  Font.default_out_color)

             draw_actor_face(@actor, 0, 25)

             # Actor Sprite Position

             contents.fill_rect(105, 25, width, 96,  Font.default_out_color)

             draw_actor_graphic(@actor, 151, 90)

             # Actor Name Position

             contents.fill_rect(0, 130, width, 44,  Font.default_out_color)

             change_color(system_color)

             draw_text(5, 130, width, line_height, "Character Name:")

             draw_actor_name(@actor, 5, 150)

             # Actor Class Position

             contents.fill_rect(0, 183, width, 44,  Font.default_out_color)

             change_color(system_color)

             draw_text(5, 185, width, line_height, "Character Profile:")

             draw_actor_class(@actor, 5, 204)

             # Actor Parameters Position

             contents.fill_rect(0, 236, width, height,  Font.default_out_color)

             change_color(tp_gauge_color1)

             draw_text(5, 238, 200, line_height, "Character Properties:")

             draw_actor_param(@actor, 5, 258, 2)

             draw_actor_param(@actor, 5, 278, 3)

             draw_actor_param(@actor, 5, 298, 4)

             draw_actor_param(@actor, 5, 318, 5)         

             draw_actor_param(@actor, 5, 338, 6)

             draw_actor_param(@actor, 5, 358, 7)

           end

         end 

    #==============================================================================

    # ▼ Window Menu Commands                                                    

    #------------------------------------------------------------------------------

    # This window appears in main menu screen.                                  

    #------------------------------------------------------------------------------

    class Window_MenuCommand < Window_Command

      def self.init_command_position

            @@last_command_symbol = nil

          end      

    #------------------------------------------------------------------------------

    # - Object Initialization                                                   

    #------------------------------------------------------------------------------

      def initialize

            super(0, 0)

            select_last

          end      

    #------------------------------------------------------------------------------

    # ● Command Window Width                                                    

    #------------------------------------------------------------------------------

      def window_width

            return 160

          end      

    #------------------------------------------------------------------------------

    # ● Command Window Lines                                                    

    #------------------------------------------------------------------------------

      def visible_line_number

            1

          end      

    #------------------------------------------------------------------------------

    # - Command Item List                                                       

    #------------------------------------------------------------------------------

      def make_command_list

            add_main_commands

            add_original_commands

          end      

    #------------------------------------------------------------------------------

    # ● Menu Commands List                                                      

    #------------------------------------------------------------------------------

      def add_main_commands

            add_command("Inventory",  :item,   main_commands_enabled)

            add_command("Magic",      :skill,  main_commands_enabled)

            add_command("Equipments", :equip,  main_commands_enabled)

            add_command("Status",     :status, main_commands_enabled)

            add_command("Save",       :save,   main_commands_enabled)

            add_command("Quit Game",  :end,    main_commands_enabled)

          end

    #------------------------------------------------------------------------------

    # - Enable Orgiginal Commands                                               

    #------------------------------------------------------------------------------

      def add_original_commands

      end

    #------------------------------------------------------------------------------

    # - Main Command Activation                                                 

    #------------------------------------------------------------------------------

      def main_commands_enabled

            $game_party.exists

          end

    #------------------------------------------------------------------------------

    # - Formation: Activation/De-activation                                     

    #------------------------------------------------------------------------------

      def formation_enabled

            $game_party.members.size >= 2 && !$game_system.formation_disabled

          end      

    #------------------------------------------------------------------------------

    # - Processing When OK Button Is Pressed                                    

    #------------------------------------------------------------------------------

      def process_ok

            @@last_command_symbol = current_symbol

            super

          end

    #------------------------------------------------------------------------------

    # - Last Selection Position                                                 

    #------------------------------------------------------------------------------

      def select_last

            select_symbol(@@last_command_symbol)

          end

        end

    #==============================================================================

    # ■ End Of Script                                                           

    #==============================================================================          

     

    Screenshots:


    [/url][url=https://forums.rpgmakerweb.com/attachments/screenshot-1429463252-937500-png.20853/]


    本贴来自国际rpgmaker官方论坛作者:RupamOntherocks处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/organized-menu-mod.39974/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-17 21:15 , Processed in 0.149959 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表