Class Name Input - v1.0.0
for RMMV
by Ratatattat
for RMMV
by Ratatattat
Introduction
Do you want your players to be able to name/rename their own classes, whether as a simple customization option, or part of a larger class creation system à la Morrowind or Oblivion? This plugin allows you to open a name input processing window for your players to do just this. You can call this window via plugin command or script call.
NOTE: The class that will be renamed is determined by the current class of the actor whose ID you specify in the plugin command or script call parameters. However, the class will still be renamed for all actors who share it. If you want to ensure each actor can have their own uniquely-named class, you'll need to dedicate a unique class in the database to that actor alone.
Features
- Call a name input processing window that renames the current class of a specific actor.
Screenshots
Disclaimer: Plugin does not include the custom window skin seen in the screenshots. Screenshots are only to show functionality.
How to Use
Setting Up:
You must set up one parameter before this plugin can work. In the parameters section in the plugin manager, pick a game variable to store all of the player's custom class names.
WARNING: Changing the value of this variable at any point in the game will permanently erase all of the class names stored in it, and every class that the player has renamed over the course of the game will revert back to its database name the next time the player opens the game. So it's probably best to avoid that 😉
Plugin Command:
Key:
nameclass => the command (do not change or omit this)
actorId => the actor whose class you want the player to rename
maxLength => the maximum number of characters you want the player to be able to enter
Example:
- The class name input window will allow renaming of the current class of actor 14, with a character limit of 10.
Script Call:
Key:
actorId => the actor whose class you want the player to rename
maxLength => the maximum number of characters you want the player to be able to enter
Example:
- The class name input window will allow renaming of the current class of actor 2, with a character limit of 12.
Plugin
Download the attachment or copy and paste the code from here into a new .js file, and place into your game's plugins folder.
Note: This version of the plugin is for RPG Maker MV.
Terms of Use
This plugin is free for both non-commercial and commercial use, with credit given to Ratatattat.
This plugin may be altered and redistributed in any way that suits the user's needs, as long as the original code, in part or in full, is not:
i. Passed off as the work of someone else
ii. Monetarily profited from outside of its use in an RPG Maker game - (exception for commissions to alter this plugin for compatibility or porting purposes, or to add new features; however, these terms may not be altered and the resulting altered plugin may not be sold to anyone besides the commissioner)
iii. Used in any way that would prevent others from using it as freely as outlined in these terms
iv. Redistributed either in the absence of, or with an edited version of, these terms
This plugin is provided as is. Ratatattat is not liable for any harm that may result from its use or misuse.
Changelog
Version 1.0.0 - Finished plugin.
Credit and Thanks
- Ratatattat (author)
- Willibab (requester)