Picture Message Window - With Ease
#1
Picture Message Window - With Ease

Introduction
I don't usually create stuff like this, but i hear alot of complaints about it...when it is generally such an easy thing to do, all this does is alias window_message so that an image will appear exactly inline with window no matter where it's positioned.

This script is in no way intended to be good or anything amazing, it was created for those who know nothing about RGSS and to allow people to make beautiful message systems instead of using the windowskin.

Add this above main and remember to store your message window picture in the 'picture' folder, sized 480 width x 160 height. Also replace the word Message with whatever you called your image. Also you can now change the opacity of the image to make life easier, to change it, just change the line message.opacity = 200 to any desired number (0 being invisble amd 255 being solid).

Code:
#-----------------------------------------------------------------------------
#  Window Message Rewrite by Mac
#=============================================================================
class Window_Message < Window_Selectable
  # Alias Message_Window initialize  
  alias message_window_init initialize
    def initialize
    message_window_init
      self.opacity = 0
      @message = Sprite.new
      @message.bitmap = RPG::Cache.picture('Message')
      @message.y = self.y
      @message.x = self.x
      @message.visible = self.visible
      @message.opacity = 200
    end
  # Alias Message_Window update  
  alias message_window_upda update
    def update
       message_window_upda
        @message.visible = self.visible
      end
      end
Example
[Image: pmspw2.png]

Q&A

Q. Does this work with the UMS?
Not sure awaiting confirmation

~Mac

PS. Yes i know it needs updating :P
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Toggle Message Window XP kyonides 0 27 11-11-2024, 01:28 AM
Last Post: kyonides
   Drago Message Log LiTTleDRAgo 0 4,989 08-31-2016, 01:22 PM
Last Post: LiTTleDRAgo
   Message Text from Files DerVVulfman 0 5,263 04-13-2016, 03:25 AM
Last Post: DerVVulfman
   Battle Report Script Window style mageone 4 16,754 03-20-2013, 10:51 PM
Last Post: KasperKalamity
   Mr.Mo ABS Game Log Window JayRay 0 5,346 10-30-2012, 06:54 AM
Last Post: JayRay
   Semi Ace Window System XP kyonides 0 5,648 10-01-2012, 11:25 PM
Last Post: kyonides
   Universal Message System Cancel Choices Fix DerVVulfman 3 10,148 05-23-2012, 03:46 AM
Last Post: Taylor
   Naramura Window System Kirito 2 10,992 05-06-2012, 05:40 AM
Last Post: Kirito
   Universal Message System ccoa 15 48,467 10-09-2011, 04:33 AM
Last Post: DerVVulfman
   Advanced Shop Status Window RPG Advocate 4 12,427 08-21-2011, 05:12 AM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)