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 Dynamic Read Txt - NRP_DynamicReadTxt.js
Plugin desc : v2.01 Read the definition of DynamicAnimation&Motion from txt file.
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_DynamicReadTxt.js
Desc page : https://newrpg.seesaa.net/article/477791458.html
Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_DynamicReadTxt.js
File name : NRP_DynamicReadTxt.js
Help of plugin :
Read the definition of DynamicAnimation&Motion from txt file. * * If you include <D-Txt:[file name]> in the skill note, * you can read and replace the definition * from the txt file in the specified folder. * (The file name does not need an extension.) * * For example, <D-Txt:abc> would refer to abc.txt. * Also, if you omit the file name, * the skill ID is automatically used for the file name. * For example, if skill ID=100, it will refer to 100.txt. * * [Example] * <D-Txt:spellStart> * <D-Animation/> * <D-Txt:spellEnd> * * It is also possible to read from multiple txt files as shown above. * * When in test mode, each time someone uses a skill, * it will load a file each time. * This allows you to check the operation repeatedly without stopping the game. * In production mode, all definitions are read at startup. * * ------------------------------------------------------------------- * [About Encryption] * ------------------------------------------------------------------- * This plugin can encrypt txt files. * The contents will be unreadable when deployed for production. * * Please note, however, * that the strength of the encryption is only for peace of mind. * You can avoid a situation in which the contents of the file * can be discovered simply by opening it in a text editor. * * ◆Procedure * 1. Specify a folder outside the project for the "ReadTxtFolder". * * Example: C:/D-Txt/ * * ※Be sure to use "/"" instead of "¥"". * ※"/"" is required at the end as well. * ※The placement can be anywhere, * but the plugin settings will remain in production. * Be careful not to include personal information in the path name. * * 2. Turn on "UseEncrypt" and run the test play. * "EncryptFolder" can be the default setting. * * Encrypted files will be created * in the "EncryptFolder" at the start of test play. * After that, deploy as is. * * If the number of files is large or PC specs are low, * encryption will take a long time. * "UseEncrypt" can be turned off during normal development. * * ------------------------------------------------------------------- * [About Browser Launch] * ------------------------------------------------------------------- * At the test startup, create a file named "FILE_LIST.txt" * in the "ReadTxtFolder". * This file is used to obtain a list of files to be loaded * when starting a browser, such as "RPG Atsumaru". * Therefore, after each txt file renaming, * if you upload a production file without ever starting the test, * it will not work properly. * ※I think it is unlikely to happen first... * * ------------------------------------------------------------------- * [Terms] * ------------------------------------------------------------------- * There are no restrictions. * Modification, redistribution freedom, commercial availability, * and rights indication are also optional. * The author is not responsible, * but we will respond to defects as far as possible. * * @----------------------------------------------------- * @ [Plugin Parameters] * @----------------------------------------------------- * * @param ReadTxtFolder * @type string * @default data/D-Txt/ * @desc The folder where the .txt file to be read is located. * The default setting is "data/D-Txt/". * * @param UseEncrypt * @type boolean * @default false * @desc Encrypt the txt file and output to EncryptFolder. * * @param EncryptFolder * @parent UseEncrypt * @type string * @default data/D-Txt-Encrypt/ * @desc Folder to place the encrypted txt file. * The default setting is "data/D-Txt-Encrypt/". * * @param DynamicReadOnTest * @type boolean * @default true * @desc When testing, the game will load every time someone uses a skill. * This allows you to change behavior without stopping the game. * * @param MakeBrowserFileList * @type boolean * @default true * @desc Creates a list of files for browser execution. * * @param <For Verification> * * @param ProductionMode * @parent <For Verification> * @type boolean * @default false * @desc Force it to run in production mode behavior. * Items for debugging. Basically, it is recommended off. * * @param BrowserMode * @parent <For Verification> * @type boolean * @default false * @desc Force it to run in browser mode behavior. * Items for debugging. Basically, it is recommended off.