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.
Material Base - MaterialBase.js
Plugin desc : Material Base Plugin
License :
・Follow the RPG Maker Series EULA only.
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
Author : triacontane
Website : https://www.rpgmakerweb.com/products/rpg-maker-mz
Download Page : C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginsofficial MaterialBase.js
File name : MaterialBase.js
Help of plugin :
* @target MZ * @plugindesc Material Base Plugin * @author triacontane * @base PluginCommonBase * @beforeThan PluginCommonBase * * @param ImageList * @text Image Material List * @desc List of registered image materials. * @default [] * @type struct<Image>[] * * @param AudioList * @text Audio File Material List * @desc List of registered audio file materials. * @default [] * @type struct<Audio>[] * * @command CHANGE_IMAGE * @text Change Image Material * @desc Replaces image materials of a specified identifier with another file. The change state is saved in a save file. * * @arg Id * @text Identifier * @desc An identifier that uniquely designates a material. * * @arg FilePath * @text File Path * @desc The file path after change. Please specify the folder and file. * @default * @require 1 * @dir img/ * @type file * * @command CHANGE_AUDIO * @text Change Audio File Material * @desc Replaces audio file materials of a specified identifier with another file. The change state is saved in a save file. * * @arg Id * @text Identifier * @desc An identifier that uniquely designates a material. * * @arg FilePath * @text File Path * @desc The file path after change. Please specify the folder and file. * @default * @require 1 * @dir audio/ * @type file * * @command SHOW_PICTURE * @text Picture Display * @desc Specifies an identifier and displays a picture. Please enter the identifier directly, and not a control character. * * @arg Id * @text Identifier * @desc An identifier that uniquely designates a material. * * @arg PictureId * @text Picture Number * @desc The picture number. * @default 1 * @type number * * @arg Origin * @text Origin * @desc The origin. * @default 0 * @type select * @option Upper left * @value 0 * @option Center * @value 1 * * @arg X * @text X coordinate * @desc The X coordinate. * @default 0 * @type number * @min -2000 * @max 2000 * * @arg Y * @text Y coordinate * @desc The Y coordinate. * @default 0 * @type number * @min -2000 * @max 2000 * * @arg ScaleX * @text Scale (Width) * @desc The scale of the X direction. * @default 100 * @type number * @min -2000 * @max 2000 * * @arg ScaleY * @text Scale (Height) * @desc The scale of the Y direction. * @default 100 * @type number * @min -2000 * @max 2000 * * @arg Opacity * @text Opacity * @desc The opacity. * @default 255 * @type number * @max 255 * * @arg BlendMode * @text Blend Mode * @desc The blend mode. * @default 0 * @type select * @option Normal * @value 0 * @option Additive * @value 1 * @option Multiplicative * @value 2 * @option Screen * @value 3 * * @command PLAY_AUDIO * @text Play Audio * @desc * * @arg Id * @text Identifier * @desc An identifier that uniquely designates a material. * * @arg Type * @text Audio Type * @desc The type of audio to be played. * @default 0 * @type select * @option Bgm * @option Bgs * @option Me * @option Se * * @arg Volume * @text Volume * @desc The volume of the audio to be played. * @default 90 * @type number * @min 0 * @max 100 * * @arg Pitch * @text Pitch * @desc The pitch of the audio to be played. * @default 100 * @type number * @min 50 * @max 150 * * @arg Pan * @text Pan * @desc The pan of the audio to be played. * @default 0 * @type number * @min -100 * @max 100 * * @help MaterialBase.js * * This is a database for registering and managing image and audio file materials used primarily in plugins. * Registered materials are excluded from functions that automatically delete unused materials. * Use the following control characters to swap in the file name of a registered material. * * ¥mi[aaa] // Swaps in the file name of the image material registered with identifier [aaa]. * ¥ma[bbb] // Swaps in the file name of the audio file material registered with identifier [bbb]. * * The situations where control characters can be used are as follows: * -Text display * -Event commands and conditional branch scripts * -Notes field (*) * -Plugin command (*) * -Plugin parameter (*) * -Explanation fields for skills, etc. * -Skill and item formulas * *Only for plugins that take PluginCommonBase.js as a base. * * Registered materials can be changed into other materials using plugin commands. * * Set values can be displayed or played as pictures or BGMs from plugin commands. * Please check the plugin command instructions for details. * * Additionally, by using a separate plugin, the "Plugin for Event Command Execution via Code", * this plugin can be used to do even more.