Just a humble script I wrote for a friend, and figured I'd share with everyone since I was surprised I couldn't find anything that did it already.
By default the player can only see a few state icons in battle or the status menu, leaving them with incomplete information when an actor has several different statuses applied. This script will automatically shrink the state icons when an actor has too many state icons to display at full size, so that the player can see far more icons for each actor.
This plugin does not use standard "plugin parameters", but you can open the script in a text editor to easily change the amount that you want the icons to scale.
Download the script here or just open the code below.
Spoiler Code:
////////////////////////////////////////
// ICON SCALING SCRIPT //
// for RPG Maker MV //
// Version 1.0 //
// by Jason "Wavelength" Commander //
////////////////////////////////////////
// By default, only a few state icons can be shown at once. This script will scale down the icons'
// display size by a factor of your choice if there are too many to display at full size, so that
// players can be aware of all of the states that are currently affecting their actors.
// TERMS OF USE
// You may use this script for your commercial or noncommercial RPG Maker games.
// You must credit me in your game or documentation (as Jason Commander or as Wavelength).
// For any other use of this script besides inclusion in an RPG Maker game, contact me.
// Thanks!
// This value can be changed to determine how much to scale down the icons when there are too many to
// display at full size. For example, a value of 2 will reduce width and height by half.
Game_Party.ICON_SCALE = 2;
/*:
*
* @plugindesc This script sizes status icons down when there are too many to display at full size.
* @author Jason "Wavelength" Commander
* @help By opening the script in a text editor,
you can change the amount that icons will scale.
*
* By default, they will scale to half size when
* there are too many icons to display at full size.
x + ((Window_Base._iconWidth / scaler) * (i % row_size)),
y + (j * (Window_Base._iconHeight / scaler)) + 2);
if (((j * row_size) + i + 1) >= actor.allIcons().length) {
break;
}
}
}
}
};
复制代码
Screenshots:
Spoiler
Terms of Use:
You may use this script for your commercial or noncommercial RPG Maker games.
You must credit me in your game or documentation (as Jason Commander or as Wavelength).
For any other use of this script besides inclusion in an RPG Maker game, contact me.