AirVine-X Poring
Posts : 62 Join date : 25/02/2013
| Subject: [ PANDUAN ]Adding Custom Items [Systemiteminfo.lub] Tue Feb 26, 2013 11:32 am | |
| 1) Fail yang anda perlu disimpan dalam format lub yang sepatutnya atau tidak anda akan mendapatini --> http://svn6.assembla.com/svn/ClientSide/Lua_Project/System/itemInfo.lua - Quote :
- ni terus dalam root direktori RO anda,Makanya harus ---> RO \ System \ iteminfo.lub.
2) Apabila anda membuka fail tersebut, anda akan melihat format sepatutnya berada di dengan iteminfo.lub, id(num)(res), description, and itemslottable txt akan hilang . Dan ini adala sia-sia,walau bagaimanapun anda masih perlu untuk menambah baris dalam fail lub accname dan accessoryid jadi jangan padam mereka. Cukup banyak anda perlu untuk memindahkan ke atas kandungan fail-fail txt yang hilang ke iteminfo.lub, sekurang-kurangnyacustom mana-mana yang anda mahu tambah. 3) admin higlightkan yer.. - Quote :
- [itemID] = {
unidentifiedDisplayName = "read the table name", unidentifiedResourceName = "sprite/act/texture filename when unidentified", unidentifiedDescriptionName = { "read", "the", "table", "name", } identifiedDisplayName = "read the table name", identifiedResourceName = "sprite/act/texture filename when identified", identifiedDescriptionName = { "read", "the", "table", "name", } slotCount = 0~4, ClassNum = viewID if headgear/weapon/robes(garment) put 0 if not for headgear's viewID see accessoryid.lua for weapon's viewID see weapontable.lua for garment's viewID see spriterobeid.lua } Oleh itu, kita akan melakukan contoh: admin akan menambah custom pada line akhir selapas 25008 iaitu --> - Quote :
- [25008] = {
unidentifiedDisplayName = "Beast Powder Box", unidentifiedResourceName = "끈적끈적한독box", unidentifiedDescriptionName = { "Beast_Powder_Box", }, identifiedDisplayName = "Beast Powder Box", identifiedResourceName = "끈적끈적한독box", identifiedDescriptionName = { "Beast_Powder_Box", }, slotCount = 0, ClassNum = 0 }, "Beast_Powder_Box", }, slotCount = 0, ClassNum = 0 }, dan ia harus kelihatan seperti ini --> - Quote :
- --Customs
[26000] = { unidentifiedDisplayName = "Angeling Wing", unidentifiedResourceName = "angelingwing", --Ini harus sepadan apa yang di idnumrestable untuk sprite unidentifiedDescriptionName = { "Beast_Powder_Box", }, identifiedDisplayName = "Angeling Wing", identifiedResourceName = "angelingwing", identifiedDescriptionName = { "A Custom Item", "Looks like an angeling", }, slotCount = 2, --Berapa banyak slot untuk muncul dalam clientside sahaja ClassNum = 2500 --ID yang digunakan daripada accessoryID }, - Code:
-
HARUS DI INGAT mereka perlu berada dalam format lub.file bukan menjadi dalam Lua file | |
|