Jump to content
  • 0

create duplicate items


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

Hi, i want to ask.

 

I have a custom item for example

an etc item, like a gold coin.

 

I want to duplicate it with another name, but with different db# and db description.

 

should i add another drop item in the drop folder for the duplicate one?

 

OR the accessory id , accname. lua file will just copy the the drop if i put the same id number as the 1st one in the db?

as for the resnametable the name should be like in accname.lua to work? it's because the drop sprite is the same. am i right?

 

please leave an advise, because im planning to duplicate many items before i start. 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

in etc items, no need to edit the accname.lua because its only for headgears.. you must only edit the Idnum2desc, idnum2itemname, and the idnum2res,

 

for example your coin is 671, and then you want to duplicate it, for example the duplicate id for 671 is 20000,

 

you need to copy the idnum2res of ID 671 and make a new ID (20000)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

hmm, so.

only idnum2res? and a new id that's it? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

well also the idnum2itemname for the item's name and the idnum2itemdesc for the item description.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  528
  • Reputation:   18
  • Joined:  09/11/12
  • Last Seen:  

hmm, so.

only idnum2res? and a new id that's it? 

 

Clientside:

idnum2itemdesctable.txt <= New item effect

idnum2itemdisplaynametable.txt <= New item Name

idnum2itemresnametable.txt <= the sprite name of the item [Add here the sprite name of item which u want to duplicate]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

hehe thanks for all the help, it is now done.

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...