Jump to content

Recommended Posts

Posted

Good evening my friends this is my first topic and i hope you like it :) I didn't find it somewhere in the site so i decided to make on. So today i'll so you how to make a custom weapon AND how to fix the glow on it.Let's start.

1st Step:Making the xml file

First of all to make a custom  you need to make a *.xml file for the stats.So we go to this path:gameserver/data/stats/weapon and here we make the *.xml file with a notepad and we will give him the name 90000.xml as you can see to the photo.

82458263.png

Now how to create this file.We are in the gameserver/data/stats/weapon folder.Right click/create/new file and into the file we make the stats of weapon.Here i'll show you how to make a "Monster Only (Venom Sword)"(Dual) to "Venom"(Greatsword).Here is the stats.

67143888.png

Now we must save this file as a xml file and no as txt.so we must go to file/save as and change 90000.txt to 90000.xml and save it.

70878515.png

When we save this file we're done with the first step and go for the second.

2nd Step:making the weapon into weapongrp.dat

To the second step now i'll show you how to make the weapon from dual to a dual handed sword(greatsword)To do this first of all we need L2 File Edit.Open L2 file edit click the button "Open and Decrypt" and then go to the path that we have the system of Lineage II and find the file "weapongrp.dat" and open it

~NOTE!!!~

When someone try to make his own custom(weapon armor etc.),he MUST be careful cause if you don't know very very good how to use this file when you go to save it,it's better for all to save it into a folder that you made to the desktop cause if you save it onto the old file you will lost both of them.

Well open the weapongrp.dat with file edit.

81917144.png

We see that when we open the "weapongrp.dat" file we see some numbers some words that we don't understand.Don't worry that why i'm here.To make our weapon Ven first of all we need to find the ID of weapon into Database.Open Navica MySQL,click to the localhost to open the files then click to l2jdb and then go to weapon and open it.Now we need to find the "Monster Only (Venom Sword)" that we will convert it.Ctrl + F to show us the search and the we right the weapon.

47951525.png

When we write the name of weapon we click OK and it will show us our weapon and his ID.We take the ID and the go to FileEdit that we have open the "weapongrp.dat"file and find the weapon from his ID.Scroll down till we find it.

width=1024 height=478http://img198.imageshack.us/img198/644/43981139.png[/img]

Wehn we'll find it copy all the line till the end of the weapon and paste it into a notepad.The weapon that we have is dual sword and we want to make it a dual handed sword(Greatsword) we must find an other weapon that it is dual handed.Go to database find for example "Dynasty Blade" and go again to FileEdit that we have open the "weapongrp.dat" and scroll down it find it and the copy all the line of this weapon and paste it to the notepad that we had pasted the "Monster Only (Venom Sword)".Now into the notepad we have 2 weapons.

width=1024 height=111http://img251.imageshack.us/img251/9295/39622354.png[/img]

Becareful now cause here we will make our weapon.Here we will take from first weapon and we will try to make it like the other weapon.First weapon is this.

0	8203	1	1	6	1	0	LineageWeapons.Mon_benom_sword_m00_wp	LineageWeapons.Mon_benom_sword_m00_wp		LineageWeaponsTex.Mon_benom_sword_t00_wp	LineageWeaponsTex.Mon_benom_sword_t00_wp			0	0	0	0	0	1	1	0	icon.weapon_monster_i00					-1	1560	51	1	0	0		1		7	3	2	LineageWeapons.Mon_benom_sword_m00_wp	LineageWeapons.Mon_benom_sword_m00_wp	1	1	2	LineageWeaponsTex.Mon_benom_sword_t00_wp	LineageWeaponsTex.Mon_benom_sword_t00_wp			4	ItemSound.public_sword_shing_10	ItemSound.sword_big_2	ItemSound.public_sword_shing_4	ItemSound.sword_great_4	ItemSound.itemdrop_dualsword	ItemSound.itemequip_dualsword		10	0	0	8	0	8	0	0	0	0	325	0	1	1	1000	0	-1	0			0.00000000	0.00000000	0.00000000	0.00000000	0.00000000	0.00000000	1.00000000	1.00000000	1.00000000	1.00000000	LineageWeapons.rangesample	LineageWeapons.rangesample	1.39999998	0.89999998	0.89999998	1.39999998	0.89999998	0.89999998	13.50000000	0.00000000	0.00000000	13.50000000	0.00000000	0.00000000	-1	-1	-1	-1	-1	-1				

Second weapon is this.

0	9443	1	1	7	10	0	LineageWeapons.dynasty_twohand_sword_m00_wp			LineageWeaponsTex.dynasty_twohand_sword_t00_wp				0	0	0	0	0	1	0	0	icon.weapon_dynasty_twohand_sword_i00					-1	1740	8	1	0	0		1		7	2	1	LineageWeapons.dynasty_twohand_sword_m00_wp		1		1	LineageWeaponsTex.dynasty_twohand_sword_t00_wp				4	ItemSound.sword_great_7	ItemSound.sword_great_4	ItemSound.sword_big_9	ItemSound.public_sword_shing_8	ItemSound.itemdrop_poleweapon	ItemSound.itemequip_sword		10	405	151	1	6	8	0	0	0	0	325	0	1	1	1000	0	-1	0	LineageEffect.c_u006		3.00000000	0.30000001	0.00000000	0.80000001	1.00000000						LineageWeapons.rangesample		1.60000002	0.80000001	0.80000001	11.00000000	0.50000000	0.00000000							6	-1	-1	-1	-1	-1			

The weapon that we made is this

0	90001	1	1	7	10	0	LineageWeapons.Mon_benom_sword_m00_wp			LineageWeaponsTex.Mon_benom_sword_t00_wp				0	0	0	0	0	1	0	0	icon.weapon_monster_i00					-1	1740	8	1	0	0		1		7	2	1	LineageWeapons.Mon_benom_sword_m00_wp		1		1	LineageWeaponsTex.Mon_benom_sword_t00_wp				4	ItemSound.sword_great_7	ItemSound.sword_great_4	ItemSound.sword_big_9	ItemSound.public_sword_shing_8	ItemSound.itemdrop_poleweapon	ItemSound.itemequip_sword		10	405	151	1	6	8	0	0	0	0	325	0	1	1	1000	0	-1	0	LineageEffect.c_u006		2.50000000	0.30000001	0.00000000	1.60000002	2.50000000						LineageWeapons.rangesample		2.79999995	1.20000005	1.20000005	11.00000000	0.50000000	0.00000000							6	-1	-1	-1	-1	-1			   

Please see EXACTLY THE 3 CODES TO UNDERSTAND THE CHANGES OF WEAPON!!!

When we finish the weapon the only that we have to do is to change the ID and write our ID(90001)and then we go to th FileEdit and paste our finaly weapon there.Warning!we must allway leave one line empty at the end of the file.When we finish this the only that we have to do is to click on "Save and encrypt and save it to the folder that we made into the desktop with HEADER 413.

85659934.png

Now we go to the system of Linage II folder and paste it there th file "weapongrp.dat"

Step 3rd:Making the weapon into "itemname-e.dat"

Here i'll show you how to enter the name of your weapon.We need to open the FileEdit and the click to open and decrypt choose the "itemname-e.dat" from Lineage II system folder and click open to open it.Scroll down now and find a weapon that we can use it for our weapon.This is the code that i used for this weapon.

90001	Venom		a,	-1	0	0						a,	0	0		a,	0	0	0	0	0	0	0	0	0	0	a,	1

59

Put it into the "itemname-e.dat" at the end and leave one line empty down and click "Save and encrypt" and the save it with Header 413.

Step 4th:Add the weapon into Database.

Here we have to add our weapon into database and the only that we have to do is to take from one other Dual Handed weapon the stats and c/p them into a notepad.When we do this the only thing that we have to do is to open the database go to weapon and open it.down it has one + we click the + and then we take the stats from the other weapon and put them into the new weapon exept from id and Name of weapon and at the end we have this.

90001	Venom		lrhand	true	1740	1	0	wood	s80	405	10	bigsword	8	0	0	0	0	325	0	151	-1	-1	74946000	3597	true	true	true	true	true	0	0	0	0	0	0	0	0	0	0-0;

.

Our weapon is ready BUT the glow isn't fixed yet because our weapon have th glow from dynasty blade and these 2 weapon are not the same(different sape,different size etc.)Now i'll show you how to fix the weapon's glow.

Step 5th:Fixing weapon's Glow

To fix the weapon's glow first of all we need to open the file edit,the click to "open and decrypt" choose the "weapongrp.dat" file and go to the end and find our weapon.The thing that we have to do is to find the target that says effect_006 and copy form the effect till the end all the file and paste it into a notepad. the line that you took is this.

LineageEffect.c_u006		2.50000000	0.30000001	0.00000000	1.60000002	2.50000000						LineageWeapons.rangesample		2.79999995	1.20000005	1.20000005	11.00000000	0.50000000	0.00000000							6	-1	-1	-1	-1	-1				

this code is fixed but i want to show you what is exactly every piece.

LineageEffect.c_u006 2.50000000 0.30000001 0.00000000 1.60000002 2.50000000<-----This is the animation into the glow,the "flame" that it has into it and evey number shows the size.For exmaple the first number(2.50000000)show the along of the "flame".The LineageEffect.c_u006 is the effect inside the weapon and if you change the number you change the style of it.

LineageWeapons.rangesample 2.79999995 1.20000005 1.20000005 11.00000000 0.50000000 0.00000000<-----This is the glow and the first number(2.79999995)is the along of the glow on the weapon.

And we finaly have this.

finaly.png

 

 

I don't know very good what is the other number but i promish when i learn i'll update the topic and show you what is the orther numbers.

P.S The 3 fist codes a wrong at the end cause i want you to make the weapon alone and succeed :)

It's not very good cause i don't know very good english but i hope this guide be help full.

This giude is mine and weapon i made it alone cause this custom there isn't into Epilogue.There is only into Interlude.

I want to know your opinion :) :) :)

CREDITS:ME

Posted

Omg leki read CAREFULLY the title cause if you see i have and how to make a custom weapon.

 

 

Edit:i forgot something to tell you.to my topic i show to other people how to fix the glow and now how to change it!Next time ready all the topic and don't try to make your bad opinion.

Guest
This topic is now closed to further replies.


×
×
  • Create New...