Jump to content

[Guide]Your custom weapon/armor/skills!


Recommended Posts

This isn't my guild bud i repost it why it's an old and locked guild all greateds go to killer_007

 

1st Step: Preparation

 

I tell it again, it’s hard if you don’t know .xml editing and client modding. I’ll explain it as clear as I can. We don’t need something special for .xml editing (such as dreamweaver which is useful if you are a pro) but only our text editor. But we need a program for our client editing. You can find the link at the end of the post. This program is called Fileedit for C5. Make sure you keep backups of your files

before doing anything. I suggest you to use a new server install, just for this testing/editing.

 

 

 

2nd Step: Planning your ideas - .xml Creating

You must think what you want. You must have a main idea of what you gonna do. Let’s start explaining the .xml editing for weapon/armor/skills (the skills are more difficult, but it worths Tongue).

Let’s start with a weapon, which is the easiest.

This main idea is, creating a unique sword, which has the texture of zariche, and having the name of our server, which would be available for newbies for a drop (you can create a custom item as a drop, or simply use an already existing one) or more drops and would have nice stats Wink (we can make dual zariche too, but it’s client modding most <(I have it already Tongue, maybe I’ll post it at the end of the post)>)

We don’t care about the texture at the .xml editing. Let’s learn the basics:

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE list SYSTEM "weapons.dtd">

<list>

<item id='5600' name="meteor_shower_critical_bleed">

  <for>

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

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

    <set val='4' order='0x08' stat='rCrit'/>

    <add val='4' order='0x10' stat='accCombat'/>

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

    <enchant val='0' order='0x0C' stat='pAtk'/>

    <enchant val='0' order='0x0C' stat='mAtk'/>

    <!-- Critical Bleed -->

    <skill onCrit='1' id='96' lvl='6' chance='42'/>

  </for>

</item>

</list>

 

MEANS ~>

<?xml version="1.0" encoding="UTF-8"?>

This is basic, like a header. It explains some things to the PC (encoding of characters and xml version). We don’t edit it.

 

<!DOCTYPE list SYSTEM "weapons.dtd">

It’s a new add (after an update of l2j). In order to open all these .xml, you have to have in your folder the weapons.dtd file, otherwise nothing happens.

 

<list>

Add this at the beginning of every .xml (NOTE: Not at every custom thing!!! Only list).

 

<item id='5600' name="meteor_shower_critical_bleed">

Item id = our new custom thing id. I would choose 9401 for example (it shouldn’t exist). Name = the name of our item

 

<for>

A label. We need it to give to our weapon stats etc.

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

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

    <set val='4' order='0x08' stat='rCrit'/>

    <add val='4' order='0x10' stat='accCombat'/>

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

    <enchant val='0' order='0x0C' stat='pAtk'/>

    <enchant val='0' order='0x0C' stat='mAtk'/>

    <!-- Critical Bleed -->

    <skill onCrit='1' id='96' lvl='6' chance='42'/>

 

Everything about our weapon:

 

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

The p. atk

 

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

The m. atk

 

<set val='4' order='0x08' stat='rCrit'/>

Don’t make it too high. It adds more critical to our weapon.

 

<add val='4' order='0x10' stat='accCombat'/>

Adds more damage during PvP.

 

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

The atk speed.

 

    <enchant val='0' order='0x0C' stat='pAtk'/>

    <enchant val='0' order='0x0C' stat='mAtk'/>

This means that when it is enchanted, it gets +++ status to the p. Atk and m. Atk.

 

    <!-- Critical Bleed -->

    <skill onCrit='1' id='96' lvl='6' chance='42'/>

The SA of our weapon. On critical, casts skill id 96 (lvl 6) with chance of success 42%.

You can now choose an id from your db, and look it in your .xml. If you like it’s stats, just <<steal>> them Tongue And what do I mean?

 

Look:

For our custom weapon~>

<?xml version="1.0" encoding="UTF-8"?>

<list>

<item id='9401' name="L2XxX_Newbies_Blade">

  <for>

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

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

    <set val='4' order='0x08' stat='rCrit'/>

    <add val='4' order='0x10' stat='accCombat'/>

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

    <enchant val='0' order='0x0C' stat='pAtk'/>

    <enchant val='0' order='0x0C' stat='mAtk'/>

    <!-- Custom -->

    <skill onCrit='1' id='96' lvl='6' chance='80'/>

    <add order='0x40' stat='rCrit' val='130'>

    <mul val='1.10' order='0x30' stat='maxHp'/>

      <and>     

            <player hp='60'/>

      </and>

  </add>

  </for>

</item>

</list>

 

Ok, look now what I did. I created a small .xml with the following ~> I changed the p. atk/name/m.atk/id and I added 2 more SAs except the bleed (which I changed the success rate). I added +10% HP (I stole the code from dark_legions_edge_health if you don’t know how to create it yourself), and I added an SA that adds +130 critical rate if your HP is under 60%!!! Now it’s time to test it. Test it with Internet Explorer. If you don’t get any error, you are ok Wink (As you may see, I didn’t added the <!DOCTYPE list SYSTEM "weapons.dtd"> there is no problem if you don’t put it!).

For armors/skills it’s the same, I don’t need to explain something, but I gonna give you a brief look. The tip for beginners is…copying a skill that likes us, and we edit it as we wish. Remember to test it ON EVERY CHANGE so if you take an error, you won’t lose time checking your adds.

Let’s see about the armors:

 

<item id='6845' name="Pirate's Eye Patch">

  <for>

    <add val='0' order='0x10' stat='pDef'/>

  </for>

</item>

 

If you have played GvE you should know that this adds +50 Critical. Let’s do it too Wink

 

<item id='6845' name="Pirate's Eye Patch">

  <for>

    <add val='0' order='0x10' stat='pDef'/>

    <add order='0x40' stat='rCrit' val='50'>

  </add>

  </for>

</item>

 

W00T! We <<stole>> these addition from a weapon with SA focus Smiley

Do you want us to add m. def to an armor ? Cheesy Let’s choose one.

 

<item id='7861' name="Apella Breastplate">

<!-- Done by KID -->

  <for>

    <add val='278' order='0x10' stat='pDef' />

    <add val='80' order='0x10' stat='mDef'/>

    <!-- Clan Set Armor -->

    <add val='232' order='0x40' stat='maxCp'>

        <and>

          <using slotitem="7860;6" />

            <using slotitem="7862;9" />

            <using slotitem="7863;12" />

        </and>

  </add>

    <mul val='1.40' order='0x40' stat='regCp'>

        <and>

          <using slotitem="7860;6" />

            <using slotitem="7862;9" />

            <using slotitem="7863;12" />

      </and>

    </mul>

   

    <enchant val='0' order='0x0C' stat='pDef' />

  <enchant val='0' order='0x0C' stat='mDef'/>

</for>

</item>

 

And let’s see our skills:

(choose your skill ids here ~> http://l2private.free.fr/misc/SkillsID.ini )

 

<skill id="265" levels="1" name="Song of Life">

  <!-- Done by dc -->

  <set name="mpConsume" val="60"/>

  <set name="power" val="0.0"/>

  <set name="target" val="TARGET_PARTY"/>

  <set name="skillRadius" val="1000"/>

  <set name="hitTime" val="2500"/>

  <set name="reuseDelay" val="10000"/>

  <set name="skillTime" val="2500"/>

  <set name="skillType" val="BUFF"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="buffDuration" val="120000"/>

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

  <for>

    <effect name="Buff" time="120" count="1" val="0">

      <mul order="0x30" stat="regHp" val="1.2"/>

    </effect>

  </for>

</skill>

 

<set name="mpConsume" val="60"/> <~ how much mp it consumes

 

<set name="target" val="TARGET_PARTY"/> <~ You can change this one, so you can give someone a song without party…for example ~> TARGET_AREA (don’t forget…always CAPITALS) will give that song to the whole area Tongue Or TARGET_SELF for self-only buff or TARGET_ONE for target – buff.

 

 

  <set name="reuseDelay" val="10000"/> the reuse delay of the skill.

 

<set name="buffDuration" val="120000"/> The duration of the song.

      <mul order="0x30" stat="regHp" val="1.2"/> if you edit the 1.2, the HP regeneration rate will increase (1.3 = +10% more hp regen.).

 

3rd Step: Client modding

 

Now this is the hard step, because it needs time to understand each row. The easiest way (for example for our custom – zariche) is copying the rows from zariche in weapongrp.dat and itemname-e.dat and just changing the name of the weapon and the p. atk/m.atk and of course the description. If you do something wrong, you will get an error. Well, copying the line from weapongrp.dat and then just changing the id is easy, but in the itemname-e.dat you can easily make a mistake by destroying the columns. You have NOT TO edit after the big gaps (I mean, don’t destroy <(for example)> all the old description, select it UNTIL YOU REACH THE END OF THE LETTERS !DON’T! touch the gap. Edit the ID, the description and you are ready. Just load your GS and watch out for error in the .xml loading. If you don’t get any, you are ok! Client editing needs time to learn it, and it’s time consuming because of the errors you can get easily. Use a patched system for any modification, otherwise you gonna get critical error from the client! (Patched system you can find in any server with custom stuff).

For custom armor ~> edit in client the… itemname-e.dat, armorgrp.dat

For custom weapon ~> edit in client… itemname-e.dat, armorgrp.dat

For custom skill ~> edit in client… skillname-e.dat, skillgrp.dat, skillsoundgrp.dat

THIS IS ONLY for full customized skills. If you just edit the affects, you won’t need to change any of these. If you want to change the description of these use the itemname-e/skillname-e.dat files. For custom icons use the armorgrp/skillgrp.dat files.

 

icon.skillXXXX for changing icons in skills (use another’s skill number).

icon.armor_t06_u_i00 for changing armor icons (you have to edit all the text <(icon.armor_t06_u_i00)> in order to get it fully working.

 

4th Step: DB

 

I will not give exact information atm, maybe later. Just go to the db and copy a row, paste it and give the ID of your custom id. This guide wasn't made exactly for creating a new one, but for modding an existing (it is easier for newbies) but it can be used for creating. Anyway, back to db topic, copy paste... Soon will be added info Tongue

 

You can edit also the system messages with other messages in the systemmsg-e.dat (example ~> Critical to You slashed ‘em up! Or Are you sure you want to exit? ~> VOTE FOR US PLZ NOW!!! THX!!!!)

You can edit the server name too! For example Bartz ~> L2XxX (servername-e.dat)

 

TIP: If you want to make something veryyyyyyy customed, in order to know what each column is, use excel!!! (1st row = description 2nd row = you custom item settings) but it needs plenty of time. Cheesy

You can edit everything with fileedit, just search a little and do some tests Wink

 

That’s all folks Tongue For one more time, for any correction of this guide or for asking for help, just post Wink

 

Some useful links

 

~LINKS~

 

W00T

http://img441.imageshack.us/my.php?image=shot00009bm4.jpg

http://img170.imageshack.us/my.php?image=shot00015pb5.jpg

Fileedit C5

http://www.4shared.com/file/9006788/58563197

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
  • 3 months later...
  • 3 months later...

Just a question ....

I try to make the stats of the armor activate when im wearing the full armor

But i cant manadge to do that ...

Got any idea how i can do that ??

Link to comment
Share on other sites

in database at armorsets table.. u set at skill_id row the passive skill u want... if u set the parts right it will give u the skill only if u equip all parts.

I didant mean skill ...

I was talking about custom HP MP Dex Con ... when all armor is equiped :)

Link to comment
Share on other sites

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.



  • Posts

    • 💸 New discount coupon 5% 😎 boosti 😎
    • 💸 New discount coupon 5% 😎 boosti 😎
    • to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119
    • This is my first and last topic created on a Lineage Forum, because if there's one thing that causes headaches for a lot of people, it's the critical error, that's why I decided to share it...   I'm creating a server again and before starting configurations I started collecting dozens of customs, without realizing my system folder had 950MB of files, so I started to enter the game, every 1 to 2 hours my client was reaching the maximum limit of virtual memory of the game due to the absurd amount of customs inside the system folder, reaching the maximum limit of 2047MB virtual ram, automatically we get critical, regardless of the error that appears on your screen, "THE WORDS ARE IRRELEVANT, unless it is a critical error before the ram memory limit reaches its limit", if you are seeing "2047 MB", it means that the game's virtual memory has reached its limit, and this memory is not configurable due to the game being created on 32-bit architecture, so I significantly reduced the amount of customs within the system from 950MB to 625MB, so my client started to reach the maximum memory limit every 10 to 12h, a huge progress, but my goal was at least 24h before reaching the virtual memory limit (playing frantically), so I reduced the system's custom files from 625MB to 267MB, the result was a first virtual memory limit critical error appearing after 41h.   My client is H5, the only types of customs I added to the game were focused only on equipment, one of the main causes were these skins and cloaks, they consume a huge amount of MB's within the "system", the problem is not adding customs to the client, the problem is adapting a custom and adding it inside the system folder, the system folder was not created with the intention of storing a huge amount of files.   Adding customs to the system folder means significantly reducing the time your client can remain open before reaching the virtual ram limit and make no mistake, there are hundreds of different critical errors with a small summary of the cause of the error, but if the critical table shows 2047MB of RAM, the problem is only 1. Example: I can see 3, 5, 9 critical error with different messages, but if this table is showing 2047MB ram, the reason was the virtual memory limit, an important detail is that this 2047MB ram is not a "fixed message or information from your computer", this 2047MB only appear when the cause is the virtual ram limit, it means that when you get a critical error with random numbers of ram memory appearing, such as 358MB ram, 715MB ram, it means that the cause of this error has no connection with ram virtual memory.
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products  https://discord.gg/hoodservices https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...