Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I don't think I have? what does usually triggers this if I can know?

(+1)

It is drawing the actor name on their face image, but the actor's name is undefined so when it goes to call string functions on the actor name it crashes because undefined is not a string. You can try copying the below JS into the bottom of the plugin file and it should start working:

CGMZ_Window_SaveFileDisplay.prototype.onFaceLoaded = function(args) {
this.drawFace(args.name, args.index, args.x, args.y, args.width);
const y = args.y + ImageManager.faceHeight - this.lineHeight();
this.contents.fontBold = true;
this.contents.outlineWidth = 6;
if(args.actorName) {
this.CGMZ_drawTextLine(args.actorName, args.x, args.y, args.width, "center");
this.CGMZ_drawTextLine(CGMZ.SaveFile.LevelText + args.actorLevel, args.x, y, args.width, "right");
}
this.contents.fontBold = false;
this.contents.outlineWidth = 3;
};

Just tried it and it worked! Thank you 100 times man you're awsome!

I am glad you got it working 😁

(1 edit)

hi! sorry it's me, again.

I was wondering how to fit more than 4 partymembers in the save slot (just adding a second row so it don't end up off-screen) and, how to remove their name&level on the portrait.

Also, Happy valentine's day to you.;)

Hi, for removing the name and level, you can just comment out the lines in the function I gave you above that draw them.


For drawing more than 4 party members, it's a bit tough because the plugin is not set up for that, I think it would need an update unless you are comfortable writing your own JS, in which case you could modify the rect it is drawing the faces in.

Hi, I managed to code out the text,

Buuuut I couldn't manage to put the more than 4 party members :'(((( 

I'm honestly just denied at coding (╥﹏╥)

No worries, it is fairly complicated, I can add showing more than 4 party members to a future update.