Jump to content
  • 0
0x33

Custom Headgear to Costume?

Question

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

5 answers to this question

Recommended Posts

  • 0

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"

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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.

 

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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