Secondary Smaller Icons for Messages

One thing I like about VX Ace is that the icons can be inserted in to messages with the command \i[n], and that they were about the same size of the text.


MV didn't change this but the icons are now 32x32. Text can be blown up to that height but this takes up a lot of room and leaves message windows very short. I want to be able to use smaller icons again, but I don't want to lose the bigger icons in the process. This is why I want a plug int that enables a secondary icon set for messages. One that is uses a SecondaryIconSet.png for the icons and command \si[n] for inserting them into messages.


Here is a mock up of what could be achieved with a Secondary Smaller Icons for Messages plug in.


plug%20in%20mock%20upP.png



In this example, the large icons are used to visually indicated that 2 different people are talking in the same message. The small icons are used to give visual representation items and to points of interests, and are also used as grawlixes
At some point in time, I will try to get this feature into Kloe Essentials but for now, here is the crucial function to help with this, if anyone wants to make this sooner!

Spoiler
Window_Base.prototype.drawIcon = function(iconIndex, x, y) {
    var bitmap = ImageManager.loadSystem('IconSet');
    var pw = Window_Base._iconWidth;
    var ph = Window_Base._iconHeight;
    var sx = iconIndex % 16 * pw;
    var sy = Math.floor(iconIndex / 16) * ph;
    this.contents.blt(bitmap, sx, sy, pw, ph, x, y);
};
Bump
Bump
bump
bump
bump
Bump
bump

Original thread: https://forums.rpgmakerweb.com/threads/secondary-smaller-icons-for-messages.58773/