Readable signs???

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Readable signs???

Post by Merlin »

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: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

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
Warrior
Warrior
Posts: 317
Joined: 09 Apr 2006, 06:15
Location: Washington

Post by Dr Wahl »

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
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Post by Merlin »

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
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Post by Jaxad0127 »

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