Jul 10, 2013

[RGSS] Scrolling Message System EX

[Image]


Explanation

Edited version from Slipknot's SMS : http://rmrk.net/index.php/topic,17085.0.html

Features

Default in RTP
  • Color: \c[ID]
  • Actor Name: \n[ActorID]
  • Show Gold Window: \g
  • Variable: \v[ID]
Default in SMS
  • Letter by Letter: the characters are drawed one by one.
  • Scrolling: the text lines are scrolled, the time of this can be changed.
  • Stop: the message window can be stopped until the player press a key. \!
  • Autoclose: the message will close without the player input. \%
  • Choices: the choices are showed in a different window, they are also scrolled when are more than two.
  • Height: The height of lines can be changed, everything is adjusted to this.
  • Above Events: You can draw the window above an event. \p[event]
  • Bold and Italic: \b and \i 
  • Face: A small graphic is shown inside the message \face[file]
  • Name Box: Text is shown in a small window above message \name[text]
Added Features in EX Version
  • Furigana: Insert small text above a sentence \r[sentence,furigana]
  • Font change: Change the font name or font size
    • \font[fontname] Change the font name
    • \font[fontsize] Change the font size (Integer)
    • \font[fontname,fontsize]  Change both the font name or font size
  • Conditional Text: Show the text if condition is met (for advanced user
    • \if[condition,text] Will show the text if condition is met (else nothing shown)
    • \unless[condition,text] Will show the text if condition is not met (else nothing shown)
  • Game Related: Show Information related to the game
    • display name of current map \map
    • display name of item, weapon, armor or skill 
      • \N[In] = display name of item with id n (note the "I") 
      • \N[Wn] = display name of weapon with id n (note the "W") 
      • \N[An] = display name of armor with id n (note the "A") 
      • \N[Sn] = display name of skill with id n (note the "S") 
      • \N[En] = display name of enemies with id n (note the "E") 
      • \N[Pn] = display name of event with id n (note the "P")
    • display icon of item, weapon, armor or skill
      • \I[In] = display icon of item with id n (note the "I") 
      • \I[Wn] = display icon of weapon with id n (note the "W") 
      • \I[An] = display icon of armor with id n (note the "A") 
      • \I[Sn] = display icon of skill with id n (note the "S")
    • display icon and name of item, weapon, armor or skill 
      • \I&N[In] = display icon and name of item with id n (note the "I")
      • \I&N[Wn] = display icon and name of weapon with id n (note the "W")
      • \I&N[An] = display icon and name of armor with id n (note the "A")
      • \I&N[Sn] = display icon and name of skill with id n (note the "S)

No comments:

Post a Comment