3MrcRO - Development TEAM
Selamat Datang Di 3MrcRO Develpment TeaM
Disini Kalian Bebas Belajar Tentang Ragnarok Private Server. Mari Kita Bangun Forum Ini Bersama"


- Admin -
3MrcRO - Development TEAM
Selamat Datang Di 3MrcRO Develpment TeaM
Disini Kalian Bebas Belajar Tentang Ragnarok Private Server. Mari Kita Bangun Forum Ini Bersama"


- Admin -
3MrcRO - Development TEAM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

3MrcRO - Development TEAM

Ragnarok - Support Board
 
IndeksLatest imagesPencarianPendaftaranLogin

 

 Tutorial Membuat Custom ITEM

Go down 
3 posters
PengirimMessage
Admin
Admin



Jumlah posting : 46
Join date : 23.02.10
Age : 32
Lokasi : Surabaia - Indonesia

Tutorial Membuat Custom ITEM Empty
PostSubyek: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeTue Aug 10, 2010 9:03 pm

Pertama untuk menambah atau memasukan barang atau custom item ke dalam data file yang diperlukan ialah

Code:
tem_db2.txt

contoh:
mulakan item IDs dari 18000

item_db2.txt mempunyai persamaan format dengan item_db.txt seperti di bawah ini,
QUOTE
// Items Database
//
// Structure of Database:
// ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
//


CODE
ID: Item id

AegisName: Server name to reference the item in scripts and lookups,
          should use no spaces.

Name: Name in english for displaying as output for @ and script commands.

Type:
0 Healing item.
2 Usable item.
3 Etc item
4 Weapon
5 Armor/Garment/Boots/Headgear
6 Card
7 Pet egg
8 Pet equipment
10 Ammo (Arrows/Bullets/etc)
11 Usable with delayed consumption (item is lost from inventory
 after selecting a target, for use with skills and pet lures)

Buy: Default buying price. When not specified, becomes double the sell price.

Sell: Default selling price. When not specified, becomes half the buy price.

Weight: Item's weight. Each 10 is 1 weight.

ATK: Weapon's attack

DEF: Armor's defense

Range: Weapon's attack range

Slots: Amount of slots the item possesses.

Job: Equippable jobs. Uses the following bitmask table:

(S.) Novice (2^00): 0x00000001
Swordman    (2^01): 0x00000002
Mage        (2^02): 0x00000004
Archer      (2^03): 0x00000008
Acolyte    (2^04): 0x00000010
Merchant    (2^05): 0x00000020
Thief      (2^06): 0x00000040
Knight      (2^07): 0x00000080
Priest      (2^08): 0x00000100
Wizard      (2^09): 0x00000200
Blacksmith  (2^10): 0x00000400
Hunter      (2^11): 0x00000800
Assassin    (2^12): 0x00001000
Unused      (2^13): 0x00002000
Crusader    (2^14): 0x00004000
Monk        (2^15): 0x00008000
Sage        (2^16): 0x00010000
Rogue      (2^17): 0x00020000
Alchemist  (2^18): 0x00040000
Bard/Dancer (2^19): 0x00080000
Unused      (2^20): 0x00100000
Taekwon    (2^21): 0x00200000
StarGladi  (2^22): 0x00400000
Soul Linker (2^23): 0x00800000
Gunslinger  (2^24): 0x01000000
Ninja      (2^25): 0x02000000
All Jobs      : 0xFFFFFFFFF

Upper: Equippable upper-types. Uses the following bitmasks:
1: Normal jobs
2: Upper jobs
4: Baby jobs

Gender: 0 is female, 1 is male, 2 for both.

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

wLV: Weapon level.

eLV: Base level required to be able to equip.

Refineable: 1 if the item can be refined, 0 otherwise.

View: For normal items, defines a replacement view-sprite for the item (eg:
    Making apples look like apple juice). The special case are weapons
    and ammo where this value indicates the weapon-class of the item.

For Type (4) weapons, the view IDs are:
 0: bare fist
 1: Daggers
 2: One-handed swords
 3: Two-handed swords
 4: One-handed spears
 5: Two-handed spears
 6: One-handed axes
 7: Two-handed axes
 8: Maces
 9: Unused
 10: Staves
 11: Bows
 12: Knuckles
 13: Musical Instruments
 14: Whips
 15: Books
 16: Katars
 17: Revolvers
 18: Rifles
 19: Gatling guns
 20: Shotguns
 21: Grenade launchers
 22: Fuuma Shurikens

For Type (5 & 10) ammo, the view IDs are:
 1: Arrows
 2: Throwable daggers
 3: Bullets
 4: Shells
 5: Grenades
 6: Shuriken
 7: Kunai

Script: Script to execute when the item is used/equipped.

OnEquip_Script: Script to execute when the item is equipped.
              Warning, not all item bonuses will work here as expected.

OnUnequip_Script: Script to execute when the item is unequipped.
                Warning, not all item bonuses will work here as expected.


Code:
Hasilnya script item kelihatan seperti ini
CODE
18200,Nama_Item,Nama Item,5,,10,100,,4,,4,0xFFFFFFFF,7,2,1,,1,1,400,{},{},{}

Code:
Ringkasan,
ID adalah 18200, dipakai di kepala, dijual dengan harga 10z, berat adalah 10, 4 def, mempunyai 4 slot , boleh kedua-dua jantina memakainya, View ID adalah 400


Code:
Sekarang anda mestilah memasukkan sprite custom item (file .spr .act) ke dalam folder ini:

data\sprite\¾Ç¼¼»ç¸®\¿© (Perempuan)
data\sprite\¾Ç¼¼»ç¸®\³² (lelaki)
data\sprite\¾ÆÀÌÅÛ (drop sprite)

Masukkan gambar di dalam colection folder, INGAT nama gambar (file .bmp) mestilah sama seperti nama sprite (file .spr .act).

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection (file gambar fomat BMP 256 colors dan bersaiz 75x100)
data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item (file gambar fomat BMP 256 colors dilihat dalam inventory, bersaiz 24x24)

Edit beberapa file di dalam data folder seperti di bawah ini:

Code:
itemslotcounttable.txt (card slot untuk equipment saja, max 4 slot)
CODE
18200#4#


Code:
idnum2itemresnametable.txt (abaikan .spr atau .act)
CODE
18200#_NamaFileSprite#


Code:
num2itemresnametable.txt (abaikan .spr atau .act)
CODE
18200#_NamaFileSprite#


Code:
Membuat viewID:

visionary_tab.txt atau clarity_tab.txt (X-RAY packet version 7)
tambahkan seperti ini di bawah:
QUOTE

*_°í±Û
!400
_NamaFileSprite
_NamaFileSprite
*_°í±Û

!400 = mulakan view ID pada nombor 400.
*_°í±Û = berhenti view ID.
_NamaFileSprite akan mendapat view ID = 400 dan baris selepasnya ialah view ID = 401 dan seterusnya sehingga nama file sprite sebelum *_°í±Û.

Code:
idnum2itemdisplaynametable.txt
CODE
18200#Nama_Item#


Code:
num2itemdisplaynametable.txt.
CODE
18200#Nama_Item#


Code:
idnum2itemdesctable.txt
CODE
18200#
Di sini masukkan penerangan item.
#


Code:
num2itemdesctable.txt.
CODE
18200#
Di sini masukkan penerangan item.
#


CREDIT To Fariq & OnNplay Dari ROCrew
Kembali Ke Atas Go down
https://3mrcro.indonesianforum.net
volance




Jumlah posting : 2
Join date : 23.07.10

Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeWed Aug 18, 2010 5:20 pm

ada yang punya sprite adder yang lain gak selain versi sprites addver v1.32-en (dapet dari forum eathena)

coz spirtes adder yang saya pake ini masih pake clarity.txt

sedangkan xray terbaru sudah menggunakan visionary_tab.txt

mohon bantuannya thx
Kembali Ke Atas Go down
Admin
Admin



Jumlah posting : 46
Join date : 23.02.10
Age : 32
Lokasi : Surabaia - Indonesia

Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeMon Aug 23, 2010 11:17 am

Sekarang Jaman Pake Ragre~ Xray sudah g perna update gan~
Kembali Ke Atas Go down
https://3mrcro.indonesianforum.net
volance




Jumlah posting : 2
Join date : 23.07.10

Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeSat Aug 28, 2010 4:36 pm

ragre~xray tuh program kayak apa gan ?
fungsinya sama kayak sprite adder ?
Kembali Ke Atas Go down
Admin
Admin



Jumlah posting : 46
Join date : 23.02.10
Age : 32
Lokasi : Surabaia - Indonesia

Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeFri Sep 03, 2010 4:31 pm

ragre itu ragnarok renewall , xray itu hexed custom...

bedanya ragre terbatas dalam segala hal terutama apapun yg berbau custom...tapi dia update sampe episode terbaru gan...

klo xray itu tidak up to date...cuma dia bs pake custom item mobs dll banyak tanpa batas...
Kembali Ke Atas Go down
https://3mrcro.indonesianforum.net
erend




Jumlah posting : 1
Join date : 23.03.11

Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitimeWed Mar 23, 2011 6:02 pm

tutor nambahin custom yg ragre dong gan..
ane udah coba edit2 luanya.. diinventory dah kliatan tp klo dipake ga kliatan..
buka eq langsung error gan.. mohon dikasi pencerahan.. Sad
Kembali Ke Atas Go down
Sponsored content





Tutorial Membuat Custom ITEM Empty
PostSubyek: Re: Tutorial Membuat Custom ITEM   Tutorial Membuat Custom ITEM I_icon_minitime

Kembali Ke Atas Go down
 
Tutorial Membuat Custom ITEM
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Tutorial Membuat CUstom Item Menggunakan LUA / Ragre / Renewall Client
» Tutorial Membuat CUstom Item Menggunakan LUA / Ragre / Renewall Client #2
» [panduan membuat base lvl lebih dari 99]
» Tutorial Menggunakan THOR PATCHER
» NeoCube Control PaneL TutoriaL

Permissions in this forum:Anda tidak dapat menjawab topik
3MrcRO - Development TEAM :: Tutorial Server Ragnarok :: Tutorial Membuat Custom Item-
Navigasi: