Custom Message SystemLast Update: 2009.06.14By: Yanfly Engine ReDux Introduction
I've finished this a few days ago actually but spent some time to refine it and make the whole system more light weight. This is by no means a complex message system like Modern Algebra's ATS
or Woratana's Neo Message System
. If you want a message system with a lot of features and functionality, I highly recommend that you take a look at those over mine. This one is highly lacking comparison to what those have to offer as this message system here will supply the most basic functions and needs without adding too many extra features.
What this script has to offer is basic functionality for new tags, a namebox window, and drawn items, weapons, and armours along with their icons. There also exists a Lunatic Mode to create quick and easy custom shortcuts. For the most part, this script is plug and play.Screenshots ScriptClick here to view the main script.Instructions
There's a couple of interesting things to point out so I'll screenshot them.
First things first, before we get started, make sure you scroll down to ROW_VARIABLE and change that variable ID to a desirable variable for you to easily adjust rows with. After that, everything else can be left alone (and plug and play takes over).
I think pretty much the most important feature needed for any custom message system would be the name box window so here's the YERD version. You can easily adjust the position of the name box window through the module and it'll automatically calculate the correct positioning relative to the main message window's positioning and direction. The following are tags you may use to adjust the name box window.
Creates a name window with x. Left side.
Creates a name window with x. Locks the namebox. Left side.
Creates a name window with x. Unlocks the namebox. Left side.
Creates a name window with x. Right side.
Creates a name window with x. Locks the namebox. Right side.
Creates a name window with x. Unlocks the namebox. Right side.
Closes name window. Unlocks the namebox.
Note that the namebox is disabled in battle to prevent compatibility problems with custom battle systems.
Displaying specific actor information can be a pain at times especially when you have a plethora of actors with a plethora of different combinations. The following tags will include the functionality make that hassle less imminent.
Writes actor x's class name.
Writes actor x's subclass name. Requires Subclass System.
Writes actor x's combination class name. Requires Subclass System.
Replaces face with actor x's face.
Replaces face with actor x's face name but uses expression y.
Similar to Swap Dummies, the party member tags will allow you to pull up party member names and other related information depending on which party slot they're in. This is particularly done for games that allow different party positions and even custom party setups.
Writes ally's name in party slot x.
Writes ally's class name in party slot x.
Writes ally's subclass name in party slot x.
Writes ally's combination class name in party slot x.
Replaces face with ally's face in party slot x.
Replaces face with ally's face name but uses expression y.
Various font options can be adjusted within the message box, too. Fonts can be changed midway through the message box. Bold, italic, and shadow options are also available. Sizes can even be adjusted midway, too. This can allow for more flavourful text options.
Changes the font name to x. Set to 0 to reset font name.
Changes the font size to x. Set to 0 to reset font size.
Changes the font to bold and back.
Changes the font to italic
Changes the font to shadowed and back.
Note that each time the message window is cleared, font changes will reset back to their default. This way, a forgetful scripter will not cause the player any confusion when suddenly the font used in game has been changed to something other than the default.
Icons and item, weapon, and armour names have always been able to be drawn by custom message systems. This one is no exception. Icons can be drawn by themselves with an item name, with a weapon name, or with an armour name.
Draws icon ID x into the message window.
Writes item ID x's name with icon included.
Writes weapon ID x's name with icon included.
Writes armour ID x's name with icon included.
Writes skill ID x's name with icon included.
Writes state ID x's name with icon included.
Also, I'm aware that some people use monospaced fonts for their games at times and that drawing icons can mess up the alignment pretty badly. For those who are using monospaced fonts, adjust ICON_WIDTH under the module to fit in icons with your message text properly so it doesn't look misaligned.
And of course, it wouldn't be a Custom YERD script without a Lunatic Mode. Here you may insert your premade text tags to reveal specific return values within the message box. There's actually three types of custom tags provided.
\X[x] or \X[x:y] or \X[x:y:z]
These let you create your own custom tags. If you use the first tag, there is one case for the "custom_convert" definition to return. If you use the second tag, there will be two cases for you to select from. And likewise, if there's three tags, then the z case will also be taken into account of.
And that's it~ I hope you enjoy the new light weight custom menu system.
———IF YOU ARE HAVING PROBLEMS WITH THESE SCRIPTS, REVIEW THE TROUBLESHOOTING PAGE FIRST!Compatibility
- Not compatible with any other custom message systems (duh).
Please report any compatibility issues and I'll try my best to fix them.Terms and Conditions
Just give credit where due. Credits and Thanks
- Woratana and Modern Algebra for reference work on their respective scripts. Originally Found Here: Here