Battle SKills Menu [RMXP][RESOLVED]

Started by jayje, October 25, 2017, 04:02:40 pm

Previous topic - Next topic

jayje

October 25, 2017, 04:02:40 pm Last Edit: October 25, 2017, 09:14:54 pm by jayje
I wanted to know if there was a way to edit the Skill Window so that it shows just ONE column of skills? All of my heros only have a few skills, so I just want them displayed in one column. Any Ideas?


KK20

October 25, 2017, 08:24:45 pm #1 Last Edit: October 25, 2017, 08:32:40 pm by KK20
In Window_Skill, there's a variable called @column_max. You just change the 2 to a 1.
Now this satisfies the request, but I'm sure you're going to ask about formatting next, specifically the SP cost. That would be this line within the same class:

self.contents.draw_text(x + 232, y, 48, 32, skill.sp_cost.to_s, 2)


Change the 232 to a larger number to move it right.

EDIT: Forgot one more thing. In the draw_text method, you also need to change these lines

    x = 4
    y = index * 32

I just removed the scenario where the second skill would be drawn in the second column.

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!

jayje

I did that but when there is more than one skill, it just makes one big cursor over both. I would need the skills to be in a column not a row. Thanks for replying tho.


KK20


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!

jayje

LOL :haha: I just did the same thing before you replied. i was going to write an apology. Thanks! :^_^\':