Jump to content
  • 0

How to "use?" Signboard?


Archetype Saber

Question


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

Just Like the waitingroom script in the NPC.

how to "script" "use" or "implement" this kind of feature?

err0r 1.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

On 1/3/2018 at 11:21 PM, Archetype Saber said:

meaning you cant make your own "Signboard" Script?

File location

Yes. You may create your own signboards by editing the clientside LUA/LUB file. There is no server-side configuration for it.

The file is located at:

client\data\luafiles514\lua files\signboardlist.lub

Example entry

An example of one signboard is the following:


	{
		"izlude",
		197,
		205,
		10,
		IT_SIGNBOARD,
		"유저인터페이스\\item\\ship_ticket.bmp",
		"Ship to Alberta and Byalan",
		"#0x00FFFFFF"
	},

The first three are explanatory: It's the map and coordinates.

10 corresponds to the height (i think in pixels, or some arbitrary unit) above the NPC's head. Setting it to 0 means that it is immediately above the NPCs head.

IT_SIGNBOARD is the type. Examples are shown below.

The following is the filepath to the image resource.

The last one, I believe is for the color of the text (I have not tweaked this value so I am not sure).

End result

And it results into the following:

IT_SIGNBOARD

image.png.52cb24f7a65efe1fb3679ee8e221b420.png

 

IT_BMP

image.png.a80802ac0a7c1fdc3d52ff4030f20aee.png

 

Notes

As of posting (December 19, 2018), Asheraf's Translation (commit 8377a6b7340773d0c5ea18987b1c82be0ec1dd05) does not have a translated signboardlist.lub.

Use Zackdreaver's translation (commit 8377a6b7340773d0c5ea18987b1c82be0ec1dd05) instead.

Note that the links above are to the master copy of the Git repositories. The commit IDs shown above are the current commit IDs on their master branches.

Edited by iwillnot
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

The feature is entirely client side.

I'm not sure about the file name, but you can search for the word "signboard" in GRF editor and it should show you the lua file containing all sign boards.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...