Readable signs???

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
MerlinX420
Warrior
Warrior
Posts: 574
Joined: Sun Dec 23, 2007 5:42 am

Readable signs???

Post by MerlinX420 » Sun Jan 27, 2008 5:42 pm

How are the signs in the woodland tileset readable?
I thought it was an NPC type script that just displays a message.
I can't find an example of the script anywhere in the current scripts used.
I might be totally overlooking it...or it just might be that I can't find it.
If it's just a NPC script just let me know...I think that it's all it is and I'm over-thinking the process.

Is it possible to make the outdoor signs readable using the same method?
Would the script look like this?:

new_23-1.gat,x,y,0 sign{
mes "Text";
close;

I'm just trying to get a better understanding of the scripts as they are already used before I make much different ones.

Thank You,
MerlinX420
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Sun Jan 27, 2008 7:11 pm

See the "Note" on the woodland indoor map for an example of an invisible NPC.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Dr Wahl
Novice
Novice
Posts: 317
Joined: Sun Apr 09, 2006 7:15 am
Location: Washington
Contact:

Post by Dr Wahl » Sun Jan 27, 2008 7:14 pm

I have not looked at the note you mentioned Crush, but I know that the treasure chest is an NPC. Could this be a solution for the signs as well? It seems like it might be more simple than having an "invisible" NPC.
Image
User avatar
MerlinX420
Warrior
Warrior
Posts: 574
Joined: Sun Dec 23, 2007 5:42 am

Post by MerlinX420 » Sun Jan 27, 2008 7:22 pm

Crush wrote:See the "Note" on the woodland indoor map for an example of an invisible NPC.
I can't find the script for that note. I wouldn't have asked if I could find the script. I think I know how to do it thou...

(In fact I can't find the scripts for any of map_20-1!)

MerlinX420
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Post by Jaxad0127 » Sun Jan 27, 2008 7:55 pm

Heres the code for it:

Code: Select all

//Note in bar
new_20-1.gat,54,49,0	script	Note	127, {
	mes "[Note]";
	mes "We refuse service to anyone who:";
	mes "-Has a bubblehead";
	mes "-Is not properly shaded";
	mes "-Can't walk without stopping after every step";
	close;
	// In case you don't get the joke - it's a parody on Illutia.
}
It looks like you should use sprite index 127.
Post Reply