Save-Point
Universal Message System - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Universal Message System (/thread-2394.html)

Pages: 1 2


Universal Message System - ccoa - 03-08-2008

Universal Message System
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)
[Image: logo.gif]

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.


Universal Message System - Charlie Fleed - 10-01-2009

Problem here...
[Image: th_ums.jpg]
This is the demo.


Universal Message System - Alpha-Mad - 10-01-2009

CCOA hasn't been active on any forums lately. I'm not sure if she'll get this or not. Do you know what the problem is or is it an in depth scripting error? Seems like it's just a simple call script problem.


Universal Message System - Charlie Fleed - 10-01-2009

Alpha-Mad Wrote:CCOA hasn't been active on any forums lately. I'm not sure if she'll get this or not.

Of course I know that, but maybe someone else is familiar with the script enough to have some ideas. The text gets cut off, it's something I think others may have noticed too...

Alpha-Mad Wrote:Do you know what the problem is or is it an in depth scripting error? Seems like it's just a simple call script problem.

I didn't have the time to investigate.


Universal Message System - Victor Sant - 10-01-2009

This isn't an problem with the scripts.
Even on the RMXP defaults sometimes it occurs. you must notice that the faces use part of the message window, so you mus be careful when writting messages to don't make the texts too long (or change the message window witdht)

So instead of witting on the message window:
"Why hello. This is an animated face"
"The pause between animations is set"
"to 80 frames."

try:
"Why hello. This is an animated"
"face. The pause between"
"animations is set to 80 frames."

Yes, sometimes is a pain to make the text fit to the window...

like CCOA said "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. "
And it's really terrible xD
This is an problem with RMXP itself.


Universal Message System - Alpha-Mad - 10-01-2009

Thanks for the catch Atoa!

Yeah, I have actually had this happen with the default message windows too. That's why things need beta testers!


Universal Message System - Yin - 10-03-2009

I use this script and it's great and all, but some weird error pops up when I try to use center text justification and show choices at the same time. Could just be a compatibility issue. I just don't use the two together.

Also, I think that the fit window to text mode helps with that issue described above. (Or was it fit text to window?)


Universal Message System - sakhawat21 - 05-28-2010

Man, this script is awesome!


Universal Message System - JamesBlackwing - 07-10-2010

im useing this script for my project, two things are bugging me

Firstly ive aligned the chat box to the left but i cant figure out any way to align it to the bottom of the screen as well, its bugging me as there is a gap underneathe ven thoughte chat boxit sel fits the other edges perfectly

Secondly if you change the window opacity so you can use a background image the select boxes for multiple choice options also lose their back ground but no image appears there..


RE: Universal Message System - RosyPosy - 06-15-2011

http://www.megaupload.com/?d=EI4NVXDF

fixed Face graph justification error.

Code now reads as justify instead of justification.

Allowing the feature to work properly.
anyone have ccoas emial so I can tell ccoa that I fixed it?!