Ragnarok Crew Discussion
Ragnarok Crew Discussion
Ragnarok Crew Discussion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Ragnarok Crew Discussion

Discuss topics about ways in making/running Ragnarok server and get the required database server/client and also custom made ( Item/Map/Web Template/Monster/and more else).
 
HomeHome  Latest imagesLatest images  RegisterRegister  Log inLog in  

 

 [ PANDUAN ]Adding Custom Items [System\iteminfo.lub]

Go down 
AuthorMessage
AirVine-X
Poring
Poring
AirVine-X


Posts : 62
Join date : 25/02/2013

[ PANDUAN ]Adding Custom Items [System\iteminfo.lub] Empty
PostSubject: [ PANDUAN ]Adding Custom Items [Systemiteminfo.lub]   [ PANDUAN ]Adding Custom Items [System\iteminfo.lub] I_icon_minitimeTue 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
Back to top Go down
https://ro-crew.forumms.net
 
[ PANDUAN ]Adding Custom Items [System\iteminfo.lub]
Back to top 
Page 1 of 1
 Similar topics
-
» [Panduan] Bagaimana untuk setup Ragnarok Online (Server Side Sahaja)
» Recolor Compilation collection 746 custom item
» [Panduan] Video nak set up SQL server
» [Panduan] Cara untuk Diffing
» [Panduan] bagaimana untuk membuat Multiple Servers

Permissions in this forum:You cannot reply to topics in this forum
Ragnarok Crew Discussion :: General Support and Release :: Server Source Support :: Source Support-
Jump to: