The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: kaigen20 on February 06, 2006, 12:45:51 AM

Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: kaigen20 on February 06, 2006, 12:45:51 AM
yea i need help with the slipknot message script...it works..i got everything in place but i just want to know how to do the functions like have the message over player or have face graphics in such....could anyone help me who has ever used this script.....
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: BPKS0 on February 06, 2006, 12:49:09 AM
HERO NAME (default)
 Display the Hero name.
 \N[hero id]

HERO CLASS (Slipknot)
 Display the Hero class name.
 \Class[hero id]

VARIABLES (default)
 Display the value of a game variable
 \V[variable id]

GOLD WINDOW (default)
 Display the gold window.
 \G

TEXT COLOR (default)
 Change the text color.
 \C[0..7]

NAME BOX (Dubealex)
 Display a nice box with the selected text inside.
 \Na[text]

PICTURE
-Slipknot
  Display the selected picture above the message box. The file must be in the folder Graphics/Pictures/Message/, but can be changed.
  \Pic[picture name]

-Dubealex
 Display the picture inside the message box: The file must be in the folder Graphics/Pictures/Message/, but can be changed.
  \Face[picture name]

WINDOW OVER EVENT (Dubealex)
 Display the message window over an event.
 \P[event id]
  0 or -1 = over player
  1... = over the selected event

ICON
-Slipknot
  Display an icon like  the normal text. The icon must be in the folder Graphics/Icon.
  \Icon[icon name]

-Dubealex
  Disaply an icon taken from items, weapons, armors or skills.
  \ii{?}[id]
  Replace ? for i,w,a or s:
   i=item
   w=weapon
   a=armor
   s=skill

TEXT
 -DISPLAY FORM (Slipknot)
   \Text[0..2]
    0 = Normal
    1 = Shadow
    2 = Outline
 -SIZE (Dubealex)
   \TS[8..32]
    8 = min
    22 = default
    32 = max
 -FONT (Dubealex)
   \Font[Font name]
    "Tahoma" = default
 -BOLD (Slipknot)
   \B
    Set it on or off. Don't need argument
 -ITALIC (Slipknot)
   \I
    Set it on or off. Don't need argument
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: kaigen20 on February 06, 2006, 01:08:54 AM
thx man....i went to your link
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: BPKS0 on February 06, 2006, 01:09:50 AM
yw and ty lol
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: sale on February 26, 2006, 03:53:18 PM
I have a problem with this part of Slipknot's script. It's reporting an error in this line:   self.bitmap = Bitmap.new size, 22
Error: failed to create bitmap. please help!

def initialize x, y, text=' '
   dumb = Bitmap.new 320, 42
   size = dumb.text_size(text).width
   dumb.dispose
   @back = Window_Base.new x, y, size+12, 32
   @back.z = 9995
   unless NB_skin.nil?
     @back.windowskin = RPG::Cache.windowskin NB_skin
   end
   viewport = Viewport.new x+6, y+5, size, 22
   viewport.z = @back.z+10
   super viewport
   self.bitmap = Bitmap.new size, 22
   case Default_Text
   when 0 then bitmap.draw_text 0, 0, size, 22, text
   when 1 then bitmap.draw_text_shadow 0, 0, size, 22, text
   when 2 then bitmap.draw_text_outline 0, 0, size, 22, text end
 end
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: Blaze on February 26, 2006, 04:04:14 PM
I'm also having trouble with this script. I can't even put it in my script box, when ever I do they always say theres either an error in a line or something else. I need help.
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: helipluis on February 26, 2006, 04:50:20 PM
Just use dubealex's one.. Personally, I find it a lot better :)
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: sale on February 26, 2006, 06:21:24 PM
I want this one
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: Blaze on February 26, 2006, 06:28:22 PM
I want this one to but what do you mean use Dubalex's one ?
Who is that ..?
Well what ever it is or something. Gimme the url to the website or the link to the post.

PLEASE! :)

I really want a message system like slipknots
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: sale on February 26, 2006, 06:34:36 PM
I think it's this one....
http://www.dubealex.com/asylum/index.php?showtopic=590
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: Blaze on February 26, 2006, 07:15:01 PM
I already have the script. YAY!
I found it at some RPG revolution forums place. I looked on google for scripts and this website came up.


http://forums.rrrevolution.com/index.php?download=16

Thats not the exact page, but look around the website you'll find the script. Now all I need to do is learn how to use it.
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: roboiago on March 03, 2006, 05:32:15 AM
um...hey there...yeah..new user here.  awesome site by the way..oh..sorry.

well, I'm having trouble with the picture in text box:

PICTURE
-Slipknot
Display the selected picture above the message box. The file must be in the folder Graphics/Pictures/Message/, but can be changed.
\Pic[picture name]

it's probably really obvious (I tend to miss the little things lol) but I can't seem to put a pic in the text box.  let's say I have a young link (file name is young link layer) pic in the graphics/pictures folder (in resource manager).

where exactly do I put the young link pic for it to work?  does the pic need to have specific dimensions?  btw, I'm using postality knights...dunno if that makes a difference (don't think so...but..).

sorry if my question is n00bish...I'm in the process of learning....

thanks in advance.
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: Viper on March 03, 2006, 07:20:40 AM
Quote from: roboiagoum...hey there...yeah..new user here.  awesome site by the way..oh..sorry.

well, I'm having trouble with the picture in text box:

PICTURE
-Slipknot
Display the selected picture above the message box. The file must be in the folder Graphics/Pictures/Message/, but can be changed.
\Pic[picture name]

it's probably really obvious (I tend to miss the little things lol) but I can't seem to put a pic in the text box.  let's say I have a young link (file name is young link layer) pic in the graphics/pictures folder (in resource manager).

where exactly do I put the young link pic for it to work?  does the pic need to have specific dimensions?  btw, I'm using postality knights...dunno if that makes a difference (don't think so...but..).

sorry if my question is n00bish...I'm in the process of learning....

thanks in advance.

Alright listen. You need to create a direct root to that folder from Graphics/Pictures...the PK version doesn't have a Message folder so you are going to have to create it yourself. Create that new folder, insert the image you want to use in that folder.

Go back to your map, new event, message: \Pic[filenamewithnoextension]TEXT

I.e.  \Pic[Magnus]Hello, how are you doing?

Make sure you put the image inside your Message folder that you created in the pictures directory, and make sure the file type is an extension that RPGMXP can read...like PNG
Title: HELP WITH THE SLIPKNOT SCRIPT!
Post by: roboiago on March 03, 2006, 11:49:12 AM
ah... :^^:  *slaps forehead* but of course....

thank you very much viper.  all fixed now.  thanks a bunch.