Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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,204 04-04-2022, 10:46 AM
Last Post: Kain Nobel
   Text Scroll Script - Enhanced DerVVulfman 23 29,461 02-18-2021, 04:16 AM
Last Post: DerVVulfman
   DoubleX RMMZ Plugin Command Lines DoubleX 4 4,596 11-27-2020, 05:26 AM
Last Post: DoubleX
   Cursor Script Selwyn 7 12,968 09-28-2019, 02:13 PM
Last Post: DerVVulfman
   ACBS FIX SCRIPT #2: Advanced Cry Correction DerVVulfman 1 3,859 08-09-2019, 03:42 PM
Last Post: aeliath
   ACBS FIX SCRIPT #1: Victory Cries Patch DerVVulfman 1 3,849 08-08-2019, 02:53 PM
Last Post: aeliath
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 221,513 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Archived Script Listings DerVVulfman 9 33,321 01-08-2019, 04:27 AM
Last Post: DerVVulfman
   Spritesheet Generator Conversion Script DerVVulfman 0 3,535 11-21-2018, 04:48 AM
Last Post: DerVVulfman
   A.J.'s Missile Command DerVVulfman 1 5,607 11-20-2018, 06:28 AM
Last Post: DerVVulfman



Users browsing this thread: