The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Scripts Database => Topic started by: Season In The Abyss on February 23, 2006, 09:05:13 PM

Title: Slipknot Advance Message system 3.0
Post by: Season In The Abyss on February 23, 2006, 09:05:13 PM
Slipknot Advance Message System 3.0

NEW:
 - SDK compatibility.
    I think, is now compatible with SDK (you can remove it).
 - Deleted some code.
     Some things of the last version can be smaller.
 - Hexadecimal color.
    Some people request it, works like in the Dubealex script.
 - Another fix to the cursor width.
    I found a new way to manage it.
 - Advance Cursor Width
    Is based in the current choice width.
 - Fixed input number window.
    The back window's width now can't be smaller than the input number's width.

SCREENSHOTS:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg256.imageshack.us%2Fimg256%2F6013%2Fmessage5zb.png&hash=26526140aa1f5be8c6f6cb5eae7637ab1e256b6a)

DEMO:
http://www.megaupload.com/?d=URDCGPX3


SCRIPT
[code]#==============================================================================
# ** Slipknot Advance Message System
#------------------------------------------------------------------------------
# Slipknot
# 3.0
# 02.23.06
#------------------------------------------------------------------------------
=begin
  Thanks to:
   - Dubealex, for some of the features.
   - Phylomorphis, for the hexadecimal color.
=end
#==============================================================================

#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------

module Message_Settings
  #--------------------------------------------------------------------------
  #
Title: Slipknot Advance Message system 3.0
Post by: blueXx on February 23, 2006, 09:27:29 PM
just 1 thing to say!
the life is for losers XD

hats off, great script
Title: Re: Slipknot Advance Message system 3.0
Post by: Mirak on October 10, 2006, 02:48:50 AM
Hey man, great script you have there, just one question, what do i do to display a characters name?
Title: Re: Slipknot Advance Message system 3.0
Post by: Mirak on October 10, 2006, 03:22:57 AM
Great:
Code: [Select]
???? 'Slipknot Advance Message System script' 18 name error
unitialized constant SDK
Title: Re: Slipknot Advance Message system 3.0
Post by: Tsunokiette on October 10, 2006, 03:24:36 AM
*sigh*

Just remove these bits -

Code: [Select]
#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------

and

Code: [Select]
#--------------------------------------------------------------------------
# End SDK Enabled Test
#--------------------------------------------------------------------------
end
#--------------------------------------------------------------------------

I really support the SDK, but sadly this has to be done half the time because not many do.
Title: Re: Slipknot Advance Message system 3.0
Post by: Mirak on October 10, 2006, 03:46:26 AM
Thanks, how do i display the character name again? *puppy eyes*
Title: Re: Slipknot Advance Message system 3.0
Post by: Mirak on October 10, 2006, 03:49:11 AM
wtf? The messages doen't display anymore  : ???
Title: Re: Slipknot Advance Message system 3.0
Post by: darkelementwars on October 18, 2006, 08:37:19 PM
ok now this might be a really n00b question, but how do i work this code once it's inserted?  sorry, this one doesnt come with the clear cut instructions all the other code has.
Title: Re: Slipknot Advance Message system 3.0
Post by: darkelementwars on October 19, 2006, 03:37:56 AM
i'm really confused, it works fine in the demo, then if i copy and paste it from the demo into my code it doesnt work. can anyone explain this?
Title: Re: Slipknot Advance Message system 3.0
Post by: Arrow on October 19, 2006, 04:43:16 AM
Do you have SDK? I'm assuming you don't, because that is likely the cause of this error.

Code: [Select]
#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------

and

Code: [Select]
#--------------------------------------------------------------------------
# End SDK Enabled Test
#--------------------------------------------------------------------------
end
#--------------------------------------------------------------------------

I really support the SDK, but sadly this has to be done half the time because not many do.

That should do it, if it doesn't, then post your error message.
Title: Re: Slipknot Advance Message system 3.0
Post by: darkelementwars on October 19, 2006, 04:49:47 AM
i already did that.  there is no error message, the text boxes are just empty, no matter what i put in them.
Title: Re: Slipknot Advance Message system 3.0
Post by: Arrow on October 19, 2006, 04:54:51 AM
OH. Make a new script above the message system, label it "font" without the quotes.

The script is:

Font.default_name = "Tahoma"
Title: Re: Slipknot Advance Message system 3.0
Post by: darkelementwars on October 19, 2006, 04:59:19 AM
that got it.  thanks man ^^
Title: Re: Slipknot Advance Message system 3.0
Post by: coolkid25344 on November 05, 2006, 12:40:50 AM
I get an error that it: Unable to find file Graphics/Windowskins/Charcoal Xp.

How do I go about fixing this?
Title: Re: Slipknot Advance Message system 3.0
Post by: Joker on November 07, 2006, 06:49:15 PM
Are there any instructions for this script?  It looks good, but I have no clue how to use it once it's brought into my game.
Title: Re: Slipknot Advance Message system 3.0
Post by: Arrow on November 07, 2006, 07:33:46 PM
Read the script, and download the tutorial. Both are on the first page of this topic, in the first post.
Title: Re: Slipknot Advance Message system 3.0
Post by: Tineis on November 16, 2006, 02:03:52 AM
Argh... I put in the script, got the charcoal skin, got the script, took out the SDK parts, typed it right, and got this error:

????? 'Messagescript' ? 506 ??? RGSSError ????????

failed too create bitmap


WHAT DOES IT MEEEAAAN????
Title: Re: Slipknot Advance Message system 3.0
Post by: flowerthief on November 16, 2006, 05:06:31 AM
Can the namebox be combined with the character graphic in the message? That would be slick.

EDIT:
I guess I could edit the refresh method of Window_Message to set name_box = true or somethin' like that.

Title: Re: Slipknot Advance Message system 3.0
Post by: :) on November 17, 2006, 03:11:15 PM
Can the namebox be combined with the character graphic in the message? That would be slick.

EDIT:
I guess I could edit the refresh method of Window_Message to set name_box = true or somethin' like that.



Wow, that would be really sweet if you can get it to work, I have never tried these systems because I have loooked for something that can do both.
Title: Re: Slipknot Advance Message system 3.0
Post by: flowerthief on November 17, 2006, 10:05:51 PM
Okay, I'm not using 3.0 but the other Slipknot message system.
I tried using both and...it works! But with a slight problem. That is, both are displayed but the face graphic overlaps the namebox. What happens is that the refresh method processes the coordinates of the namebox first and the face second. Thus the namebox doesn't know that the coordinates of the message window have been adjusted to accomodate the face graphic.

Here's a quick fix!  Simply rearrange the order of these two code blocks:

Code: [Select]
   if name_box
      nbx,nby = self.x,self.y-15
      w = self.contents.text_size(name_text).width+12
      @name_box = Window_Base.new(nbx,nby,w,32)
      @name_box.z = self.z+1
      nbx += 6; nby += 4
      @name_box_text  = Name_Box_Text.new(nbx,nby,name_text)
      @name_box_text.z = self.z+2
    end

Code: [Select]
    if @face
      face = RPG::Cache.load_bitmap(@path,face_name)
      @back.height <= 128 ? fy = 0 : fy = ((@back.height-128)/2)
      self.contents.blt(0,fy,face,Rect.new(0,0,96,96))
      @back.height = 128 if @back.height <= 128
      men_pos
      @face = false
    end

With the code for the namebox coming *after* the code for the face graphic, it should work properly.
Of course I don't know his code well enough to know for sure that this won't mess up any of the other message options, but anyhow there you can have both a namebox and a face to your message. Nifty :)

Here's an example of how you'd use it:

\Face[dude]\Na[Jimmy]You wanna piece of me, boy?

Title: Re: Slipknot Advance Message system 3.0
Post by: anhhuy28 on December 01, 2006, 10:01:35 PM
how do i put the picture in my textbox in the event thing, sorry of this is such a noobish question.  ::)
Title: Re: Slipknot Advance Message system 3.0
Post by: Season In The Abyss on December 05, 2006, 06:19:44 PM
Please use this script instead of this odl one, this one has mor features and less bugs:
http://rmrk.net/index.php/topic,7035.0.html (http://rmrk.net/index.php/topic,7035.0.html)
Title: Re: Slipknot Advance Message system 3.0
Post by: :) on December 06, 2006, 12:23:29 AM
how do i put the picture in my textbox in the event thing, sorry of this is such a noobish question.  ::)

use the demo, there should a little thing you have to add to SHOW TEXT option in the event, and then identify which pic will show
Title: Re: Slipknot Advance Message system 3.0
Post by: Decadent Sympozium on December 18, 2006, 07:11:51 PM
I have a question regarding this excellent script and would be very happy if anyonce could point me the right way. Although without instructions, I noticed there is an option in script where you can change the window and message skin which is, by default in script, set to "nil" by Slipknot.

Quote
# Skin for the message window, nil = default
   @skin = nil
   # Skin for the name box, nil = default
   @nb_skin = nil

Lines 53,54,55,56.

Now, I'd like to change the default since the default in no possible way fits the game mood. What kind of graphics should I make, following which rules, where should I paste them and what code should I replace "nil" with to make it appear in the game. I'm guessing I should edit the windowskin folder but still don't know how to apply it to script.

EDIT EDIT EDIT

Nvmd, I figured out by accident.
Title: Re: Slipknot Advance Message system 3.0
Post by: dhurion1 on May 30, 2007, 06:08:36 PM
I was wondering if I use a side battle view system and I want to display the character's names on the battle command window as their names are displayed on text windows (in the upper left hand corner with the charcoal background) how would I do that? I've looked through my battle script, but I believe the answer lies in the standard battle command window script. I just have no idea where or even what to put there to make the name window appear over the battle command window. Any ideas?
Title: Re: Slipknot Advance Message system 3.0
Post by: Genius on August 18, 2007, 04:58:42 AM
Hi:

I got a question. Uhmm When putting in an name input process. How can you make that name you entered. auto show when your actor says something.

Example:

I enter name: genius

Now my actor wants to say hi (Using your script)

 I want it to say: Name that I typed in in the name input process.

P.S: Iam using your script.
Title: Re: Slipknot Advance Message system 3.0
Post by: modern algebra on August 18, 2007, 05:04:04 PM
\n[X] where X is the hero ID.

I.e. If you want it to be the second hero in the database to say something, just type in \n[2] and it will print his name.
Title: Re: Slipknot Advance Message system 3.0
Post by: Genius on August 19, 2007, 03:11:32 AM
Uhm where it says enter text:

I type the script first:

/na(Name) Words

Where do I enter what you just told me?
Title: Re: Slipknot Advance Message system 3.0
Post by: modern algebra on August 19, 2007, 04:22:43 AM
\name[\n[2]] or, if it's na in this script, then \na[\n[2]].

What happened to this script anyway. It's disappeared  :o

I think you should use this script anyway: http://rmrk.net/index.php/topic,7035.0.html

It is by the same author and has all the same features and more. And it's still intact.
Title: Re: Slipknot Advance Message system 3.0
Post by: Genius on August 19, 2007, 04:36:34 AM
Tahnx a bunch. The script looks fantastic!
Title: Re: Slipknot Advance Message system 3.0
Post by: Voyevoda on August 27, 2007, 06:15:50 AM
I'm getting the following error message

 Script "Window_Message" Line 18: NameError occured.
Uninitialized constant SDK

any suggestions?
Title: Re: Slipknot Advance Message system 3.0
Post by: Leon Oswald on August 27, 2007, 06:59:41 AM
try find and remove this
Code: [Select]
#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------
and this
Code: [Select]
#--------------------------------------------------------------------------
# End SDK Enabled Test
#--------------------------------------------------------------------------
end
#--------------------------------------------------------------------------
Title: Re: Slipknot Advance Message system 3.0
Post by: Voyevoda on August 27, 2007, 03:18:52 PM
try find and remove this
Code: [Select]
#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------
and this
Code: [Select]
#--------------------------------------------------------------------------
# End SDK Enabled Test
#--------------------------------------------------------------------------
end
#--------------------------------------------------------------------------

no change, I don't think it's a SDK dependency issue

EDIT: Never mind, fixed it myself. simple cut and paste error  :tpg:
Title: Re: Slipknot Advance Message system 3.0
Post by: Halestorm5 on September 18, 2007, 06:07:37 PM
I like this script but now I cant find out how to remove the box shrinking thing.:(

EDIT: Nah. I just worked out how. And it looks better with the box shrinking :P
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 19, 2007, 03:12:51 PM
Sry for this noob question, but where do u get this SDK (and what is it excactly??)  ???:-[ ???
Title: Re: Slipknot Advance Message system 3.0
Post by: modern algebra on December 19, 2007, 04:46:54 PM
http://rmrk.net/index.php/topic,19947.0.html

You can get it at hbgames.org or creationasylum, and also from any demo in an SDK-required script
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 20, 2007, 02:41:26 PM
http://rmrk.net/index.php/topic,19947.0.html

You can get it at hbgames.org or creationasylum, and also from any demo in an SDK-required script

Thx again!! :D
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 21, 2007, 05:59:23 PM
I get an error that it: Unable to find file Graphics/Windowskins/Charcoal Xp.

How do I go about fixing this?

You need to paste/import the windowskin named "Charcoal Xp" You should also check that you have everything else needed in the Graphics folder. So check out the graphics section of demos too, and check to see if there are specific resources u have to download and import before it'll work with all type of scripts... a message will appear if something's missing anyway, and when u open the scripting "menu" you'll be at the right line automaticly... But you seem like a bit of a pro, so you prolly knew that already ;)
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 21, 2007, 09:18:32 PM
I know this might be a bit hard, but you see, I can't open the part of the Demo where I can edit the game, so would it be possible to post the full code? Please? It sounds and looks and seems so cool!!
Title: Re: Slipknot Advance Message system 3.0
Post by: Acezon on December 22, 2007, 12:41:29 AM
I HAVE A PROBLEM... WHEN I PLACED A BIG PICTURE IN MY MESSAGE, THE UPPER PART OF MY PICTURE WAS NOT SEEN.... IT DOESN'T FIT THE SCREEN...PLEASE HELP ME, I'LL GIVE YOU SCREENIES.... :tpg: :tpg: :'( :'( :'(
Title: Re: Slipknot Advance Message system 3.0
Post by: Acezon on December 22, 2007, 07:26:01 AM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi244.photobucket.com%2Falbums%2Fgg18%2Fcelebi269%2Fproblem.jpg&hash=fce4b9b4937c35e56f7a777aa23076303325ed7c)

THIS IS MY PROBLEM!!! HELP ME SEASON OF THE ABYSS!!!!!!!!PLEASE......
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 22, 2007, 08:19:43 AM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi244.photobucket.com%2Falbums%2Fgg18%2Fcelebi269%2Fproblem.jpg&hash=fce4b9b4937c35e56f7a777aa23076303325ed7c)

THIS IS MY PROBLEM!!! HELP ME SEASON OF THE ABYSS!!!!!!!!PLEASE......

I'd try resizing the picture, that should do it...
Title: Re: Slipknot Advance Message system 3.0
Post by: Acezon on December 23, 2007, 01:35:47 PM
I don't want to resize it, I just want to put it down and make it translucent. The message box should overlap the pic.
Title: Re: Slipknot Advance Message system 3.0
Post by: Demonic Blade on December 23, 2007, 02:57:48 PM
Oh :o, Well, then I don't know...
Title: Re: Slipknot Advance Message system 3.0
Post by: Acezon on December 24, 2007, 12:49:38 AM
Please Season of the Abyss, Help me.... or is there a way to edit it in the Script Editor?
Title: Re: Slipknot Advance Message system 3.0
Post by: Acezon on December 25, 2007, 06:31:14 AM
Hey, someone help me.... Where can I edit the x and y coordinates of the picture so that it shall fit the screen?
ANYONE?
Title: Re: Slipknot Advance Message system 3.0
Post by: modern algebra on December 26, 2007, 07:47:58 PM
Stop double posting. If you have new information then edit your previous post as otherwise you come off as annoying. Also, Seasons In the Abyss is not very active here, but I suggest you use the Letter by Letter script, as it is pretty much an updated version of this script.

As far as your problem goes, try editing lines 344 and 345 (in the demo). They look like this:

Code: [Select]
      @picture.x = px-@picture.bitmap.width
      @picture.y = self.y-@picture.bitmap.height

Title: Re: Slipknot Advance Message system 3.0
Post by: Dragonware~Lupe on August 16, 2009, 12:35:37 AM
Is it at all possible that the actual script can be posted rather than just the demo? The demo isn't working for me, therefore I can't get the script. Thanks
Title: Re: Slipknot Advance Message system 3.0
Post by: shandy333 on August 22, 2009, 02:28:20 AM
Game and Watch!!! Oh and wonderful script, can I request something?
Title: Re: Slipknot Advance Message system 3.0
Post by: choboku on March 21, 2011, 07:04:03 PM
I have a problem. I copied the script to my game, but it doesn't work. The message boxes were empty, so I make a new script called "fonts" above the mesasage system, and inside it I print "Font.default_name = "Tahoma". But the problem is that the text is always Arial size 25, even if I change it in fonts, or menu, or wherever.
Title: Re: Slipknot Advance Message system 3.0
Post by: Arrow on March 21, 2011, 07:22:05 PM
Are you changing it within the slipknot script itself, or RM's default script? Slipknot is the one that gets the "last say" so to speak, so if it isn't changed there then it'll undo whatever you changed somewhere else.