Jump to content
  • 0

how adding custom weapon>?


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

i dont know how can add

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

which client version are you using?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

you can add them at item_db2.txt.also make sure that it's ID is viewable. Only specific item numbers for weapons can be viewed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

2012 client and lulu can you show the example?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

read this here

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

yup i try this in item db ID 1601 = Arsenal Staff but why Rod ang lumalabas??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

check its class type/sprite.maybe it shows but uses the wrong sprite in your settings.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

i dont know master /sob .. told me i need ti put the name of item to lua files

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

if you use iteminfo.lua

--[[
Format:
	[itemID] = {
		unidentifiedDisplayName = "read the table name",
		unidentifiedResourceName = "sprite/act/texture filename when unidentified",
		unidentifiedDescriptionName = {
			"read",
			"the",
			"table",
			"name",
		}
		identifiedDisplayName = "read the table name",
		identifiedResourceName = "sprite/act/texture filename when identified",
		identifiedDescriptionName = {
			"read",
			"the",
			"table",
			"name",
		}
		slotCount = 0~4,
		ClassNum = viewID if headgear/weapon/robes(garment) put 0 if not
				for headgear's viewID see accessoryid.lua
				for weapon's viewID see weapontable.lua
				for garment's viewID see spriterobeid.lua
	}
--]]

check ClassNum, viewID for weapon.must match on what you want.

ClassNum = 23 //for Rod
ClassNum = 10 //for Staff
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

Blue Jem does your client use ItemInfo.lua is what i wanted to know. because the client side modification vary based on that.

which is why i asked for the client date .

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

for that client there is an item id limitation. you need to add your weapon in the range meant for it.

you can see the valid item id ranges in my signature below.

 

rest of the stuff is same as other custom items. (i mean the txt table additions).

 

As for the sprite name. check this site.

http://ratemyserver.net/index.php?page=riot_bible_section&section=6

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