Extra Message Codes Plugin (RMMV)

Extra Message Codes Plugin (RMMV)

The Extra Message Codes plugin provides a few extra control characters for message windows.

I originally created this for Otherworld as part of the OW Engine, as I wanted certain functions that aren’t used in other message plugins.

This isn’t a replacement message system, it simply adds functions to the message box.

 
Extra Message Codes PluginMain FeaturesUsage InstructionsScreenshotUpdate LogPersonal NotesCompatibility Issues/Known BugsDownloadFuture UpdatesTerms of Use
Version: 1.6
Author: Companion Wulf
Platform: RMMV
Script Type: Plugin
Required: None
Filesize: 5 Kb
File Format: JS/JGSS
Release Date: 1.6 27 November 2016
1.5 5 August 2016
1.1 28 June 2016
1.0 24 June 2016
Last Update: 26 November 2016
With the Extra Message Codes plugin, you can add the following to your messages:

  • Actor – Actor age, gender and last name.
  • Battles – Number of battles and battles won and fled.
  • Message Box – Align center, left or right.
  • Party – Number of followers, total gold in party, party leader, party size and number of steps.
  • Save – Number of saved games and save enabled/disabled.
  • System – Game version number.
  • Time/Date – Time, date and playtime.
The following control characters can be added to the message box:

\aage[x] – Actor age. Set each actor’s age in the Actor notes section of the Database to <age:xx>, where xx is the character’s age. x is the Actor number.

\agnd[x] – Actor gender. Set each actor’s gender in the Actor notes section of the Database to <gender:Male> or <gender:Female>. x is the Actor number.

\alnm[x] – Actor last name. Set each actor’s last name in the Actor notes section of the Database to <lastname:xxxx>, where xxxx is the last name of your choice. x is the Actor number.

You can then use the actors’ full names with:   \n[x] \al[x]

\btc – Total number of battles.

\btw – Number of battles won.

\bte – Number of battles fled.

\map – Displays the current map display name.

\align[x] – Align text (x = 0: Center, 1: Left, 2: Right). Note: The center align isn’t perfect, but it’s functional. However, the text doesn’t have additional whitespace when centered.

\pfl – The number of followers in the party.

\pgl – Shows the total amount of gold in the party.

\pld – Shows the current party leader. Note: This can also be done with \p[1], but I figured this would be easier.

\psz – The total party size (including party leader).

\step – Number of party steps.

\nsav – Number of saved games.

\save – Displays whether save is enabled/disabled.

\vers – Version number (set in Plugin Manager).

\date – Displays the current (local) date.

\ptm – Game play time.

\time – Displays the current (local) time.

Here’s a screenshot showcasing the plugin’s control codes in action (excluding updates):

Extra Message Codes Plugin (RMMV)

Extra Message Codes Plugin (RMMV)

Note: This log is out-of-date because I changed the way I update. This’ll be updated later. For an up-to-date version of this log, you can view it in the JS file from within the downloaded ZIP file.

Version.Update.Bug Fix/Tweak

  • v1.3.1 (28-Jun-2016)
       –ADD: Party leader name
       –ADD: Number of steps
       –ADD: Save menu status (enabled/disabled)
       –BUG FIX: Return "Unknown" if map display name is not set
  • v1.0.0 (24-Jun-2016)
       –Release Version 1.0 (Public)
  • v0.9.0 (24-Jun-2016)
       –ADD: Battles won
       –ADD: Battles lost
       –ADD: Battles escaped
  • v0.6.0 (20-Jun-2016)
       –ADD: Playtime (hours, minutes, seconds )
       –ADD: Display (local) date
       –ADD: Display (local) time
       –ADD: Party size
       –ADD: Party gold amount
  • v0.1.0 (19-Jun-2016)
       –ADD: Map display name
In creating the plugin, which was originally designed for use in Otherworld as part of the OW Engine, I wanted certain functions that aren’t used in other message plugins.

Because Otherworld requires some specific functions I added them to the OW Engine and decided to separate them and publicly release the resultant plugin.

Most of the message systems (notably Yanfly’s Message Core plugin) have some very useful functions. However, many are lacking certain features that may or may not be desired.

This is not – and will not – be a replacement message system. If a feature is available in another plugin (notwithstanding my own game add-ins), then I’d recommend using that plugin instead.

In time, I’ll also add more relating to some of the plugins I’ve written specifically for Otherworld (such as the Karma System plugin) or Gaia’s Dream (such as gender options). Game-specific plugins will be made publicly available after the games are completed.

There shouldn’t be compatibility issues or bugs.
Download the ZIP file and extract the CW_MessageCodes.js file directly into the JS folder in your RMMV project.
Future updates depend on inspiration, what’s needed in my projects (present and future), and suggestions by others.
You are free to use this in non-commercial projects, but please refer to the Terms of Use for Scripts/Plugins for other details, including commercial use.

Credit "Companion Wulf" or "RPG Maker Times" if using this plugin in your projects.