Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Special Items Separate Menu
#16
Ah, that's the beauty of what I did.

In the main menu, ala Scene_Menu, it activates the Item menu with a call like $scene=Scene_Item.new. The rewrite/script allows that statement to still be used, though it would 'remove' all the special items you designate. But if you instead use $scene=Scene_Item.new(true), you only get the special items.

What I am assuming you want is to have 'two' Item menu options in the main menu. This requires that YOU add a new option for the special item menu.

FIRST.... look at the block in Scene_Menu within the main method which looks like this:
Code:
# Make command window
    s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = "Status"
    s5 = "Save"
    s6 = "End Game"
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])
    @command_window.index = @menu_index
    # If number of party members is 0
    if $game_party.actors.size == 0
      # Disable items, skills, equipment, and status
      @command_window.disable_item(0)
      @command_window.disable_item(1)
      @command_window.disable_item(2)
      @command_window.disable_item(3)
    end
    # If save is forbidden
    if $game_system.save_disabled
      # Disable save
      @command_window.disable_item(4)
    end

This makes the 6 items in your menu. Let's assume you are adding the 2nd item menu below the first item menu... change it to THIS

Code:
# Make command window
    s1 = $data_system.words.item
    s2 = $data_system.words.item
    s3 = $data_system.words.skill
    s4 = $data_system.words.equip
    s5 = "Status"
    s6 = "Save"
    s7 = "End Game"
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])
    @command_window.index = @menu_index
    # If number of party members is 0
    if $game_party.actors.size == 0
      # Disable items, skills, equipment, and status
      @command_window.disable_item(0)
      @command_window.disable_item(1)
      @command_window.disable_item(2)
      @command_window.disable_item(3)
      @command_window.disable_item(4)
    end
    # If save is forbidden
    if $game_system.save_disabled
      # Disable save
      @command_window.disable_item(5)
    end
This increases the number of options from 6 options to 7



In the update command method, you normally have this:
Code:
# If command other than save or end game, and party members = 0
      if $game_party.actors.size == 0 and @command_window.index < 4
        # Play buzzer SE
        $game_system.se_play($data_system.buzzer_se)
        return
      end
      # Branch by command window cursor position
      case @command_window.index
      when 0  # item
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to item screen
        $scene = Scene_Item.new
      when 1  # skill
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Make status window active
        @command_window.active = false
You need to do some changes like this:
Code:
# If command other than save or end game, and party members = 0
      if $game_party.actors.size == 0 and @command_window.index < 5
        # Play buzzer SE
        $game_system.se_play($data_system.buzzer_se)
        return
      end
      # Branch by command window cursor position
      case @command_window.index
      when 0  # item
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to item screen
        $scene = Scene_Item.new
      when 1  # THE SPECIAL ITEM!!!!
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to item screen
        $scene = Scene_Item.new(true)
      when 2  # skill
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Make status window active
        @command_window.active = false

Note that I added a new ITEM option with the 'when 1' block, and changed the Skill to work for 'when 2'. Change all other 'when' values down one more value to match.



Now that you did that, go into the update_status methods and advance all the when values by one as well....
when 2 # Skill
when 3 # equipment
when 4 #status

Hopefully, you can follow this. If you need to add/remove menu options like adding other features like 'party order', 'crafting' or the like, you'd need to know about this. We learn by doing, so I suggest a little practice on a test project. Winking
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Special Items Separate Menu - by Diorm - 07-11-2017, 02:16 PM
RE: Special Items Separate Menu - by DerVVulfman - 07-11-2017, 10:06 PM
RE: Special Items Separate Menu - by kyonides - 07-12-2017, 04:01 AM
RE: Special Items Separate Menu - by Diorm - 07-17-2017, 01:11 AM
RE: Special Items Separate Menu - by DerVVulfman - 07-17-2017, 03:14 AM
RE: Special Items Separate Menu - by Diorm - 07-17-2017, 08:23 PM
RE: Special Items Separate Menu - by kyonides - 07-17-2017, 09:21 PM
RE: Special Items Separate Menu - by Diorm - 07-18-2017, 03:09 AM
RE: Special Items Separate Menu - by DerVVulfman - 07-18-2017, 03:11 AM
RE: Special Items Separate Menu - by Diorm - 07-18-2017, 02:38 PM
RE: Special Items Separate Menu - by DerVVulfman - 07-19-2017, 03:38 AM
RE: Special Items Separate Menu - by kyonides - 07-21-2017, 04:27 AM
RE: Special Items Separate Menu - by Diorm - 07-21-2017, 10:35 PM
RE: Special Items Separate Menu - by DerVVulfman - 07-21-2017, 10:59 PM
RE: Special Items Separate Menu - by Diorm - 08-06-2017, 03:30 PM
RE: Special Items Separate Menu - by DerVVulfman - 08-07-2017, 03:40 AM
RE: Special Items Separate Menu - by kyonides - 08-08-2017, 07:11 AM
RE: Special Items Separate Menu - by DerVVulfman - 08-09-2017, 03:35 AM
RE: Special Items Separate Menu - by Diorm - 08-10-2017, 07:26 PM
RE: Special Items Separate Menu - by DerVVulfman - 08-11-2017, 05:01 AM
RE: Special Items Separate Menu - by Diorm - 08-11-2017, 01:54 PM
RE: Special Items Separate Menu - by DerVVulfman - 08-11-2017, 08:01 PM
RE: Special Items Separate Menu - by Diorm - 08-15-2017, 01:58 PM
RE: Special Items Separate Menu - by DerVVulfman - 08-16-2017, 03:34 AM
RE: Special Items Separate Menu - by Diorm - 01-30-2018, 01:14 AM
RE: Special Items Separate Menu - by DerVVulfman - 01-30-2018, 04:31 AM
RE: Special Items Separate Menu - by Diorm - 01-30-2018, 04:16 PM
RE: Special Items Separate Menu - by DerVVulfman - 01-31-2018, 04:37 AM
RE: Special Items Separate Menu - by Diorm - 02-03-2018, 12:59 AM
RE: Special Items Separate Menu - by DerVVulfman - 02-03-2018, 04:19 AM
RE: Special Items Separate Menu - by kyonides - 02-03-2018, 09:20 PM
RE: Special Items Separate Menu - by Diorm - 02-04-2018, 09:40 PM
RE: Special Items Separate Menu - by Diorm - 02-04-2018, 09:52 PM
RE: Special Items Separate Menu - by Diorm - 02-06-2018, 03:10 PM
RE: Special Items Separate Menu - by kyonides - 02-06-2018, 07:35 PM
RE: Special Items Separate Menu - by DerVVulfman - 02-07-2018, 04:15 AM
RE: Special Items Separate Menu - by Diorm - 02-07-2018, 04:24 AM
RE: Special Items Separate Menu - by DerVVulfman - 02-07-2018, 04:49 AM
RE: Special Items Separate Menu - by Diorm - 02-07-2018, 03:08 PM
RE: Special Items Separate Menu - by DerVVulfman - 02-09-2018, 03:41 AM
RE: Special Items Separate Menu - by Diorm - 02-10-2018, 04:17 PM
RE: Special Items Separate Menu - by Diorm - 02-10-2018, 06:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Need help with my menu - Current issue is item grid layout LilyFrog 41 33,142 09-24-2018, 02:03 AM
Last Post: LilyFrog
   Sorting Items in Shop Window Melana 13 15,570 01-18-2018, 05:49 AM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 8,644 05-31-2017, 05:10 AM
Last Post: Zachariad
   XAIL MENU from RPG VX ACE to RPG XP RASHIDA12 46 45,102 05-02-2016, 08:08 PM
Last Post: RASHIDA12
Tongue  Healing Spell doesn't work right in Menu? Bounty Hunter Lani 8 11,082 01-15-2015, 07:45 PM
Last Post: Bounty Hunter Lani
   My Options Menu needs help firestalker 0 2,989 08-11-2014, 02:31 PM
Last Post: firestalker
   Vx Ace Custom Menu help? Skitzen 1 4,904 10-07-2013, 03:10 PM
Last Post: JayRay
   Dargor's Large Party script and shop menu Simon Greedwell 2 6,046 08-28-2013, 10:12 PM
Last Post: Simon Greedwell
   Help with Shop Menu [RPG Maker XP] JackMonty 6 11,806 05-23-2013, 10:14 AM
Last Post: JackMonty
Brick Sub-menu Tab Iqus 5 8,052 01-23-2013, 02:01 PM
Last Post: Pherione



Users browsing this thread: