Hat doesn't show

Alayne

New member
Messages
345
Points
0
Hi guys,

First, I know this has already been asked.

But even by looking over all the topic I've been able to found, following 3 differents guides...I can't succeed in making it work..

So here's my point.

I'm simply trying to add hats.

I've modified all client files:

iteminfo.lua:

  [30009] = {
unidentifiedDisplayName = "Aquaring Hat",
unidentifiedResourceName = "????????????",
unidentifiedDescriptionName = {
"An unknown hat."
},
identifiedDisplayName = "Aquaring Hat",
identifiedResourceName = "aquaring_hat",
identifiedDescriptionName = {
"A costume mask known as Aquaring Hat"
},
slotCount = 0,
ClassNum = 0
},
 
accessoryid:
 
ACCESSORY_Aquaring_Hat = 1013,
 
accname:
 
[ACCESSORY_IDs.ACCESSORY_Aquaring_Hat] = "aquaring_hat",
 
And the corresponding item_db2:
 
{
Id: 30009
AegisName: "Aquaring Hat"
Name: "Aquaring Hat"
Type: 5
Buy: 20
Weight: 800
Def: 3
Loc: 256
EquipLv: 40
View: 1013
},
 
The item is available. I can get it, move it, drop it, pick it, equip it. Everything works, except the fact that when it's equiped, it doesn't show...
I guess that's a problem of view id, cause if I use 224 in item_db2, the feather beret sprite shows up...
 
I really don't get it...
 
Any idea?

 
 
ClassNum = 1013

the ClassNum needs to be same as the ViewID of the itemdb

 
Last edited by a moderator:
Already tried. I've copied pasted the really last version I've used, but I've already tried it.

Same problem.

 
Make sure, You have increased headgear view Id(by using its patch from NEMO)

Also the classNum on itemInfo should match with View: in item_db

 
Yep, the diff is used with 30000 for values (at first, I used a 30010 value, but then, the hat even crash. Here it just doesn't show...)

I'm really out of idea...Thanks anyway for your response guys

 
[ACCESSORY_IDs.ACCESSORY_Aquaring_Hat] = "aquaring_hat",

To

[ACCESSORY_IDs.ACCESSORY_Aquaring_Hat] = "_aquaring_hat",

 
Back
Top