Falcao Pearl ABS Quick Tool Selection Menu

Hello guys! I have 5 questions regarding customization of the Quick Tool Menu in Falcao Pearl ABS system. If you could answer even 1 of these, I'll be extremely thankful.

I have a picture attached to this post to help with explaining myself (please look at it, as all of the things I want changed are circled and/or crossed out)

1. So my first question is, would it be possible to completely remove the "Left Hand" option from the menu? (Which in my pic is called "2nd Weapon") There really is no use for it in my game.

UPDATE: I fixed question 2 on my own, so I only need questions 1, 3, 4, and 5 answered. 2. This is probably just a really dumb mistake on my part for messing with the script and there is most likely nothing you can do, but just in case: why are there 2 "D" hotkeys? The segment in the Battler Settings script looks like this and I don't see anything wrong with it:

# Type            Key         Display name      

  Weapon   =  [PearlKey::C,      'C']            # Weapon usage

  Armor    =  [PearlKey::V,      'V']            # Armor usage

  Item     =  [PearlKey::S,      'S']            # Item  usage

  Item2    =  [PearlKey:[IMG]http://forums.rpgmakerweb.com/uploads/emoticons/default_biggrin.gif'[/IMG],      'D]            # Item2 usage

  Skill    =  [PearlKey::F,      'F']            # Skill usage

  Skill2   =  [PearlKey::W,      'W']            # Skill2 usage

  Skill3   =  [PearlKey::E,      'E']            # Skill3 usage

  Skill4   =  [PearlKey::R,      'R']            # Skill4 usage

  

  # Follower attack toggle

  Follower =  [PearlKey::H,      'H']

  

  # Quick tool selection key

  QuickTool = PearlKey::A

  

  # Player select call key

  PlayerSelect = PearlKey::N

 

3. Is there also anyway to remove this 'S' hotkey? Since I'd like to remove the Left Hand or "2nd Weapon" from the game to begin with, there is no use for this command. I know that I will have to edit the graphic, but that doesn't remove the function from the script.

 

4. Same as with question 3, how do I remove the "Party Attack" command? (The 'H' hotkey) My game doesn't have any party members. I enabled the "Single Player Mode" so the Party Menu has been disabled, but this hotkey still exists.

 

5. This is honestly not as important, but is it possible to put the Face Graphic for the player character in the top left of the menu, replacing the messed up 4-frame sprite?

 

This is asking a lot; perhaps even too much, I know. But if someone could give even the slightest bit of help, you will have my gratitude. If you would wish to be credited in my game, I will happily do that, as well.

Thank you so much~

capture1.PNG
Bump!

(Is it too early to bump?? It's been almost a whole day)
Bump!

(Is it too early to bump?? It's been almost a whole day)
http://forums.rpgmakerweb.com/index.php?/topic/280-script-request-rules/
  • You are allowed to bump up your topic every 72 hours beginning from the timestamp of the last post in the topic.
Oops, I forgot about the exact amount of time 😮 Sorry!
For question 3 and 4, you can use my ABS Bugfixes script + my Toolbar Addon script (both are made for Falcao's ABS). You can find a link to both of them in my signature.

For the 1st question, try to do this:

In the "- Pearl Scenes" script, find this line:

add_command("Left Hand", :armor)Delete or comment it out. I recommend the comment out way, so if anything goes wrong, you can simply enable the line again.So, just put a # sign at the start of that line, and that button should disappear from the quick tool selection menu.

For question 5, you would need to redesign the whole top window for that, because the face image will not fit into the window, and the text besides it will overlap the face image as well.

But if you are interested, you can search for this method in the "- Pearl Scenes" script:

def refresh_top_info @top_text.contents.clear @top_text.contents.font.size = 20 @top_text.contents.fill_rect(0, 0, 58, 74, Color.new(0, 0, 0, 60))#~ @top_text.draw_character(actor.character_name,actor.character_index, 26, 60) @top_text.draw_face(actor.face_name,actor.face_index, 0, 0) @top_text.draw_text(62, 0, @top_text.width, 32, actor.name + ' Equippment') @top_text.draw_text(62, 22, @top_text.width, 32, actor.class.name) @top_text.draw_text(-22, 30, @top_text.width, 32, @statust[0], 2) @top_text.draw_text(-22, 0,@top_text.width,32, 'M = Switch Player',2) unless PearlKernel::SinglePlayer endYou can see that I already added in the face drawing method for you, and commented out the default character drawing method above.You can re-position the texts (or even the face image itself) by editing the 'draw_text' lines you see in the above method. The first two numbers in the brackets are their X and Y position.

And to re-size and re-position the top window, you can edit this line in the same script:

Code:
@top_text = Window_Base.new(x, y - 156, 460, 85)
The numbers in the brackets are (in order) the window's: X and Y position, width and height.
For question 3 and 4, you can use my ABS Bugfixes script + my Toolbar Addon script (both are made for Falcao's ABS). You can find a link to both of them in my signature.

For the 1st question, try to do this:

In the "- Pearl Scenes" script, find this line:

add_command("Left Hand", :armor)Delete or comment it out. I recommend the comment out way, so if anything goes wrong, you can simply enable the line again.So, just put a # sign at the start of that line, and that button should disappear from the quick tool selection menu.

For question 5, you would need to redesign the whole top window for that, because the face image will not fit into the window, and the text besides it will overlap the face image as well.

But if you are interested, you can search for this method in the "- Pearl Scenes" script:

def refresh_top_info @top_text.contents.clear @top_text.contents.font.size = 20 @top_text.contents.fill_rect(0, 0, 58, 74, Color.new(0, 0, 0, 60))#~ @top_text.draw_character(actor.character_name,actor.character_index, 26, 60) @top_text.draw_face(actor.face_name,actor.face_index, 0, 0) @top_text.draw_text(62, 0, @top_text.width, 32, actor.name + ' Equippment') @top_text.draw_text(62, 22, @top_text.width, 32, actor.class.name) @top_text.draw_text(-22, 30, @top_text.width, 32, @statust[0], 2) @top_text.draw_text(-22, 0,@top_text.width,32, 'M = Switch Player',2) unless PearlKernel::SinglePlayer endYou can see that I already added in the face drawing method for you, and commented out the default character drawing method above.You can re-position the texts (or even the face image itself) by editing the 'draw_text' lines you see in the above method. The first two numbers in the brackets are their X and Y position.

And to re-size and re-position the top window, you can edit this line in the same script:

@top_text = Window_Base.new(x, y - 156, 460, 85)The numbers in the brackets are (in order) the window's: X and Y position, width and height.
Sixth, you have helped me more than once, and the methods you give me always work. So thank you very much!! ^o^

EDIT: This is what I've got so far: http://i.imgur.com/iD24VAL.png 

Once again, thank you!! :3
ONE more question - sorry!  >.< - How do you change the size and position of these boxes? I found out how to change the position of the whole menu, but I want to change these boxes separately... 

Capture3.PNG
Since those are separate, new window classes made for that scene specifically, the easiest thing to do is:

Find these lines in the "- Pearl Scenes" script:

class Window_ItemSelect < Window_HorzCommand # This is the category selection window (top one).class Window_ActorQuickTool < Window_Selectable # This is the item selection window (middle one).Ignore the comments, those are not in the original script (obviously 😛 )!You will see a method named 'initialize' in both classes, and inside that method, there is a 'super(x,y)' or 'super(x,y,w,h)' line.

In both super lines, the x and y is the position of the window, so feel free to replace the x and y letters with any numeric value, and the window will be on the direct position you set it to be.

In the case of the second window mentioned above, the super line got a w and h too, and those are the width and height of the window. As with the x and y, just enter any numeric value here and the size should be changed.

The first window's width and height can be changed with the methods 'window_width' and 'window_height'. Just replace the numbers to the ones you prefer.

For the bottom window (the description window), find this line in the script:

Code:
@description = Window_Base.new(@items_w.x, @items_w.y + 148, 460, 75)
This is the same as with the top window (where the face is displayed), so just enter four numbers separated with a comma inside the brackets to set the window's X and Y position, width and height (in this order).

Original thread: https://forums.rpgmakerweb.com/threads/falcao-pearl-abs-quick-tool-selection-menu.54235/