[Problem] Custom Weapon Sprite

soul213

New member
Messages
26
Points
0
Emulator
Hi everyone i have a problem regardin on my custom weapon. i already follow the instructions but my sprite wasn't show.

Here's list of my work:

Weapontable.lub

 WEAPONTYPE_DragonFang_Katar = 107,
[Weapon_IDs.WEAPONTYPE_DragonFang_Katar] = "_1291",
[Weapon_IDs.WEAPONTYPE_DragonFang_Katar] = WEAPONTYPE_CATARRH,
PS: I've already change the "_1291" to "_dragonfang" but still my sprite wasn't show.

Sprites path:

a2b5abf83d.jpg
item_db2:

I hope someone can help me here, and fixing my problem
default_smile.png
have a nice day
default_biggrin.png


 
What not show ?

Your custom weapon sprite in game when you equiped ?

Can you screenshot in-game ?

 
What about iteminfo ClassNum, is it 107?

 
But its custom weapon, and he want to show aura for that sprite, so should be 107
And @topicstarter, those files are not used in 2013 clients, you only need to edit iteminfo now.
i already edit the iteminfo in classnum in 107, then my client was crashing. and i already edit the weapontable.lub but still my client was crashing also i already change the name of the sprite from 1291 to _dragonfang it's still crashing

setting of my iteminfo.lub

3dbcebd7d4.png


 
Last edited by a moderator:
3dbcebd7d4.png


you have it wrong it should be like this i suppose

Code:
[1291] = {	unidentifiedDisplayName = "Dragon Fang Katar",	unidentifiedResourceName = "_dragonfang",	unidentifiedDescriptionName = {		"Unknown Item, can be identified by [Magnifier]."	},	identifiedDisplayName = "Dragon Fang Katar",	identifiedResourceName = "_dragonfang",	identifiedDescriptionName = {		"Test"	},	slotCount = 4,	ClassNum = 107},
 
iteminfo.lua
 

[18104] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { }, identifiedDisplayName = "Punhos Celestes", identifiedResourceName = "Punhos_Celestes", identifiedDescriptionName = { }, slotCount = 4, ClassNum = 103 },
dataspriteÀΰ£Á·¸ùÅ©
punhos.png

dataluafiles514lua filesdatainfoweapontable.lua

 Weapon_IDs = { WEAPONTYPE_Punhos_Celestes = 103, 
Code:
WeaponNameTable = { [Weapon_IDs.WEAPONTYPE_Punhos_Celestes] = "_Punhos_Celestes",
Code:
Expansion_Weapon_IDs = {  [Weapon_IDs.WEAPONTYPE_Punhos_Celestes] = Weapon_IDs.WEAPONTYPE_KNUKLE, 
If you follow these for your katar, everything will be ok. 

Also, change:

[Weapon_IDs.WEAPONTYPE_DragonFang_Katar] = WEAPONTYPE_CATARRH,

to

[Weapon_IDs.WEAPONTYPE_DragonFang_Katar]  = Weapon_IDs. WEAPONTYPE_CATARRH,

 
Last edited by a moderator:
Back
Top