custom robe showing wrong

leertaste

New member
Messages
25
Points
0
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?

 
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

 
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?

 

 
Last edited by a moderator:
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.

 
Back
Top