Будет показано на примере исходников L2Mythras.
На стороне сервера Mythras открыть:
dist\gameserver\data\xml\dress\armor.xml
dist\gameserver\data\xml\items\DressItems.xml
В armor.xml добавить:
<dress id="17" name="School Uniform Custom A">
<set chest="22500" legs="-1" gloves="-1" feet="-1" />
<price id="37000" count="20" />
</dress>
<dress id="18" name="School Uniform Custom B">
<set chest="22501" legs="-1" gloves="-1" feet="-1" />
<price id="37000" count="20" />
</dress>
В Custom Items.xml добавить:
<armor id="22500" name="School Uniform Custom A" add_name="">
<set name="crystal_type" value="NONE"/>
<set name="dropable" value="true"/>
<set name="icon" value="Uniform_As.Br_schoollook"/>
<set name="sellable" value="true"/>
<set name="tradeable" value="true"/>
<set name="type" value="NONE"/>
<set name="weight" value="1000"/>
<equip>
<slot id="FORMAL_WEAR"/>
</equip>
</armor>
<armor id="22501" name="School Uniform Custom B" add_name="">
<set name="crystal_type" value="NONE"/>
<set name="dropable" value="true"/>
<set name="icon" value="Uniform_As.Br_schoollook"/>
<set name="sellable" value="true"/>
<set name="tradeable" value="true"/>
<set name="type" value="NONE"/>
<set name="weight" value="1000"/>
<equip>
<slot id="FORMAL_WEAR"/>
</equip>
</armor>
На стороне клиента Lineage открыть в L2 File Edit и после изменений сохранять в 413 протоколе под HF:
ItemName-e.dat
ItemName-ru.dat
Armorgrp.dat
Для файла ItemName-e.dat добавляем:
22500 School Uniform A a,School Uniform A. When equipped, armor is removed and cannot be used.\0 -1 0 0 a, 0 0 a, 0 0 0 0 0 0 0 0 0 0 a, 3
22501 School Uniform B a,School Uniform A. When equipped, armor is removed and cannot be used.\0 -1 0 0 a, 0 0 a, 0 0 0 0 0 0 0 0 0 0 a, 3
Для файла ItemName-ru.dat добавляем:
22500 School Uniform A u,School Uniform A. When equipped, armor is removed and cannot be used.\0 -1 0 0 a, 0 0 a, 0 0 0 0 0 0 0 0 0 0 a, 3
22501 School Uniform B u,School Uniform A. When equipped, armor is removed and cannot be used.\0 -1 0 0 a, 0 0 a, 0 0 0 0 0 0 0 0 0 0 a, 3
Для файла Armorgrp.dat добавляем:
1 22500 0 3 6 2 0 dropitems.drop_wedding_box_m00 dropitemstex.drop_wedding_box_t00 0 0 0 0 0 1 0 0 Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook 60 1000 17 0 0 0 1 9 1 Schoollook_As.Br_schoollook_MFighter_m00 3 Schoollook_As.Br_schoollook_MFighter_t00 Schoollook_As.Br_schoollook_m_t01 Schoollook_As.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FFighter_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FFighter_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MDarkElf_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MDarkElf_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FDarkElf_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FDarkElf_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MDwarf_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MDwarf_t00 Schoollook_As.Br_schoollook.Br_schoollook_mdwarf_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FDwarf_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FDwarf_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MElf_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MElf_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FElf_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FElf_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MMagic_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MMagic_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_Fmagic_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_Fmagic_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MOrc_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MOrc_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FOrc_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FOrc_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_Mshaman_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_Mshaman_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_FShaman_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FShaman_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_MKamael_m00 3 Schoollook_As.Br_schoollook.Br_schoollook_MKamael_t00 Schoollook_As.Br_schoollook.Br_schoollook_m_t01 Schoollook_As.Br_schoollook.Br_schoollook_m_t02 4 Kamael.Mkamael_m000_w_ad00 119 95 108 95 0 255 0 255 4 Mkamael.Mkamael_m000_t00_w 1 Schoollook_As.Br_schoollook_FKamael_m00 2 Schoollook_As.Br_schoollook.Br_schoollook_FKamael_t00 Schoollook_As.Br_schoollook.Br_schoollook_f_t01 4 Kamael.Fkamael_m000_w_ad00 119 95 Schoollook_As.Br_schoollook_Fkamael_m00_l_ad00 108 95 0 255 0 255 4 Fkamael.Fkamael_m000_t00_w Schoollook_As.Br_schoollook.Br_schoollook_f_t01 1 1 0 0 LineageEffect.p_u002_a 4 ItemSound.armor_underwear_1 ItemSound.armor_underwear_4 ItemSound.armor_leather_2 ItemSound.armor_leather_8 ItemSound.itemdrop_etc_book ItemSound.itemequip_armor_cloth 1 0 3 0 0 0 0 0 0
1 22501 0 3 6 2 0 dropitems.drop_wedding_box_m00 dropitemstex.drop_wedding_box_t00 0 0 0 0 0 1 0 0 Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook Schoollook_As.Br_schoollook 60 1000 17 0 0 0 1 9 1 Schoollook_As.Br_schoollook_B_mFighter_m00 3 Schoollook_As.schoollook_B_MFighter_t00 Schoollook_As.schoollook_B_m_t01 Schoollook_As.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_FFighter_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FFighter_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mDarkElf_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MDarkElf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fDarkElf_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FDarkElf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mDwarf_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MDwarf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_MDwarf_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fDwarf_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FDwarf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mElf_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MElf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fElf_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FElf_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mMagic_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MMagic_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fmagic_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FMagic_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mOrc_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MOrc_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fOrc_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FOrc_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mshaman_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MShaman_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 0 255 0 255 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_fShaman_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FShaman_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 0 255 108 95 0 255 0 255 4 1 Schoollook_As.Br_schoollook_B_mKamael_m00 3 Schoollook_As.Br_schoollook_B.schoollook_B_MKamael_t00 Schoollook_As.Br_schoollook_B.schoollook_B_m_t01 Schoollook_As.Br_schoollook_B.schoollook_B_m_t02 4 Kamael.Mkamael_m000_w_ad00 119 95 108 95 0 255 0 255 4 Mkamael.Mkamael_m000_t00_w 1 Schoollook_As.Br_schoollook_B_fKamael_m00 2 Schoollook_As.Br_schoollook_B.schoollook_B_FKamael_t00 Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 4 Kamael.Fkamael_m000_w_ad00 119 95 Schoollook_As.Br_schoollook_B_fkamael_m00_l_ad00 108 95 0 255 0 255 4 Fkamael.Fkamael_m000_t00_w Schoollook_As.Br_schoollook_B.schoollook_B_f_t01 1 1 0 0 LineageEffect.p_u002_a 4 ItemSound.armor_underwear_1 ItemSound.armor_underwear_4 ItemSound.armor_leather_2 ItemSound.armor_leather_8 ItemSound.itemdrop_etc_book ItemSound.itemequip_armor_cloth 1 0 3 0 0 0 0 0 0
В папку Animations клиента Lineage кладем:
Schoollook_As.ukx
П.С:
При сохранении .dat файла в конце всех строк должен быть всегда пробел.
Id предмета не должно быть выше чем последнее число или не сможет сохранить.