Jump to content
  • 0
Sign in to follow this  
leertaste

custom robe showing wrong

Question

hey guys, i tried to add some custom lower gears as garment.

on lower type with correct setup it looks like this:
OWwEyMs.png

but when i try to configure it as a garment, it looks like this:
NMfIbDS.png
vzaPbeZ.png

my configuration:

iteminfo.lua:

	[51000] = {
		unidentifiedDisplayName = "Accessory",
		unidentifiedResourceName = "Black_Scarf",
		unidentifiedDescriptionName = {
			"Unidentified item, can be identified with [Magnifier].",
		},
		identifiedDisplayName = "Black Scarf",
		identifiedResourceName = "Black_Scarf",
		identifiedDescriptionName = {
			"^008000[ Black Scarf ]^000000",
			"Ofiicial Yume-Ro costume Item!",
			"Class :^777777 Headgear^000000",
			"Defense :^777777 0^000000",
			"Equipped on :^777777 Garment^000000",
			"Weight :^777777 0^000000",
			"Required Level :^777777 1^000000",
		},
		slotCount = 0,
		ClassNum = 100
	},

spriterobename.lub:

RobeNameTable = {
	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = "Black_Scarf",
}

RobeNameTable_Eng = {
	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = "Black_Scarf",
}

spriterobeid.lub:

SPRITE_ROBE_IDs = {
    ROBE_Black_Scarf = 100,
}

item_db2.conf:

{
	Id: 51000
	AegisName: "Black_Scarf"
	Name: "Black Scarf"
	Type: 5
	Loc: 8192
	ViewSprite: 100
	Trade: {
		noselltonpc: true
	}

Data placement:
(following 3 are the same as for lower headgear)
data\sprite\¾ÆÀÌÅÛ
data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection
data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

and:
8TTp8Fw.png

whats missing?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

costume garments will always be behind the character on front view, also there's aonther file related to costume garments on:

data/Lua Files/spreditinfo/2dlayerdir_f.lub

Share this post


Link to post
Share on other sites
  • 0
On 29.10.2017 at 10:53 PM, fxfreitas said:

costume garments will always be behind the character on front view, also there's aonther file related to costume garments on:

data/Lua Files/spreditinfo/2dlayerdir_f.lub

ok fine, i added into 2dlayerdir_f.lub:
 

	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = LAYER_SMALL

the sprite is now shown in front. but it still doesnt fit to the character properly. its shown a little too far down. also when i mount a peco, the scarf is shown inside the peco.. is there another file to edit?

 

Edited by leertaste

Share this post


Link to post
Share on other sites
  • 0

Probably you must have to fix all positions of all jobs on the act files (oppening with act editor and editing each position manually) its like 100+ files to fix, this because costume garments use body as reference and headgears use head as reference.

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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