Custom Text Command Script
#1
Custom Text Command Script
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script modifies the Window_Message class to allow for more text commands to be used in messages. This is a list of all the text commands supported by this script. To use the script, simply overwrite the "Window_Message" class with the one provided below.

\a[n] : Automatically closes the message box after n frames.
\b: Banner mode. The text is centered both horizontally and vertically within the window. Can't be used with other tags and works with only one line of text.
\c[n] Changes to one of the eight pre-defined colors. Use \d or \c[0] to change back to the default color.
\d: Returns the font, font size, font color, and line height to default.
\f[n] : Changes the font to font n in a set of pre-defined fonts. Use \d or \f[x], where x is the number of the default font, to return to the default.
\g : Shows a window showing how much money you have.
\h[n] : Changes the line height to n. Useful if you want to show very large text without it clipping vertically. Use \d or \h[32] to return the line height to default.
\i[n] : Shows the icon and item name of the item with ID n
\j[n] : Puts n pixels of whitespace at the current position within the message. Useful if you want precise spacing rather than relying on the font's space length.
\k[n] : Shows the icon and skill name of the skill with ID n.
\m[n] : Shows the icon and armor name of the armor with ID n.
\n[n] : Shows the name of the hero with ID n.
\o[n] : The alpha of the window text is n for this message.
\r: Right-justifies the text on this line. Must be the first thing in the line. \s[n] : Changes the font size to n pixels high.
\v[n] : Displays the value of the variable with ID n.
\w[n] : Shows the icon and weapon name of the weapon with ID n.
\x: Centers the text on this line. Must be the first thing in the line.
\\ : Prints the "\" character.

With the release version, this script has a bug when using the letter "j" with some of these custom text commands. You need to download the update to RGSS100J.dll in order to remedy this problem.


Demo
>Click<


Script
Custom Text Command Script
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
Star  Shop : Command Help Kain Nobel 0 1,581 04-04-2022, 10:46 AM
Last Post: Kain Nobel
   Text Scroll Script - Enhanced DerVVulfman 23 34,334 02-18-2021, 04:16 AM
Last Post: DerVVulfman
   Cursor Script Selwyn 7 15,366 09-28-2019, 02:13 PM
Last Post: DerVVulfman
   ACBS FIX SCRIPT #2: Advanced Cry Correction DerVVulfman 1 4,777 08-09-2019, 03:42 PM
Last Post: aeliath
   ACBS FIX SCRIPT #1: Victory Cries Patch DerVVulfman 1 4,711 08-08-2019, 02:53 PM
Last Post: aeliath
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 256,115 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Spritesheet Generator Conversion Script DerVVulfman 0 4,254 11-21-2018, 04:48 AM
Last Post: DerVVulfman
   A.J.'s Missile Command DerVVulfman 1 6,405 11-20-2018, 06:28 AM
Last Post: DerVVulfman
   Neo Mode 7 Script by MGCaladtogel MGC 59 125,491 09-29-2017, 03:48 AM
Last Post: DerVVulfman
   Longer Script Calls LiTTleDRAgo 0 4,966 05-17-2017, 12:36 AM
Last Post: LiTTleDRAgo



Users browsing this thread: 1 Guest(s)