RMMV How to increase size Skill List in battle ?

SifDoge

Villager
Member
Joined
Jun 30, 2014
Messages
25
Reaction score
9
First Language
English
Primarily Uses
RMMV
From this
Screenshot_9.png
to like this
Screenshot_10.png
I tried change Line Height on YEP_CoreEngine 36 to 50 but it affect to all windows
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,854
Reaction score
9,494
First Language
German
Primarily Uses
RMMV
that is because all windows use the same framework of functions.

if you want two windows to behave differently then you basically have to reprogram one to behave differently using different values, and that requires full functions instead of just changing a constant value.


I suggest you place a plugin request or report this to a mod to move it to plugin requests.
make sure to include links to the plugins that create the rest of your battlescreen so that any programmer knows where to check for compatibility.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,523
Reaction score
2,650
First Language
EN
Primarily Uses
RMMZ

I've moved this thread to JS Plugin Requests. Thank you.

The attached plugin works for me with no other plugins active.
JavaScript:
(function(alias) {
    Window_BattleSkill.prototype.itemHeight = function() {
        return alias.apply(this, arguments) * 2;
    };
})(Window_BattleSkill.prototype.itemHeight);

(function(alias) {
    Window_BattleSkill.prototype.drawItemName = function(item, x, y, width) {
        return alias.call(this, item, x, y + this.lineHeight() / 2, width);
    };
})(Window_BattleSkill.prototype.drawItemName);

(function(alias) {
    Window_BattleSkill.prototype.drawSkillCost = function(item, x, y, width) {
        return alias.call(this, item, x, y + this.lineHeight() / 2, width);
    };
})(Window_BattleSkill.prototype.drawSkillCost);
If you want something different, or it doesn't work for you, then give more details and, like Andar says, list the plugins that you are using. :kaohi:
 

Attachments

  • bigBattleSkillDisplay.js
    652 bytes · Views: 6

SifDoge

Villager
Member
Joined
Jun 30, 2014
Messages
25
Reaction score
9
First Language
English
Primarily Uses
RMMV
[move]JS Plugin Requests[/move]The attached plugin works for me with no other plugins active.
JavaScript:
(function(alias) {
    Window_BattleSkill.prototype.itemHeight = function() {
        return alias.apply(this, arguments) * 2;
    };
})(Window_BattleSkill.prototype.itemHeight);

(function(alias) {
    Window_BattleSkill.prototype.drawItemName = function(item, x, y, width) {
        return alias.call(this, item, x, y + this.lineHeight() / 2, width);
    };
})(Window_BattleSkill.prototype.drawItemName);

(function(alias) {
    Window_BattleSkill.prototype.drawSkillCost = function(item, x, y, width) {
        return alias.call(this, item, x, y + this.lineHeight() / 2, width);
    };
})(Window_BattleSkill.prototype.drawSkillCost);
If you want something different, or it doesn't work for you, then give more details and, like Andar says, list the plugins that you are using. :kaohi:

Thank you!! it actually working, but there is a huge space / gape between skill.
I am using YEP_BattleEngine and YEP_SkillCore
Screenshot_9.png Screenshot_10.png
Is there anyway to reduce space between skill ? and which var to put custom lineHeight ?
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,523
Reaction score
2,650
First Language
EN
Primarily Uses
RMMZ
Thank you!! it actually working, but there is a huge space / gape between skill.
I am using YEP_BattleEngine and YEP_SkillCore
The horizontal space, between columns? Try adding this to the end of the plugin:

Window_BattleSkill.prototype.spacing = function() { return 24; // originally 48 };
Change the 24 if you like~

Also, I do not believe those are the only plugins you are using. E.g. that turn order indicator looks like the one from Olivia's Order Turn Battle plugin. In this kind of situation it is more helpful to post screenshot(s) of your Plugin Manager showing all the plugins active in your project. (No need to do that now unless you want more help, though.)
 

Latest Threads

Latest Posts

Latest Profile Posts

Unfortunately, while trying to run an app I needed (curse you, Adobe!), my laptop blacked out, so my data got wiped when I got it repaired. Stuff like facesets are saved in my drive, but my sprites now only exist as screenshots I've taken in the past :kaocry:To be fair, I'm a little relieved, since I've been feeling unsatisfied with the visual style of the character sprites, and I guess I can now revamp them?

after lot's of edits to Mike's attacks (to make it seamless with movement, no EX versions, cost 1-ups), I finally got combo skills to work. had to do a lot moving tho to get the combo list to appear where it is lol. that actually took longer than setting up the moves.
What's kind of amazing is I've been in a developmental rut for the LONGEST time but putting a music mix on of video game soundtracks and specifically hearing the VX Ace music come up and it's nostalgia of me being excited to make my first game has REALLY got me going again!
Finally finished my tiefling!
F222514F-9F32-4B97-88C3-664E8A2134C3.gif

Forum statistics

Threads
122,030
Messages
1,145,965
Members
160,291
Latest member
arnvrl
Top