Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
jporter917

Text Box

Recommended Posts

I am looking for a simple script for NPC text. It will use a call scene method, the scene will display custom text.

 

Example:

Player clicks on event (NPC) then event will use a call script method. This will pull up a window which will display text for that NPC.

 

Something like @scene_textbox(id)

 

id = 1,2,3, etc

 

The text displayed in the box will be define by the id

 

If anyone can help me make this happen?

Share this post


Link to post
Share on other sites

If you mean where it shows a text box over the player/npc's head try AMS or UMS.

 

AMS

http://www.rmxpunlimited.net/scripts/rmxp/item/advanced-message-script-release-4

UMS

http://www.rmxpunlimited.net/scripts/rmxp/item/ccoas-ums

 

All instructions should be in the script.

Share this post


Link to post
Share on other sites

I been trying to use UMC, however, it is returning an error with all the scripts I am using I am wanting on another forum for someone who is helping me fix the problem. I think I made a post here about it too.

Share this post


Link to post
Share on other sites

Use AMS. its way more user friendly and easier to use.

 

You can also try to put the UMS script below all and above main. By the looks of it you have it near the top of all your custom scripts.

Share this post


Link to post
Share on other sites

I will give them a shot and see. But for this topic I was looking for the effect like WoW, Aion or other online games. Where a box is displayed with text in it, I am sure you know what I mean or at least seen it before in someone mmorpg.

 

It returned an error no matter where I put the script, but yes AMS is much better then UMS. Anyways this is the error.

 

 

36651103.png

 

 

 

#--------------------------------------------------------------------------

def update_cursor_rect
if @index >= 0
 n = $game_temp.choice_start + @index
 self.cursor_rect.set(8 + @indent + @face_indent, n * 32, @cursor_width, 32)   <------------
else
 self.cursor_rect.empty
end
end
end
#=========================================
# ▲ CLASS Window_Message Ends
#=========================================

 

Share this post


Link to post
Share on other sites

O i see what you mean now. You want the text box to be like online games, always in the lower left and always able to be seen?

 

As far as i know there is no such script.

To bad Nisage is not around anymore. If anyone knows resources its him.

 

As for your error i have no clue how to fix it.

Share this post


Link to post
Share on other sites

I got the script to work with my game. I had to change a variable from 0 to 1. Anyways, now I am having a problem with the stupid thing.

 

Event; Flol NPC

 

Commands: Text: \z[6]\name[Flol]\p[1]

 

However, in game, when I interact with the NPC I get this response: [Flol]

 

Although, the actual methods of the script are working; displaying character's name, in color and over the right event.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...