xienne15 5 Posted July 8, 2013 As i search in the forum, there is no guide how to make a custom weapon, the wiki is meant for the 2012 clients. since we are now on 2013 client,it uses lua to change descriptions etc. Is there a guide for it? http://herc.ws/wiki/Custom_weapons Quote Share this post Link to post Share on other sites
0 Xgear 44 Posted July 8, 2013 I am not that familiar with the iteminfo format, however the guide applies pretty much the same, except instead of editing 7 client files you just need to add one entry Open your Lua filesiteminfo.lua [5013] = { unidentifiedDisplayName = "Head Gear", <--- Item Name when not identified (num2itemdisplaynametable.txt value) unidentifiedResourceName = "¸®º»", <---- Sprite used when not identified (num2itemresnametable.txt value) unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier].", <---- Description used when not identified (num2itemdesctable.txt value) }, identifiedDisplayName = "Lord Kaho's Horn",<--- identified name (idnum2itemdisplaynametable.txt value) identifiedResourceName = "·ÎµåÄ«È£ÀÇ»Ô", <---- identified sprite (idnum2itemresnametable.txt value) identifiedDescriptionName = { "A special headgear created specifically for Lord Kaho ... Whoever he is.", <--- identified description (idnum2itemdesctable.txt value) "STR + 5, INT + 5", "VIT + 10, AGI + 10", "LUK + 20, MDEF + 10", "Class :^777777 Headgear^000000", "Defense :^777777 30^000000", "Equipped on :^777777 Upper^000000", "Weight :^777777 10^000000", "Applicable Job :^777777 Every Job^000000", }, slotCount = 4, <-- amount of slots (itemslotcounttable.txt value) ClassNum = 99 <--- No idea... Item type I'd guess? O.o Quote Share this post Link to post Share on other sites
0 Neo-Mind 264 Posted July 8, 2013 From what i understand ClassNum is the viewid you specify in item_db.txt. so putting the bow's view id value there ideally should show the correct bow sprite. Quote Share this post Link to post Share on other sites
0 xienne15 5 Posted July 8, 2013 The thing is in 2013 clients, all item weapon shows default sprite. What i mean is if i wear a Rudra's Bow it will still appear as brown ordinary bow,if i wear naght twin sword,it will look like a normal sword in sprite. Every weapon show as what they are...in short all bows shows as normal bow ,all swords shows normal swords no matter what sword sprite they must be in real. http://herc.ws/board/topic/1379-all-weapon-sprite-showing-default/ and i found another topic about it too. http://rathena.org/board/topic/73980-all-weapon-sprites-default/ Quote Share this post Link to post Share on other sites
As i search in the forum, there is no guide how to make a custom weapon, the wiki is meant for the 2012 clients. since we are now on 2013 client,it uses lua to change descriptions etc. Is there a guide for it?
http://herc.ws/wiki/Custom_weapons
Share this post
Link to post
Share on other sites