Skill names ''clip through'' the skill command window.

Hello, fellow game makers!

I am using ''MOG_Battle_Hud_EX'' script and I've recently encountered a problem with skill window overlay. You see, my idea is showing available skills just above the HP and MP numbers in a compact (4 rows max) window. The problem is, I couldn't find the method, which would help me ''contain'' the skill names within window's graphics. Bc, I also need that compact skill window (in case, there would be more then nine in-game skills) to have a second page, to which a player can scroll within the area of skill window graphic.​

1681733389088.png


I tried to solve that one for, like, a whole day and would be very grateful for any suggestion on how can I create the feature in question.​
The skills listed here on related picture are placeholders, btw.
VBI_games, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
VBI_games, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
whoops, I thought, double posting is literally posting the same post twice
I'm not too familiar with VX, but if the MV plugin is anything to go by, the window is an image file with a fixed size, that hides the actual window behind it. But the window itself still has the settings for how many skills are listed in Lines and columns, so I suppose you'd need to change that.
I'm not too familiar with VX, but if the MV plugin is anything to go by, the window is an image file with a fixed size, that hides the actual window behind it. But the window itself still has the settings for how many skills are listed in Lines and columns, so I suppose you'd need to change that.

nope, in the customizable part of the script only columns' amount is available for tweaking. I checked the script itself and literally the only mention of lines is in the ''help window'' section. tried creating the ''maximum visible lines'' method, but the game ignores it somehow.​
Odd. Well, in that case I can not help further. I hope some VX wizard is able to see this and help you out 😀
tried creating the ''maximum visible lines'' method, but the game ignores it somehow.
because that is not how computers and programming works.

from your description you're trying to create that window from zero, without using any existing framework. Which is probably the only way you can go in VXA, because half the graphic functions and graphic framework of VXA is closed source and hidden in the dll, so you have no way to use it.

However if you start from zero, then YOU have to provide every function.
In your case you would have to create a variable for first line index, that by default starts with the first skills. Then count the total number of skills, and if that is more than fits into the window abort the display loop when the window is full.

then add two controls for up and down, each counting up (or down) that line index variable.
and in the display function, you start the first name displays not with the skill number but with (skill number + (line-index * column-max).

That will make your display scroll through longer lists.

And no, I can't give you the code - I never programmed in RGSS3 or for VXA. I can only give you the basic structure to start with.
so, it appears that the solution for this was ridiculously simple. all I had to do, is customize this three lines in the user-friendly part of the script...
tch. wasn't worth the whole day of bug hunting, but still, problem is solved.​
1681745140101.png
because that is not how computers and programming works.

from your description you're trying to create that window from zero, without using any existing framework. Which is probably the only way you can go in VXA, because half the graphic functions and graphic framework of VXA is closed source and hidden in the dll, so you have no way to use it.

However if you start from zero, then YOU have to provide every function.
In your case you would have to create a variable for first line index, that by default starts with the first skills. Then count the total number of skills, and if that is more than fits into the window abort the display loop when the window is full.

then add two controls for up and down, each counting up (or down) that line index variable.
and in the display function, you start the first name displays not with the skill number but with (skill number + (line-index * column-max).

That will make your display scroll through longer lists.

And no, I can't give you the code - I never programmed in RGSS3 or for VXA. I can only give you the basic structure to start with.

thank you for your elaborate response! it's a shame that I had to bother you guys, when the solution was THAT simple, but do believe me, when I tell you – it took me, like, a day of trial and error.​

Original thread: https://forums.rpgmakerweb.com/threads/skill-names-clip-through-the-skill-command-window.156751/