MV Chaning Turn Order Display Icon

This is my first time asking a question on this site. Thanks for any help in advance.

I'm trying to change the image in some of my turn order boxes. I downloaded all of Yanfly's plugins and installed them according to the order stated on his wiki. I used Animated Sideview Enemies to put my hero up against some actors I generated with the character generator and that seems to be working great. But I can't figure out how to change the icon image. Right now it is displaying a mini version of the entire battler sprite sheet for my generated actor. Obviously I just want a head shot there.

I did some googling and it seems the answer SHOULD be to use "<Turn Order Icon: x>" in the note section of the enemy sheet in the database (hope I named all those things correctly). My problem is that I can't figure out exactly what "x" refers to. I tried putting an actor face sheet in all the img folders that it might be pulling from but that didn't seem to help.

I'm sure the answer is pretty simple but I'm at a loss.

P.S. Am I being foolish in downloading all of Yanfly's plugins at once? I think it might be smarter to turn them all off and then only turn on the ones I want to use as I need them but... I don't know...I guess I'm afraid I'll miss out on cool features because I'll never realize I have access to them.
<Turn Order Icon: x>
that refers to an icon in the icon sheet, not a file. The way the plugin works by default, I dont see a way intentionally pick a face image without a workaround like making face-icons or without editing the plugin.

Right now it is displaying a mini version of the entire battler sprite sheet for my generated actor
For actors it uses their set icon, then their class icon, and if neither exist, then their face. for enemies its their icon, then a single cell of their battler sheet if theyre an animated SVE, or their entire battler sprite if theyre not. it shouldnt be their entire sheet
1765473939275.png


try saving this as a .js file and placing it below the turn order plugin and it should let you set a face with a <TurnOrderFace:facename> notetag and the index with <TurnOrderFaceIndex:x>

Spoiler: plugin
Code:
Game_Enemy.prototype.turnOrderDisplayBitmap = function() {
  if (this.turnOrderDisplayIcon() > 0) {
    return ImageManager.loadSystem('IconSet');
  }
  if (this.enemy().meta.TurnOrderFace)
    return ImageManager.loadFace(this.enemy().meta.TurnOrderFace);
  var name = this.battlerName();
  var hue = this.battlerHue();
  if (Imported.YEP_X_AnimatedSVEnemies && this.hasSVBattler()) {
    return ImageManager.loadSvActor(this.svBattlerName());
  }
  if ($gameSystem.isSideView()) {
    return ImageManager.loadSvEnemy(name, hue);
  } else {
    return ImageManager.loadEnemy(name, hue);
  }
};

Window_TurnOrderIcon.prototype.drawSVEnemy = function() {
  var bitmap = this._image;
  var sw = bitmap.width / 9;
  var sh = bitmap.height / 6;
  var dw = this.contents.width - 8;
  var dh = this.contents.height - 8;
  var dx = 0;
  var dy = 0;
  var sx = 0;
  var sy = 0;

  if (this.battler().enemy().meta.TurnOrderFace){
    var faceIndex = Number(this.battler().enemy().meta.TurnOrderFaceIndex) || 0;
    var width = Window_Base._faceWidth;
    var height = Window_Base._faceHeight;
    pw = Window_Base._faceWidth;
    ph = Window_Base._faceHeight;
    sw = Math.min(width, pw);
    sh = Math.min(height, ph);
    dx = Math.floor(Math.max(width - pw, 0) / 2);
    dy = Math.floor(Math.max(height - ph, 0) / 2);
    sx = faceIndex % 4 * pw + (pw - sw) / 2;
    sy = Math.floor(faceIndex / 4) * ph + (ph - sh) / 2;
    dw = this.contents.width - 8;
    dh = this.contents.height - 8;
  }

  if (sw >= sh) {
    var rate = sh / sw;
    dh *= rate;
    dy += this.contents.height - 8 - dh;
  } else {
    var rate = sw / sh;
    dw *= rate;
    dx += Math.floor((this.contents.width - 8 - dw) / 2);
  }
  this.contents.blt(bitmap, sx, sy, sw, sh, dx + 4, dy + 4, dw, dh);
};

1765474705302.png

Edit: I figured that making sheets with just the face would have been easy enough, but also letting you choose the index with a notetag would be easier for the both of us

Edit2: not sure how that extra [/SPOILER] got in there 🤣
Thank so much @Robro33! That information helped me understand the problem and I've got it fixed now.

Original thread: https://forums.rpgmakerweb.com/threads/chaning-turn-order-display-icon.181398/