03-08-2008, 01:04 AM
Universal Message System
Version: 1.8.0
Version: 1.8.0
Introduction
I made this script to do everything all the separate message systems did in one script, plus a few things no one had done that they should have.
Screenshots
Samples of what you can do
Demo
Demo
FAQ
It'd be really cool if your message system did ___. Can you add it?
Maybe. Post it and we'll see if it's something more people than just you would use.
Where did those really cute facesets in the demo come from?
The RTP facesets were made by Gozaru. You can find the whole XP and 2k3 RTP plus original sets there. The animated faceset is from Fire Emblem: Path of Radiance, rip couresy of fe-planet.net.
How do I change the font/font color of the name window?
Find this code:
Code:
# uncomment this and change the font to give the name window a fancy font
#self.contents.font.name=%2526quot%253BAriel%2526quot%253B
self.contents.font.color = Color.new(0, 0, 0, 255)
You can change the font and font color there.
I'm using ____ template instead of RTP. How do I change the center over event so that it's the right height for the characters?
Just find this code:
Code:
if $game_system.message_event == 0 or $game_map.events[$game_system.message_event] == nil
# above player
self.y = $game_player.screen_y - self.height - 48
else
# above event specified
self.y = $game_map.events[$game_system.message_event].screen_y - self.height - 48
end
And change the 48 to however many pixels above the bottom of the charset you want the message window to be. For slave windows, find this code:
Code:
if @message_event == 0 or $game_map.events[@message_event] == nil
# above player
self.y = $game_player.screen_y - self.height - 48
else
# above event specified
self.y = $game_map.events[@message_event].screen_y - self.height - 48
end
And do the same.
The letters j, y, p, and g get cut off when in fit window to text mode! Help!
Okay, there seems to be no way I can anticipate every single font and font size combination, and apparently the Bitmap class is really bad at telling size. So, if you're having this problem, you're going to have to fix it yourself. Find these lines (there will be two):
Code:
height += delta + (delta * 0.2).to_i
And play with the 0.2 until it works for whatever font/font size you're using.
How can I use the caterpillar functionality with fukuyama's caterpillar script?
Search the UMS script for every instance of:
$game_train.actors
Replace it with
$game_train.train_actors
That should do it.
Compatibility
This script will not work with any other message system. It may not work with the SDK. No other known compatibility issues.
Author's Notes
New to 1.71 - added ability to draw just an icon in the window, fixed show choices bug.
New to version 1.7.0 - Added scrolling text and face mirroring, fixed bug with choice windows not displaying changed names. Also added ability for choice window to display party member names.
Terms and Conditions
Use
Free for noncommercial use with credit. Please contact me for licensing terms for commercial use.
Link to PM for License
You can acquire a commercial license by PMing me at the following forum.
Universal Message System (XP)
Distribution
Do not redistribute this script without permission. Do not direct link the demo or paste the script anywhere. Instead, please link to this thread.