Froost Posted June 19, 2021 Group: Donators Topic Count: 20 Topics Per Day: 0.01 Content Count: 122 Reputation: 140 Joined: 07/28/18 Last Seen: Wednesday at 03:54 PM Share Posted June 19, 2021 (edited) 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 idGreen = collection/act/spr file nameBlue = Title namePurple = 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: Now I’m going to right click on any item or id and select the option COPY TO… 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 If you notice the Archangel Wings VIEWID is the 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: In YML it looked like this, after saving: 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: Ãʺ¸ÀÚ_³² first let’s paste the textures, Collection folder in place data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\ folder item inventory = data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\ Now we can go to the Sprites, Drop inventory = data\sprite\¾ÆÀÌÅÛ\ 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. in-game looked like this on @item 250001 with the class @job 0 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 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 January 9, 2022 by Froost removed background black. 6 Quote Link to comment Share on other sites More sharing options...
ffman22 Posted July 17, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 29 Reputation: 2 Joined: 08/11/12 Last Seen: December 24, 2021 Share Posted July 17, 2021 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. like this example that I am using a normal item. Quote Link to comment Share on other sites More sharing options...
Froost Posted July 21, 2021 Group: Donators Topic Count: 20 Topics Per Day: 0.01 Content Count: 122 Reputation: 140 Joined: 07/28/18 Last Seen: Wednesday at 03:54 PM Author Share Posted July 21, 2021 (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. 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 July 21, 2021 by Froost Quote Link to comment Share on other sites More sharing options...
ffman22 Posted July 21, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 29 Reputation: 2 Joined: 08/11/12 Last Seen: December 24, 2021 Share Posted July 21, 2021 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. Quote Link to comment Share on other sites More sharing options...
guimaraessilva10 Posted November 7, 2022 Group: Members Topic Count: 8 Topics Per Day: 0.01 Content Count: 11 Reputation: 0 Joined: 09/08/22 Last Seen: November 16, 2022 Share Posted November 7, 2022 boa tarde frost gostei desse tutorial seu mais eu vi que ai tem um problema nem toda as asas tem masculino e feminho as sprites como fazer pra instalar essas asas porque eu fiz a mesma coisa de uma asa normal pra instalar equipou certo mais quando eu fui colocar aquelas asas de anjo gabriel entre outros anjos quando eu clico no cliente pra entrar da erro pede pra add masculino e feminino ja procurei em todo sites e nao acho vc poderia me ajudar a falar o local que tenho que instalar esses tipos de asas? Quote Link to comment Share on other sites More sharing options...
Froost Posted November 16, 2022 Group: Donators Topic Count: 20 Topics Per Day: 0.01 Content Count: 122 Reputation: 140 Joined: 07/28/18 Last Seen: Wednesday at 03:54 PM Author Share Posted November 16, 2022 On 11/7/2022 at 5:57 PM, guimaraessilva10 said: boa tarde frost gostei desse tutorial seu mais eu vi que ai tem um problema nem toda as asas tem masculino e feminho as sprites como fazer pra instalar essas asas porque eu fiz a mesma coisa de uma asa normal pra instalar equipou certo mais quando eu fui colocar aquelas asas de anjo gabriel entre outros anjos quando eu clico no cliente pra entrar da erro pede pra add masculino e feminino ja procurei em todo sites e nao acho vc poderia me ajudar a falar o local que tenho que instalar esses tipos de asas? just duplicate the file apenas duplique o arquivo Quote Link to comment Share on other sites More sharing options...
papapang Posted December 15, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 08/13/18 Last Seen: March 14 Share Posted December 15, 2023 Hi brother @Froost thanks for the guide. just want to ask. How did you make this name for the item sprite? I'm having trouble converting english sprite names to this type of format. Quote Link to comment Share on other sites More sharing options...
Melk3000 Posted July 30, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 12 Reputation: 0 Joined: 12/27/14 Last Seen: March 19 Share Posted July 30, 2024 On 11/16/2022 at 12:48 PM, Froost said: just duplicate the file apenas duplique o arquivo do you know why renewal dont ask .spr file in ·Îºê folder? in prerenewal does Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.