Message System

Yanfly Engine 6 – Message System

Last Updated: 2011.10.19
Download Link

This is mostly a conversion from the Yanfly Engine Melody version. A couple of features have been added. Otherwise, the rest is the same as the Melody version. For those who  haven’t used the Melody version or forgot what it’s like, continue reading~

The message system by itself is fine and easy to accept as it is. However, it wouldn’t hurt to have it do a few more features. This script will allow your message boxes to perform extra functions such as drawing icons, using an external choice window, and using Lunatic shortcuts.
Y6’s Message System will also separate the in-game font from the message window font. This way, fancier-looking fonts can be used for dialogue while more systematically appropriate fonts can be used for in-game material.

T his 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, I highly recommend that you take a look at those. This message system here will supply the most basic functions and needs without adding too many extra features.

Message Shortcuts

\v[x]       Writes variable x’s value.
\n[x]       Writes actor x’s name.
\c[x]       Changes the colour of the text to x.
\g          Displays the gold window.
\.          Waits 15 frames (quarter second).
\|          Waits 60 frames (a full second).
\!          Waits until key is pressed.
\>          Following text is instant.
\<          Following text is no longer instant.
\^          Skips to the next message.
\\          Writes a “\” in the window.

\f[x]       Draws actor ID x’s face in the window.
\w[x]       Waits x frames (60 frames = 1 second).

\nb[x]      Creates a name window with x. Left side.
\nbl[x]     Creates a name window with x. Locks the namebox. Left side.
\nbu[x]     Creates a name window with x. Unlocks the namebox. Left side.
\rnb[x]     Creates a name window with x. Right side.
\rnbl[x]    Creates a name window with x. Locks the namebox. Right side.
\rnbu[x]    Creates a name window with x. Unlocks the namebox. Right side.
\nbu        Closes name window. Unlocks the namebox.

\fn[x]      Changes the font name to x. Set to 0 to reset font name.
\fs[x]      Changes the font size to x. Set to 0 to reset font size.
\fb         Changes the font to bold and back.
\fi         Changes the font to italic
\fh         Changes the font to shadowed and back.

\ac[x]      Writes actor x’s class name.
\as[x]      Writes actor x’s subclass name. Requires JP Classes.
\ax[x]      Writes actor x’s combination class name. Requires JP Classes.
\af[x]      Replaces face with actor x’s face.
\af[x:y]    Replaces face with actor x’s face name but uses expression y.

\pn[x]      Writes ally’s name in party slot x.
\pc[x]      Writes ally’s class name in party slot x.
\ps[x]      Writes ally’s subclass name in party slot x.
\px[x]      Writes ally’s combination class name in party slot x.
\pf[x]      Replaces face with ally’s face in party slot x.
\pf[x:y]    Replaces face with ally’s face name but uses expression y.

\nc[x]      Writes class ID x’s name.
\ni[x]      Writes item ID x’s name.
\nw[x]      Writes weapon ID x’s name.
\na[x]      Writes armour ID x’s name.
\ns[x]      Writes skill ID x’s name.
\nt[x]      Writes state ID x’s name.

\i[x]       Draws icon ID x into the message window.
\ii[x]      Writes item ID x’s name with icon included.
\iw[x]      Writes weapon ID x’s name with icon included.
\ia[x]      Writes armour ID x’s name with icon included.
\is[x]      Writes skill ID x’s name with icon included.
\it[x]      Writes state ID x’s name with icon included.

And that’s all, folks!

Advertisements

One comment on “Message System

  1. There is something that I’venever understanded, how do I Enable the name windows to display by default?

Comments are closed.