Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NRP Picture To Face - NRP_PictureToFace.js
Plugin desc : v1.01 Picture is displayed as a face image.
License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation
Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)
Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_PictureToFace.js
Desc page : https://newrpg.seesaa.net/article/502356002.html
Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_PictureToFace.js
File name : NRP_PictureToFace.js
Help of plugin :
Allows the picture to be used as a face image * without modification. * * This plugin was created by the author to automate * the process of cropping face images from a standing picture. * * In case you are interested, we also support facial images * for messages, but they are basically * for actors displayed on menu screens, etc. * * Specifically, by linking a face image file to a picture, * the picture is displayed as a 144x144 sized face image. * ※Note that the index of the face image is not referenced. * 1 character = 1 file. * ※Starting with MZ ver 1.9.0, face size can be specified in System 2. * * ------------------------------------------------------------------- * [Usage] * ------------------------------------------------------------------- * Set the source file to "Face" in "PictureList" * and link it to the destination picture. * * Set AdjustX, AdjustY, and Scale to adjust the crop position. * * ------------------------------------------------------------------- * [About Conditions] * ------------------------------------------------------------------- * By using switches and scripts as conditions, the picture * to be referenced can be changed depending on the situation. * * For example, you can set the script condition "a.isDead()" * to change the display only when the actor is dead. * * However, in some situations, the a (battler) information * cannot be obtained and may not be reflected. * * ------------------------------------------------------------------- * [Terms] * ------------------------------------------------------------------- * There are no restrictions. * Modification, redistribution freedom, commercial availability, * and rights indication are also optional. * The author is not responsible, * but will deal with defects to the extent possible. * * @------------------------------------------------------------------ * @ Plugin Parameters * @------------------------------------------------------------------ * * @param PictureList * @type struct<Picture>[] * @desc Here is a list of pictures. * * @param <PictureSetting> * * @param Origin * @parent <PictureSetting> * @type select * @option 0:Left-Upper @value 0 * @option 1:Center @value 1 * @default 1 * @desc The origin to display the picture. * * @param AdjustX * @parent <PictureSetting> * @type number @min -9999 @max 9999 * @default 0 * @desc Adjust the X coordinate to crop the picture. * * @param AdjustY * @parent <PictureSetting> * @type number @min -9999 @max 9999 * @default 0 * @desc Adjust the Y coordinate to crop the picture. * * @param Scale * @parent <PictureSetting> * @type number * @default 100 * @desc This is the standard picture scale factor. * Set the value based on 100. * * @param FaceWidth * @parent <PictureSetting> * @type number * @desc The width of the face image to be displayed. * If blank, refers to the value set in System 2. * * @param FaceHeight * @parent <PictureSetting> * @type number * @desc The height of the face image to be displayed. * If blank, refers to the value set in System 2.