RMMV How to increase size Skill List in battle ?

Hunters12

Villager
Member
Joined
Jun 30, 2014
Messages
18
Reaction score
6
First Language
English
Primarily Uses
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
34,763
Reaction score
8,971
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,048
Reaction score
2,358
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: 4

Hunters12

Villager
Member
Joined
Jun 30, 2014
Messages
18
Reaction score
6
First Language
English
Primarily Uses
[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,048
Reaction score
2,358
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

Went to the doctor because I was actually sick and it was covered over with healthy people from a factory shift who all had to get negative covid tests to go back to work because one of their shift mates got it. Waited for several hours to find out that my low-grade fever, chills, light-headedness and fatigue were in fact covid...
And here I thought I've lost my music sense. Good exercise once in a while
Made Edits to a Character Art from 'Hibiki Katakura MV Monsters' (DLC), to Look More like One of My Own Characters. :LZScheeze:

Decided to retake an old concept I was working on long ago, first change I decided to tackle on right away is the sprites. Never been fan of the default chibis, so I edited it a bit... :kaoswt:
8YavqRj.png

Not sure if this will be the final take, but I like it more than the regular one.
Need a few testers for my new plugin, any takers?

Forum statistics

Threads
118,532
Messages
1,116,717
Members
155,563
Latest member
SrChips310
Top