Jump to content
  • 0
Alayne

Hat doesn't show

Question

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?
 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

ClassNum = 1013

 

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

Edited by ossi0110

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

[ACCESSORY_IDs.ACCESSORY_Aquaring_Hat] = "aquaring_hat",

To

[ACCESSORY_IDs.ACCESSORY_Aquaring_Hat] = "_aquaring_hat",

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.