adseej Posted August 1, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 07/06/12 Last Seen: March 3, 2014 Share Posted August 1, 2012 i create spr and act view file how to use it ^^' i have new item data but view item no ? i don't how to use my file i can use spr (drop item) vg.act / vg.spr < item (drop/icon) i can use this headgear(mid) item ( m / f ) < item view i don't know how to use - -' 남_vg.act / 남_vg.spr 여_vg.act / 여_vg.spr 29001,Virtual_guard','Virtual guard',5,,,0,,,,,0xFFFFFFFE,7,2,1024,,,,?view number?,{},{},{} Quote Link to comment Share on other sites More sharing options...
Syouji Posted August 1, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted August 1, 2012 It looks like you're trying to add a shield based item. The naming of the shield sprite .ACT and .SPR can be found here (naming differs based on class). That link also provides the location of where you place your shield. As for the view ID it's based on the following: Shield-type items (List # signifies the sprite it will refer to show): Guard, Novice Guard Buckler Shield, Holy Guard, Evangelist Mirror Shield E.g - Custom Shield utilizing a NON-Custom Sprite 2141,Dwarven_Guard,Dwarven Guard,5,500,,300,,4,,1,0xFFFFFFFF,7,2,32,,0,1,1,{ if(getrefine()>6){ bonus bMdef, 2;}},{},{} - This sprite will appear as a guard Step 1. You MUST utilize an item db # range of the item within 2101~2199. So any of those numbers is perfectly fine to use. (Client hard coded this range for acceptable shields to view) Step 2. The type must be set to armor which is 5. (Shields are armor type equipments) Step 3. The view ID determines the kind of sprite to present. After adding your sprite to the appropriate client side areas you should be good. Since shields don't share the flexibility as weapons do (you can name a weapon sprite file to contain a number which is equal to the item DB number in the acceptable weapon ID range and your weapon will call that specific custom sprite) which I believe is right, you have to replace the pre-existing shields sprites with your own and have it appear there. Again refer to the sprite bible. If I'm wrong on this matter (I haven't personally added a custom shield sprite before) please make sure to correct my mistake. Quote Link to comment Share on other sites More sharing options...
adseej Posted August 2, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 07/06/12 Last Seen: March 3, 2014 Author Share Posted August 2, 2012 not shield it headgear(mid-coutume) item and add new Custom Sprite ex item Detail add in idnum2itemdesctable.txt 29001# new coutume Weight : ^7777770^000000 # item name add in idnum2itemdisplaynametable.txt 29001#Virtual_glasses# item .spr(icon) file add in idnum2itemresnametable.txt 29001#Virtual_glasses# but where i can add or fix view item(number) ex. 2141,Dwarven_Guard,Dwarven Guard,5,500,,300,,4,,1,0xFFFFFFFF,7,2,32,,0,1,1,{ if(getrefine()>6){ bonus bMdef, 2;}},{},{} <<< view number = 1 my add item 29001,Virtual_guard','Virtual guard',5,,,0,,,,,0xFFFFFFFE,7,2,1024,,,,?view number?,{},{},{} type 5 = armor type location equip 1024(costume-headgear-mid) view number ??? <<<< how to use this ex 207 = Cyclop's Eye view 12 = Sunglasses 568 = Sigrun's Wings what i can add my new view number Quote Link to comment Share on other sites More sharing options...
Syouji Posted August 2, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted August 2, 2012 So this is a costume regular headgear? Alright then it really simplifies things up. 1. Open your data / lua files / datainfo / accessoryid.lua 2. Open your data / lua files / datainfo / jobname.lua 3. Follow this guide here: http://rathena.org/wiki/Custom_Items#View_IDs.2C_Having_A_Custom_Item_Without_Xray If you're still confused, the Graphics Support section is filled threads regarding "how to add custom items" so you shouldn't have a problem finding resources to solve your issue. If you're still stuck after all of that, come back to this thread. =) Quote Link to comment Share on other sites More sharing options...
adseej Posted August 2, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 07/06/12 Last Seen: March 3, 2014 Author Share Posted August 2, 2012 (edited) Ohhhh! thanks add in lua file on I get it it work Edited August 2, 2012 by adseej Quote Link to comment Share on other sites More sharing options...
Question
adseej
i create spr and act view file how to use it ^^'
i have new item data but view item no ? i don't how to use my file
i can use spr (drop item)
vg.act / vg.spr < item (drop/icon) i can use this
headgear(mid) item ( m / f ) < item view i don't know how to use - -'
남_vg.act / 남_vg.spr
여_vg.act / 여_vg.spr
29001,Virtual_guard','Virtual guard',5,,,0,,,,,0xFFFFFFFE,7,2,1024,,,,?view number?,{},{},{}
Link to comment
Share on other sites
4 answers to this question
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.