Jump to content
  • 0

How to add ETC item to server


Dolphin86

Question


  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

Hello again, i need someone to guide me on how can i add etc item to my server as custom etc item (not weapons, armor, garment,) just etc item like a medal something like that.

thanks !

 

how should i add it in item_db_etc.yml, iteminfo.lua and what else i need to edit?

where can i edit using offcial sprites and where should i put my custom item sprites ?

Edited by Dolphin86
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

You need to declare your unique item number. Let's based it on your medal thingy. 

  - Id: 30000
    AegisName: Medal_Thingy
    Name: Medal Thingy
    Type: Etc
    Buy: 100000
    Weight: 400

Put this into your import folder. In this way you wont have to touch the original item_db_etc.yml. Once done go to your server and type @reload item. You may now @item 30000 to generate your Medal Thingy.

You will be getting an Unknown Item(apple) since its not yet on your iteminfo.lua.


You may put this in your iteminfo (Client/System/iteminfo.lub/lua

	[30000] = {
		unidentifiedDisplayName = "Medal Thingy",
		unidentifiedResourceName = "Æ÷ÀåÁö",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Medal Thingy",
		identifiedResourceName = "Æ÷ÀåÁö",
		identifiedDescriptionName = {
			"A custom Medal",
			"^FFFFFF_^000000",
			"Weight:^009900 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false
	},

That's it!

Restart your client.

P.S the Æ÷ÀåÁö is taken from the item # 7175 which uses the pic below
image.png.a643826baf487308568c209ab1e1ebc2.png

Edited by Gidz Cross
Typos
  • Upvote 2
  • Like 1
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...