Jump to content
Froost

[GUIDE] ROBE/WINGS Installation Guide (2021)

Recommended Posts

Many ask me for support, although there is a guide here from another member on the forum., for some reason this guide, besides being outdated, has files that don't exist (iteminfo.lub with another name) and it confuses a lot of people 

Quick guide to hands-on teaching you how to install garment on your rAthena emulator and Client-side

Note: The garments are not considerable common looks, so they do not use Accessoryid.lub and accname.lub.

Features we’re going to use:
• iteminfo.lua
• SpriteRobeId.lub
• SpriteRobeName.lub
• item_db_equip.yml
• 1 image Collection
• 1 bmp image for inventory
• 1 spr and act of item when dragged
• 1 spr and act of the equipment (male or female)

STEP 1

First let’s add the name we want to the client-side System/iteminfo.lub

Orange = Item id
Green = collection/act/spr file name
Blue = Title name
Purple = item description

[250001] = {
     unidentifiedDisplayName = "Unidentified Garment",
     unidentifiedResourceName = "후드",
     unidentifiedDescriptionName = {
     "Can be identified by using a ^990099Magnifier^000000."
     },
     identifiedDisplayName = "Super Angel Wing",
     identifiedResourceName = "Angel_wing",
     identifiedDescriptionName = {
     "White wings of a holy Archangel.",
     "____________",
     "^0000CCType:^000000 Garment",
     "^0000CCDefense:^000000 18",
     "^0000CCWeight:^000000 20",
     "____________",
     "^0000CCRequirement:^000000 None"
     },
     slotCount = 1,
     ClassNum = 1,
     costume = false
},

• In the print it will look like this:
image-1.png?resize=843%2C799&ssl=1

STEP 2

Add file name in data\luafiles514\lua files\Datainfo\SpriteRobeName.lub

search for RobeNameTable, and at the end of the last robe you add yours, like this:

RobeNameTable = {
...
[SPRITE_ROBE_IDs.ROBE_C_Sakura_Wing] = "C_Sakura_Wing",
[SPRITE_ROBE_IDs.ROBE_Angel_Wing] = "Angel_Wing",
}

If yours has this RobeNameTable_Eng, also put it:

RobeNameTable_Eng = {
...
[SPRITE_ROBE_IDs.ROBE_C_Sakura_Wing] = "C_Sakura_Wing",
[SPRITE_ROBE_IDs.ROBE_Angel_Wing] = "Angel_Wing",
}

Now let’s go to SpriteRobeId.lub, you will find something like:

ROBE_C_BlackBear_Back_TW = 81,
ROBE_Calabash = 82,
ROBE_C_Sakura_Wing = 83

Just add one more id, remember to add the comma in the previous one. (marked in blue)

ROBE_C_BlackBear_Back_TW = 81,
ROBE_Calabash = 82,
ROBE_C_Sakura_Wing = 83,
ROBE_Angel_Wing = 84

The bureaucratic part is almost over… now you need to open your item_db.yml, I particularly love using tokei’s SERVER DATA BASE EDITOR, if you don’t know what it is, you can click in link here or direct download here. In this tutorial I’m going to use SDE, but I’ll also show you how the result will look in .YML if you don’t want to download and just copy it.

First I looked up the ID of the item I want to make, to make sure it doesn’t have it yet.

image-2.png?resize=515%2C434&ssl=1

Now I’m going to right click on any item or id and select the option COPY TO…

image-4.png?resize=281%2C126&ssl=1

Obs: the ideal is you already get the id of some wing, for example the ArchAngel which is the 2573 as we are going to make a wing, it can be the same as it. (if I were to make a sword for example or something related in the back, it could be Thanatos Sword as an example)

and you put the new id, in the case of the example it is the 250001

image-5.png?resize=276%2C312&ssl=1

If you notice the Archangel Wings VIEWID is the 1:

image-6.png?resize=204%2C50&ssl=1

So let’s put the ID of our custom, which is 84, the ID we chose in the file SpriteRobeID.lub

Staying like this in the Server data base:

image-7.png?resize=980%2C320&ssl=1

In YML it looked like this, after saving:

image-8.png?resize=325%2C259&ssl=1


Now the bureaucratic part is definitely over, let’s just copy the files to the data folder and connect.

STEP 3

Let’s go to the files now, the paths we’re going to use is:

inventory= data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\
Collection = data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\
drag inventory = data\sprite\¾ÆÀÌÅÛ\
wing (Male) = data\sprite\·Îºê\Angel_Wing\³²\
wing (Female) = data\sprite\·Îºê\Angel_Wing\¿©\

Note: Currently the client only reads the file by the name of the class, I’m going to use the LEARN (novice) class in the example, but ideally you use a garment generator and generate the same file for all classes (I think this one can be a good gerator *I haven’t tested it yet*

But let’s test only with 1 class to test, as I said, I’ll use the apprentice, the sprite name is: Ãʺ¸ÀÚ_³²

image-9.png?resize=665%2C214&ssl=1

first let’s paste the textures,
Collection folder in place data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\

image-10.png?resize=332%2C191&ssl=1

folder item inventory = data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\

image-11.png?resize=247%2C87&ssl=1

Now we can go to the Sprites,
Drop inventory = data\sprite\¾ÆÀÌÅÛ\

image-12.png?resize=225%2C133&ssl=1

wing (male) = data\sprite\·Îºê\Angel_Wing\³²\
Note that the filename goes one folder before, and in the file goes the class name, this can be repeated for the female folder.

image-15.png?resize=253%2C163&ssl=1

in-game looked like this on @item 250001 with the class @job 0

login_tUZMfIChLe.png?resize=529%2C235&ss

 

Some observations:
1 – I had to change the SDE from (4) to 8192 to test if the robe custom was right, so that’s why it’s in the look tab and not the Equip tab, but I saw that it doesn’t make a difference, so disregard it.

2 – If the Wing appears on the ALT+Q but does not appear on the character as in this image below

login_MVSCpWdRqs.png?resize=443%2C210&ss

you probably don’t have the id in transparentitem.lub is an extra file that controls the transparency of the item, this file’s default for non-existent ids is 0 (transparent)
so you just open it and so here:

84 = is ID

{ 84, 255, 255, 0 },

Edited by Froost
  • Upvote 3
Link to comment
Share on other sites

hello, thank you for the guide I did all of it, but my sprite didnt show up in the equip menu or in the character.
and I need that the sprite show in front of the character sprite.

image.png.9e79f804b7cf1370c2ddfc25bdc36c5e.png

like this example that I am using a normal item.

Link to comment
Share on other sites

Posted (edited)
On 7/17/2021 at 7:29 PM, ffman22 said:

hello, thank you for the guide I did all of it, but my sprite didnt show up in the equip menu or in the character.
and I need that the sprite show in front of the character sprite.

image.png.9e79f804b7cf1370c2ddfc25bdc36c5e.png

like this example that I am using a normal item.

garment= back, there is no cape that you use in front.

it looks like the 2dlayerdir file in the lua files you can set to bring forward, but I haven't tested it. (zell tip)

you can use headgear to go ahead as an option.

Edited by Froost
Link to comment
Share on other sites

8 hours ago, Froost said:

garment= back, there is no cape that you use in front.

it looks like the 2dlayerdir file in the lua files you can set to bring forward, but I haven't tested it. (zell tip)

you can use headgear to go ahead as an option.

we are using head gear for the moment, but we want to use the system of the garmet, that with one item it use different act for each class so in that way the same item can match the animation with each class.

Link to comment
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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