Jump to content

[Guide]How to make own custom weapon !


Onix

Recommended Posts

Hi members MxC !!! i decided to write this guide because many people probably do not know how to make himself his own weapon

 

what will we need :

 

1. decode system

2. program L2Fileedit

3. some free time and little desire

 

so we get to work

 

1. Let's make backup files (itemname-e.dat and weapongrp.dat)

2. First, we must save the weapon in the file itemname-e.dat so open program L2Fileedit and open itemname-e.dat

3. Go to the bottom and add such a thing :

 

99999 GM Dual Zariche GM Dual a,This is GM Weapon.\0 -1 a, a, a, a, 0 0 0 a, 2

 

some useful explanations :

 

99999 = weapon id

 

GM Dual Zariche = name weapon

 

GM Dual = yellow inscription such thing as SA

 

This is GM Weapon = description of the weapon that is what will show up at the bottom of the weapon when it click

 

All that we can change according to your own liking me just shows you how to do dual Zariche

 

!!!!!! Remember to add a new items after the end of (itemname-e.dat) press Enter to go to New Line

This will prevent Unnecessary Error !!!!!!

 

Save as version 413

 

4. Open a file (weapongrp.dat)

5. Go to the bottom and add such a thing :

 

0 99999 1 1 6 1 0 LineageWeapons.unique_zariche_m00_wp LineageWeapons.unique_zariche_m00_wp LineageWeaponsTex.unique_zariche_t00_wp LineageWeaponsTex.unique_zariche_t00_wp icon.weapon_dual_sword_i00 icon.weapon_unique_zariche_i00 icon.weapon_unique_zariche_i00 -1 2080 47 1 0 0 1 14 3 2 LineageWeapons.unique_zariche_m00_wp LineageWeapons.unique_zariche_m00_wp 2 LineageWeaponsTex.unique_zariche_a_t00_wp LineageWeaponsTex.unique_zariche_a_t00_wp 4 ItemSound.public_sword_shing_8 ItemSound.sword_great_4 ItemSound.sword_mid_2 ItemSound.public_sword_shing_4 ItemSound.itemdrop_dualsword ItemSound.itemequip_dualsword 10 382 159 8 5 8 0 0 0 0 325 0 1 1 1000 0 -1 0 LineageEffect.e_u092_b LineageEffect.e_u092_b 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.8000000 1.0000000 0.8000000 1.3000000 LineageWeapons.rangesample LineageWeapons.rangesample 1.4000000 0.8000000 0.8000000 1.5000000 0.8000000 0.8000000 12.0000000 0.0000000 0.0000000 11.5000000 0.0000000 0.0000000 6 4 -1 -1

 

some useful explanations :

 

99999 = is that we have given the id (itemname-e.dat)

 

LineageWeapons.unique_zariche_m00_wp , LineageWeaponsTex.unique_zariche_t00_wp = the appearance of weapons

 

icon.weapon_dual_sword_i00 = the appearance of icons in the inventory

 

icon.weapon_unique_zariche_i00 = the appearance of weapons in the inventory after the assumption

 

ItemSound.public_sword_shing_8    , ItemSound.sword_great_4  ,   ItemSound.sword_mid_2 ,   ItemSound.public_sword_shing_4  ,   ItemSound.itemdrop_dualsword  ,   ItemSound.itemequip_dualsword = is the sound of the establishment, removal, and disposal of weapons of beating

 

!!!!!! Remember to add a new items after the end of (itemname-e.dat) press Enter to go to New Line

This will prevent Unnecessary Error !!!!!!

 

Save as version 413

 

6. Weapons have been ready, now we add the statistics or m.atk, p.atk, atkspd. To this end, enter the folder weapon (date / stats / weapon) and create a new file named *. xml 99998-99999.xml

 

7. Open the file 99998-99999.xml and add such a thing :

 

<?xml version='1.0' encoding='utf-8'?>

<list>

<item id='99999' name="GM Dual Zariche">

 <for>

   <set val='3000' order='0x08' stat='pAtk'/>

   <set val='3000' order='0x08' stat='mAtk'/>

   <set val='1000' order='0x08' stat='pAtkSpd'/>

 </for>

</item>

</list>

 

some useful explanations :

 

id='99999' = Here we give weapons which we have given id in the (itemname-e.dat)

 

name="GM Dual Zariche" = Here we give the name of weapons

 

<set val='3000' order='0x08' stat='pAtk'/> = What we give here is to have a weapon p.atk

 

<set val='3000' order='0x08' stat='mAtk'/> = What we give here is to have a weapon m.atk

 

<set val='1000' order='0x08' stat='pAtkSpd'/> = Unless we give here is to add the player to assume atkspd weapons

 

Save

 

8. Now enter in phpmyadmin (http://domainname/phpmyadmin) we choose the weapon tables on the last page and press "add"

 

9. Supplement by myself i added this :

 

item_id - 99999

name - GM Dual Zariche

bodypart - lrhand

crystallizable - true

weight - 1

soulshots - 1

spiritshots - 1

material - fine_steel

crystal_type - here we give grade item "s"

p_dam - 3000

rnd_dam - 10

weaponType - dual

critical - 10

hit_modify - 0.00000

avoid_modify - 0

shield_def - 0

shield_def_rate - 0

atk_speed - 1000

mp_consume - 0

m_dam - 3000

duration - 600

price - 0

crystal_count - 1470

sellable - true

dropable - false

destoryable - true

tradeable - true

rest - 0

skill - 0-0;

 

10. Click execute and reboot the server and in game type //create_item 99,999, and enjoy dual zariche

 

 

 

Guide by Onix

Link to comment
Share on other sites

Nice guide man,but i have one problem.

I use Gracia Final.....

I add this for ex. : 99999  GM Dual Zariche  GM Dual  a,This is GM Weapon.\0  -1  a,  a,  a,  a,  0  0  0  a,  2

And then i save it as version 413.....But then it gives me a error(something like cannot open the error)

What i am doing worng?

Link to comment
Share on other sites

Nice guide man,but i have one problem.

I use Gracia Final.....

I add this for ex. : 99999  GM Dual Zariche  GM Dual  a,This is GM Weapon.\0  -1  a,  a,  a,  a,  0  0  0  a,  2

And then i save it as version 413.....But then it gives me a error(something like cannot open the error)

What i am doing worng?

check the spaces and see if the columns match..if there is a space not needed or the ID is already added u should modify it:)
Link to comment
Share on other sites

You have right but as there are hundrend of these files,i don't know if i am able to observe one or more space :) ...

I try to add this : 90900 Coin of Elf a,True Gold.\0 -1 a, a, a, a, 0 0 0 a,      at itemname-e.dat

Do you see anything wrong?

Link to comment
Share on other sites

  • 9 months later...

hey how do i find my weapons folder?

you will find it at "system" folder filenames -> itemname-e.dat and weapongrp.dat, you will need L2FileEdit to open it.

 

P.S.

for easy and convenience editing.. use spreadsheet apps..

Link to comment
Share on other sites

good idea :) im having troubles editing my weapon.. acutally.. i can't even make it.. i found itemname and weapongrp.. but i edit it and it fixes itself..

 

EDIT: wheres the file i need to put the xml into

Link to comment
Share on other sites

  • 4 weeks later...
  • 8 months later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...