0x33 0 Posted October 22, 2023 Hi, i added a custom headgear.. everything working.. how am i able to set it as costume instead of normal headgear? item_db.conf { Id: 5000001 AegisName: "Dark_Valkyrie_Helm" Name: "Dark Valkyrie Helm" Type: "IT_ARMOR" Buy: 20 Weight: 100 Loc: "EQP_HEAD_TOP" Refine: false ViewSprite: 3001 Script: <" bonus bAspd,10; bonus bVariableCastrate,10; bonus bFixedCast,-5000; "> }, (initial thought was to set Loc to "EQP_COSTUME_HEAD_TOP". But when i do that, i cant wear it at all. Double Click on it = no function) iteminfo.lua [5000001] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "Ä.", unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." }, identifiedDisplayName = "Dark Valkyrie Helm", identifiedResourceName = "Dark_Valkyrie_Helm", identifiedDescriptionName = { "Dark Valkyrie Helm", "________________________", "Increase Aspd", "________________________", "^0000CCType:^000000 Headgear", "^0000CCDefense:^000000 0", "^0000CCPosition:^000000 Upper", "^0000CCWeight:^000000 100", "^0000CCRefineable:^000000 No", "________________________", "^0000CCRequirement:^000000 None" }, slotCount = 0, ClassNum = 3001, costume = true }, Thank You 🙂 Quote Share this post Link to post Share on other sites
0 KirieZ 88 Posted October 22, 2023 Costumes should go into the costumes equipment slot. Not on normal equipment slot. Try this: Change: Loc: "EQP_HEAD_TOP" To: Loc: "EQP_COSTUME_HEAD_TOP" Quote Share this post Link to post Share on other sites
0 0x33 0 Posted October 22, 2023 hi, thanks for your response but thats what i meant. if i change eqp_head_top to eqp_costume_head_top i cant use the item in inventory. no response if i double click it. is there something else i need to do? Quote Share this post Link to post Share on other sites
0 KirieZ 88 Posted October 22, 2023 Oh, sorry, I misread that part. Hmm, it does look correct to me. I tried copying to my own server and it works. Which client version are you using? One thing I think it is worth trying is to use an ItemId < 32k. Although it shouldn't be an issue, but just to rule out the client doing something weird. Older clients used to support only up to 32k item ids and I think there was a period of time where ETC items could have IDs > 32k but equipments could not (I may be wrong). so I would test a smaller id just to rule this out. Quote Share this post Link to post Share on other sites
0 0x33 0 Posted October 24, 2023 thank you,! you were right item id only up to 32k for costumes(head).. any way to patch this? for costumes too like for headgears? Quote Share this post Link to post Share on other sites
0 KirieZ 88 Posted October 25, 2023 I think clients from 2019 and up supports up to ID 2 billion, even for costumes. I am not sure which client you are using, but newer clients should be the only real option. 1 0x33 reacted to this Quote Share this post Link to post Share on other sites
Hi,
i added a custom headgear.. everything working.. how am i able to set it as costume instead of normal headgear?
item_db.conf
{ Id: 5000001 AegisName: "Dark_Valkyrie_Helm" Name: "Dark Valkyrie Helm" Type: "IT_ARMOR" Buy: 20 Weight: 100 Loc: "EQP_HEAD_TOP" Refine: false ViewSprite: 3001 Script: <" bonus bAspd,10; bonus bVariableCastrate,10; bonus bFixedCast,-5000; "> },
(initial thought was to set Loc to "EQP_COSTUME_HEAD_TOP". But when i do that, i cant wear it at all. Double Click on it = no function)
iteminfo.lua
[5000001] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "Ä.", unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." }, identifiedDisplayName = "Dark Valkyrie Helm", identifiedResourceName = "Dark_Valkyrie_Helm", identifiedDescriptionName = { "Dark Valkyrie Helm", "________________________", "Increase Aspd", "________________________", "^0000CCType:^000000 Headgear", "^0000CCDefense:^000000 0", "^0000CCPosition:^000000 Upper", "^0000CCWeight:^000000 100", "^0000CCRefineable:^000000 No", "________________________", "^0000CCRequirement:^000000 None" }, slotCount = 0, ClassNum = 3001, costume = true },
Thank You 🙂
Share this post
Link to post
Share on other sites