Simplified/Minimal Equip Scene

I've been scratching my head over this for a few days now and've realised that editing the default scripts is getting me nowhere, so I thought I'd come and make a request here~
 
I'm looking to have an equip scene that looks like this. Enjoy my awful mockup.
 
U9DnlWL.png

 
So as you can see from there, the windows are all repositioned, and that stat menu to the side is gone (I don't need it). Something else that I'd like to do is remove the optimise command - I assume with the window being smaller, it might get a little squishy, so I don't need it anyway. I understand that'll probably happen with the equip list as well, which should be vertically selectable - but I can just make smaller names, haha. Unless you want to implement some kind of scrolling text, but that's up to you and I don't particularly need it.
 
Incidentally, the reason I'm wanting these changes is because my menu looks like this -
 
ceykXub.png

 
and I just think an equip scene like that would look far more streamlined. To that effect, it'd be really helpful for me if you could clearly reposition each window in the scene, just so I can get everything lined up correctly.
 
If it helps any, the menu window showing the actor face and stuff is called in the script like this -

def initialize(x, y) super(x, y, 300, 221) refresh end...at least I think it is. So that should be the size to aim for, for the equip slots.

If you need any more info then please do let me know, and thank you in advance.
Have you just renamed the equip types there, or are you using a script for more flexibility?
Just renamed them 🙂
And when you select Change, do you want it to let you select the slot first and then the equipment (so only equipment for that slot appears in the left window), or do you want ALL equipment to appear in the left window, and the slot window isn't selectable at all?


In case that's difficult to understand ... by default you select Change, then you move up and down through the slots and the list of available equipment changes. You choose a slot, then you choose equip for that slot. Do you want it to work like that, or would you rather select Change, have ALL available equips for ALL slots appear in the left window, and just scroll through them to select what you want, and it goes to the appropriate slot?
What you said first would be fine - hit change, scroll through the slots, relevant equipment shows up in left hand window. Apologies for the confusion!
No confusion 🙂 I just figured I'd ask.


Okay, got it almost working. The narrow items window looks quite bad, especially with the quantity showing. Do you want the icon and quantity in that window or can I get rid of one/both of them? Or make the window wider and reposition things a little bit?
You can get rid of the quantity if that makes it a little clearer. I'd prefer the icon to stay - though if it's still a little squashed, I wonder if it would work in the description box instead?
Here you go ... give this a try. New slot, below Materials, but above any other scripts that might alias any of these methods.

Spoiler
Code:
class Window_EquipCommand < Window_HorzCommand  #--------------------------------------------------------------------------  # * Get Digit Count  #--------------------------------------------------------------------------  def col_max    return 2  end  #--------------------------------------------------------------------------  # * Create Command List  #--------------------------------------------------------------------------  def make_command_list    add_command(Vocab::equip2,   :equip)    add_command(Vocab::clear,    :clear)  endendclass Window_EquipItem < Window_ItemList  #--------------------------------------------------------------------------  # * Get Digit Count  #--------------------------------------------------------------------------  def col_max    return 1  end  #--------------------------------------------------------------------------  # * Draw Item  #--------------------------------------------------------------------------  def draw_item(index)    item = @data[index]    if item      rect = item_rect(index)      rect.width -= 4      draw_item_name(item, rect.x, rect.y, enable?(item))    end  endendclass Scene_Equip < Scene_MenuBase  #--------------------------------------------------------------------------  # * Start Processing  #--------------------------------------------------------------------------  def start    super    create_help_window    create_command_window    create_slot_window    create_item_window  end  #--------------------------------------------------------------------------  # * Create Help Window  #--------------------------------------------------------------------------  alias shaz_create_help_window create_help_window  def create_help_window    shaz_create_help_window    @help_window.y = Graphics.height - @help_window.height  end  #--------------------------------------------------------------------------  # * Create Command Window  #--------------------------------------------------------------------------  def create_command_window    wx = 200    wy = 75    ww = 300    @command_window = Window_EquipCommand.new(200, 75, 300)    @command_window.viewport = @viewport    @command_window.help_window = @help_window    @command_window.set_handler(:equip,    method(:command_equip))    @command_window.set_handler(:clear,    method(:command_clear))    @command_window.set_handler(:cancel,   method(:return_scene))    @command_window.set_handler(:pagedown, method(:next_actor))    @command_window.set_handler(:pageup,   method(:prev_actor))  end  #--------------------------------------------------------------------------  # * Create Slot Window  #--------------------------------------------------------------------------  def create_slot_window    wx = @command_window.x    wy = @command_window.y + @command_window.height    ww = @command_window.width    @slot_window = Window_EquipSlot.new(wx, wy, ww)    @slot_window.viewport = @viewport    @slot_window.help_window = @help_window    @slot_window.actor = @actor    @slot_window.set_handler(:ok,       method(:on_slot_ok))    @slot_window.set_handler(:cancel,   method(:on_slot_cancel))  end  #--------------------------------------------------------------------------  # * Create Item Window  #--------------------------------------------------------------------------  def create_item_window    wx = 40    wy = @command_window.y     ww = 150     wh = @command_window.height + @slot_window.height    @item_window = Window_EquipItem.new(wx, wy, ww, wh)    @item_window.viewport = @viewport    @item_window.help_window = @help_window    @item_window.actor = @actor    @item_window.set_handler(:ok,     method(:on_item_ok))    @item_window.set_handler(:cancel, method(:on_item_cancel))    @slot_window.item_window = @item_window  end  #--------------------------------------------------------------------------  # * [Remove All] Command  #--------------------------------------------------------------------------  def command_clear    Sound.play_equip    @actor.clear_equipments    @slot_window.refresh    @command_window.activate  end  #--------------------------------------------------------------------------  # * Change Actors  #--------------------------------------------------------------------------  def on_actor_change    @slot_window.actor = @actor    @item_window.actor = @actor    @command_window.activate  endend
That's perfect! Thank you so much for the quick response.
You're welcome 🙂


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/simplified-minimal-equip-scene.17205/