hyuna Posted April 22, 2013 Posted April 22, 2013 (edited) Hello everyone!!! may I request for a guide on how to add a custom card and the files to edit?? THX Edited April 28, 2013 by hyuna 1 Quote
Capuche Posted April 26, 2013 Posted April 26, 2013 Server side. item_db.txt ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } ID,Name card,Name card,6,20,,10,,,,,,,,Localisation,,,,,{},{},{} Put an unique ID, a name not necessarily unique and the localisation ( nb. where you insert the card) For Localisation : Loc: Equipment's placement. Values are: 2^8 256 = Upper Headgear 2^9 512 = Middle Headgear 2^0 001 = Lower Headgear 2^4 016 = Armor 2^1 002 = Weapon 2^5 032 = Shield 2^2 004 = Garment 2^6 064 = Footgear 2^3 008 = Accessory 1 2^7 128 = Accessory 2 2^10 1024 = Costume Top Headgear 2^11 2048 = Costume Mid Headgear 2^12 4096 = Costume Low Headgear 2^13 8192 = Costume Garment/Robe Client side. System/itemInfo.lub data/cardprefixnametable.txt for prefix equipment name when you insert your card in equipment (optionnal) data/num2cardillustnametable.txt if you want an illustration of your card (optionnal) data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/cardbmp/ to put the illustration (optionnal) itemInfo.lub Just follow the typo. Change the Display name, the description for identified/unindentified item. That's all. [28000] = { unidentifiedDisplayName = "Card", unidentifiedResourceName = "À̸§¾ø´ÂÄ«µå", unidentifiedDescriptionName = { "Your description", "Item Class: ^777777Card^000000", "Equip on: ^777777Garment^000000", "Weight: ^7777771^000000", }, identifiedDisplayName = "Custom Card", identifiedResourceName = "À̸§¾ø´ÂÄ«µå", identifiedDescriptionName = { "Your description", "Item Class: ^777777Card^000000", "Equip on: ^777777Garment^000000", "Weight: ^7777771^000000", }, slotCount = 0, ClassNum = 0 }, cardprefixnametable.txt Add in your file a line following the typo Card ID#Prefix# num2cardillustnametable.txt Add in your file a line following the typo Card ID#Name in cardbmp# cardbmp/ Add your illustration in bmp format 300x400 4 Quote
iraciz Posted April 26, 2013 Posted April 26, 2013 YOU FORGOT THE FACT THAT SOME DATA FILES FOR EXAMPLE KRO, BY DEFAULT DON´T CAME WITH THE NUM2CARDILLUSTNAMETABLE INSIDE THE DATA FOLDER there you go my num2cardillustnametable just in case you dont find it in your data file! http://www.mediafire.com/view/?nidf2f64cf8pqln this will save you the time and the job of downloading a grftool to open the original kro data and extract the file. Quote
LatSo Posted May 10, 2013 Posted May 10, 2013 after i done the guide then type in game, i got tanos katar? Quote
LatSo Posted May 29, 2013 Posted May 29, 2013 when I @item the card, i get tanos katar instead. I tried search tanos katar but there is no such item so I dont think why I have this problem Quote
Neo-Mind Posted May 29, 2013 Posted May 29, 2013 For adding cards you need to follow same rules as adding any other custom items. The only extra thing to look for are specifying the prefix name and illustration bmp file (which is already explained above). if you are getting tanos katar it means you have specified wrong display name in iteminfo.lua (or *displaynametable.txt files if you are using older clients). We can help you better if we see snapshot of item_db & iteminfo. Quote
LatSo Posted May 31, 2013 Posted May 31, 2013 For adding cards you need to follow same rules as adding any other custom items. The only extra thing to look for are specifying the prefix name and illustration bmp file (which is already explained above). if you are getting tanos katar it means you have specified wrong display name in iteminfo.lua (or *displaynametable.txt files if you are using older clients). We can help you better if we see snapshot of item_db & iteminfo. Im using 20120410aragexe. Do i need to edit iteminfo.lua? Quote
Neo-Mind Posted May 31, 2013 Posted May 31, 2013 nope that version uses the txt files not iteminfo.lua Quote
LatSo Posted May 31, 2013 Posted May 31, 2013 nope that version uses the txt files not iteminfo.lua then I need to edit idnum2itemdisplaynametable? Do I need to put my custom card on accessoryid and accname? Quote
Neo-Mind Posted May 31, 2013 Posted May 31, 2013 nope those are for headgears. Please read this in full > http://rathena.org/wiki/Custom_Items Quote
iraciz Posted September 3, 2013 Posted September 3, 2013 hehe, thanks this guide i could add my own custom cards! just look at my profile picture! made by myself!!! Quote
chromus28 Posted December 7, 2013 Posted December 7, 2013 Server side. item_db.txt ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } ID,Name card,Name card,6,20,,10,,,,,,,,Localisation,,,,,{},{},{} Put an unique ID, a name not necessarily unique and the localisation ( nb. where you insert the card) For Localisation : Loc: Equipment's placement. Values are: 2^8 256 = Upper Headgear 2^9 512 = Middle Headgear 2^0 001 = Lower Headgear 2^4 016 = Armor 2^1 002 = Weapon 2^5 032 = Shield 2^2 004 = Garment 2^6 064 = Footgear 2^3 008 = Accessory 1 2^7 128 = Accessory 2 2^10 1024 = Costume Top Headgear 2^11 2048 = Costume Mid Headgear 2^12 4096 = Costume Low Headgear 2^13 8192 = Costume Garment/Robe Client side. System/itemInfo.lub data/cardprefixnametable.txt for prefix equipment name when you insert your card in equipment (optionnal) data/num2cardillustnametable.txt if you want an illustration of your card (optionnal) data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/cardbmp/ to put the illustration (optionnal) itemInfo.lub Just follow the typo. Change the Display name, the description for identified/unindentified item. That's all. [28000] = { unidentifiedDisplayName = "Card", unidentifiedResourceName = "À̸§¾ø´ÂÄ«µå", unidentifiedDescriptionName = { "Your description", "Item Class: ^777777Card^000000", "Equip on: ^777777Garment^000000", "Weight: ^7777771^000000", }, identifiedDisplayName = "Custom Card", identifiedResourceName = "À̸§¾ø´ÂÄ«µå", identifiedDescriptionName = { "Your description", "Item Class: ^777777Card^000000", "Equip on: ^777777Garment^000000", "Weight: ^7777771^000000", }, slotCount = 0, ClassNum = 0 }, cardprefixnametable.txt Add in your file a line following the typo Card ID#Prefix# num2cardillustnametable.txt Add in your file a line following the typo Card ID#Name in cardbmp# cardbmp/ Add your illustration in bmp format 300x400 uhm excuse me where can i find that info.lub?? and whats should i put on cardbmp? Quote
HelloKekette Posted March 26, 2014 Posted March 26, 2014 Salut Capuche ! Je n'ai pas le num2cardillustnametable.txt . Faut-il en créer un ou en trouver un ? Est-ce important de renseigner le préfixe de la card ? Y'a un formatage précis pour le .bmp (or la dimension) ? J'ai essayé tes manips, mais l'illustration n'apparait pas IG... Quote
Question
hyuna
Hello everyone!!! may I request for a guide on how to add a custom card and the files to edit?? THX
Edited by hyuna17 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.