Blizz ABS Hotkey Assignment menu gets cut off

Started by Xim, February 15, 2015, 06:08:57 pm

Previous topic - Next topic

Xim

February 15, 2015, 06:08:57 pm Last Edit: February 15, 2015, 11:52:31 pm by KK20
Hey everybody for some reason the hotkey assignment menu cuts off the last couple of icons. I don't know how this happened, but I want to know how to fix this. Or what at least is causing this to happen.

Here's a screen shot of the effect, and of the scripts I am using. I tried editing the highlighted line of code (I don't know what I'm doing) and literately nothing happened so I put it back the way I found it.

Spoiler: ShowHide





KK20

A viewport can be simply explained with this analogy. Think of it as a piece of paper for which you can draw things on. Any sprites assigned to this viewport will only be displayed if it lies within the boundaries of the paper (cuz duh, if you draw a line through the paper and onto the desk, your line on the desk isn't going to move with the paper).

Changing the viewport's settings, like you did, is just changing the drawing surface area for your objects to be placed upon. What you want to change is the height of your windows.
You want to look in part 3 and find the classes Window_Skill_Hotkey and Window_Item_Hotkey. You will see in the initialize methods something like
self.width, self.height = 320, 416


Looking at your image, it seems the 13th item is cut off.
416 = 32 * 13
If you want the window to only show 12 items at once, do the math:
32 * 12 = 384
Set your height to that.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Xim

Ah, I see. Well thank you.

I found out what was actually causing the problem was Z-HUD. I edited the lines of code in their though and everything seems to be working.