Metin2Pt
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Metin2Pt

Server PVM pentru placul tuturor
 
AcasaAcasa  Ultimele imaginiUltimele imagini  CăutareCăutare  ÎnregistrareÎnregistrare  ConectareConectare  
:~:~:~: Bine Ati venit :~:~:~:
:~:~:~: Adresa Serverului http://93.114.237.124/ :~:~:~:
:~:~:~: Respecta si vei fi Respectat :~:~:~:

 

 [HowTo]Implementare armuri(romana)by Robyy

In jos 
AutorMesaj
Admin
Admin
Admin



Mesaje : 40
Data de înscriere : 22/10/2011

[HowTo]Implementare armuri(romana)by Robyy Empty
MesajSubiect: [HowTo]Implementare armuri(romana)by Robyy   [HowTo]Implementare armuri(romana)by Robyy EmptySam Oct 22, 2011 12:24 pm

Buna ziua, astazi am sa prezint tutorialul realizat de Dragon dar tradus in romana! Stima...
Ca multi utilizatori care au probleme cu texturile armurilor astazi o sa va prezint cum sa procedati pentru a introduce armurile noi fara erori!

Programele necesare:
- Navicat pentru MySQL
- Un extractor pentru dezarhivarea fisierelor .epk/.eix(item_proto)
- Notepad + + (recomandat)
In primul rand avem nevoie de skinurile armurilor. Bineinteles, puteti lua skinuri diferite!

Pasul 1(Icon .epk/.eix):
Fisierele icon ne ajuta sa vedem armurile in inventar.
- În primul rând vom extrage fisierele icon .epk/.eix cu un extractor(Eddy)
- Bagam fisierele .tga (42000 44000 46000 48000) in fisierul Source(acest fisier apare dupa ce ati extractat fisierele)
- Apoi, inainte de a impacheta fisierele icon .epk/.eix intram in icon_pack.xml si bagam urmatorul cod:
Cod:
COD: SELECTAŢI TOT
fişier> ArchivedPath="icon/item/42000.tga" type="1"> <[CDATA [Sursa pictograma element 42000.tga ]]></ File>
fişier> ArchivedPath="icon/item/42010.tga" type="1"> <[CDATA [Sursa pictograma element 44000.tga ]]></ File>
fişier> ArchivedPath="icon/item/42020.tga" type="1"> <[CDATA [Sursa pictograma element 46000.tga ]]></ File>
fişier> ArchivedPath="icon/item/42030.tga" type="1"> <[CDATA [Sursa pictograma element 48000.tga ]]></ File>
Daca ati realizat totul corect ar trebui sa va lase sa faceti din nou fisierele icon .epk/.eix(care trebuie introduse in Pack -> client)

Pasul 2(PC .epk/.eix)
Ce trebuie facut pentru a implementa armura de razboinic(baiat):
-Extragem fisierele PC .epk/.eix
-Bagam fisierul warrior_4_4.dds in Source -> ymir work -> pc -> warrior.
-Acum scriem in fisierul pc_pack.xml urmatorul cod:
COD: SELECTAŢI TOT
<File archivedPath="d:/ymir work/pc/warrior/warrior_4_4.dds" type="1"><![CDATA[Sourceymir workpcwarriorwarrior_4_4.dds]]></File>
Daca ati facut totul corect trebuie sa te lase sa impachetezi fiserele PC din nou(daca nu verificari din nou datele introduse)

Pasul 3(PC2 .epk/.eix)
Ce trebuie facut pentru a implementa armura de razboinic(baiat):
Realizati acelasi lucru ca la pasul 2 doar ca in loc de codul de mai sus bagati urmatorul cod:
COD: SELECTAŢI TOT
<File archivedPath="d:/ymir work/pc2/warrior/warrior_4_4.dds" type="1"><![CDATA[Sourceymir workpc2warriorwarrior_4_4.dds]]></File>

Pasul 4(setarea texturilor)
Acest pas este unul dintre cele mai importante pentru ca armurile sa nu apara cu alb
- În primul rand despachetam fisierele root .epk/.eix si cautam fisierele warrior_m.msm & warrior_w.msm.
- Vom edita warrior_m.msm cu Notepad + + aici, Group ShapeData27 reprezinta cum arata armura:

In acest moment va voi explica ce insemana "Group ShapeData27":
Este un grup care număr este sa spunem 27. Armurile în fisierul MSM , acesta este accidental atunci când un grup de 2 vă va da un bug şi armura vor fi invizibile.
ShapeIndex 23: este unul dintre cele mai importante lucruri, mai incolo avand de modificat in item_proto
SourceSkin "warrior_4-1.dds": acest fisier prezinta modelul texturii
TargetSkin "warrior_4_2.dds" si introducem urmatorul cod:

COD: SELECTAŢI TOT
Group ShapeData28
{
SpecialPath "d:/ymir Work/pc/warrior/"

ShapeIndex 40
Model "warrior_4-1.gr2"
SourceSkin "warrior_4-1.dds"
TargetSkin "warrior_4_4.dds"
}
VA PREVIN SA NU DATI COPY/PASTE DEOARECE S-AR PUTEA SA APARA ERORI. Cel mai bine este sa luati pas cu pas si sa aveti grije la detalii.

Pasul 5(item_list):
-despachetam fisierul locale_de(ro...) .epk/.eix sau daca in client-ul dumneavoastra locale nu este protejat gasiti direct acolo fisierul item_list.txt
-intri in folderul Source -> locale -> item_list.txt si bagati urmatorul cod:
COD: SELECTAŢI TOT
42 000 ARMOR icon/item/42000.tga
42 001 ARMOR icon/item/42000.tga
42 002 ARMOR icon/item/42000.tga
42 003 ARMOR icon/item/42000.tga
42 004 ARMOR icon/item/42000.tga
42 005 ARMOR icon/item/42000.tga
42 006 ARMOR icon/item/42000.tga
42 007 ARMOR icon/item/42000.tga
42 008 ARMOR icon/item/42000.tga
42 009 ARMOR icon/item/42000.tga
Acest fisier item_list este calea spre icoanele armurilor
-salvati item_list.txt, impachetati la loc locale_de .epk/.eix si bagati la loc in pack(sau locale -> hongkong daca locale nu este protejat)

Pasul 6(item_proto):
-despachetati locale_de .epk/.eix
-intrati in folderul source -> locale si despachetati si fisierul item_proto:
-dupa o sa apara fisierul item_proto_dump.xml si bagati codul acesta:
COD: SELECTAŢI TOT
<Item vnum="42000" hashName="'ȸ©¶°È©+0'" name="Smaragdstahl-Panzer+0" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="84" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="2" applytype2="39" applyvalue2="2" value0="0" value1="115" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="0" socket_pct="1" />
<Item vnum="42001" hashName="'ȸ©¶°È©+1'" name="Smaragdstahl-Panzer+1" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="84" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="3" applytype2="39" applyvalue2="3" value0="0" value1="115" value2="0" value3="40" value4="0" value5="8" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="5" socket_pct="1" />
<Item vnum="42002" hashName="'ȸ©¶°È©+2'" name="Smaragdstahl-Panzer+2" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="84" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="4" applytype2="39" applyvalue2="4" value0="0" value1="115" value2="0" value3="40" value4="0" value5="16" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="10" socket_pct="1" />
<Item vnum="42003" hashName="'ȸ©¶°È©+3'" name="Smaragdstahl-Panzer+3" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="85" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="5" applytype2="39" applyvalue2="6" value0="0" value1="115" value2="0" value3="40" value4="0" value5="24" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="15" socket_pct="1" />
<Item vnum="42004" hashName="'ȸ©¶°È©+4'" name="Smaragdstahl-Panzer+4" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="85" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="6" applytype2="39" applyvalue2="7" value0="0" value1="115" value2="0" value3="40" value4="0" value5="32" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="30" socket_pct="2" />
<Item vnum="42005" hashName="'ȸ©¶°È©+5'" name="Smaragdstahl-Panzer+5" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="86" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="8" applytype2="39" applyvalue2="9" value0="0" value1="115" value2="0" value3="40" value4="0" value5="41" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="40" socket_pct="2" />
<Item vnum="42006" hashName="'ȸ©¶°È©+6'" name="Smaragdstahl-Panzer+6" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="86" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="11" applytype2="39" applyvalue2="12" value0="0" value1="115" value2="0" value3="40" value4="0" value5="50" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="50" socket_pct="2" />
<Item vnum="42007" hashName="'ȸ©¶°È©+7'" name="Smaragdstahl-Panzer+7" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="87" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="14" applytype2="39" applyvalue2="15" value0="0" value1="115" value2="0" value3="40" value4="0" value5="59" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="65" socket_pct="3" />
<Item vnum="42008" hashName="'ȸ©¶°È©+8'" name="Smaragdstahl-Panzer+8" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="87" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="17" applytype2="39" applyvalue2="18" value0="0" value1="115" value2="0" value3="40" value4="0" value5="68" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="80" socket_pct="3" />
<Item vnum="42009" hashName="'ȸ©¶°È©+9'" name="Smaragdstahl-Panzer+9" type="2" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="1" immuneflag="0" gold="150000" buy_price="50000" limittype0="1" limitvalue0="87" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967291" applytype1="37" applyvalue1="20" applytype2="39" applyvalue2="20" value0="0" value1="115" value2="0" value3="40" value4="0" value5="86" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="11409" refine_set="0" magic_pct="15" specular="100" socket_pct="3" />
-impachetati item_proto la loc si bagati-l in Source -> locale
-dupa impachetati si locale_de(ro..) si introduceti in pack( in folder-ul clientului)

Pasul 7(NAVICAT):
-conectati-va la NAVICAT
-intrati in baza de date Player
-intrati in item_proto
-dati CTRL+Q si CTRL+N si bagati codul:
COD: SELECTAŢI TOT
INSERT INTO `item_proto` VALUES ('42000', 0xC8B8A9B6B0C8A92B30, 0x536D6172616764737461686C2D50616E7A65722B30, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42001', '181', '0', '15', '1', '84', '0', '0', '8', '-10', '37', '2', '39', '2', '0', '115', '0', '40', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '1', '0');
INSERT INTO `item_proto` VALUES ('42001', 0xC8B8A9B6B0C8A92B31, 0x536D6172616764737461686C2D50616E7A65722B31, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42002', '182', '0', '15', '1', '84', '0', '0', '8', '-10', '37', '3', '39', '3', '0', '115', '0', '40', '0', '8', '-1', '-1', '-1', '-1', '-1', '-1', '5', '1', '0');
INSERT INTO `item_proto` VALUES ('42002', 0xC8B8A9B6B0C8A92B32, 0x536D6172616764737461686C2D50616E7A65722B32, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42003', '183', '0', '15', '1', '84', '0', '0', '8', '-10', '37', '4', '39', '4', '0', '115', '0', '40', '0', '16', '-1', '-1', '-1', '-1', '-1', '-1', '10', '1', '0');
INSERT INTO `item_proto` VALUES ('42003', 0xC8B8A9B6B0C8A92B33, 0x536D6172616764737461686C2D50616E7A65722B33, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42004', '184', '0', '15', '1', '85', '0', '0', '8', '-8', '37', '5', '39', '6', '0', '115', '0', '40', '0', '24', '-1', '-1', '-1', '-1', '-1', '-1', '15', '1', '0');
INSERT INTO `item_proto` VALUES ('42004', 0xC8B8A9B6B0C8A92B34, 0x536D6172616764737461686C2D50616E7A65722B34, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42005', '185', '0', '15', '1', '85', '0', '0', '8', '-8', '37', '6', '39', '7', '0', '115', '0', '40', '0', '32', '-1', '-1', '-1', '-1', '-1', '-1', '30', '2', '0');
INSERT INTO `item_proto` VALUES ('42005', 0xC8B8A9B6B0C8A92B35, 0x536D6172616764737461686C2D50616E7A65722B35, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42006', '186', '0', '15', '1', '86', '0', '0', '8', '-8', '37', '8', '39', '9', '0', '115', '0', '40', '0', '41', '-1', '-1', '-1', '-1', '-1', '-1', '40', '2', '0');
INSERT INTO `item_proto` VALUES ('42006', 0xC8B8A9B6B0C8A92B36, 0x536D6172616764737461686C2D50616E7A65722B36, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42007', '187', '0', '15', '1', '86', '0', '0', '8', '-6', '37', '11', '39', '12', '0', '115', '0', '40', '0', '50', '-1', '-1', '-1', '-1', '-1', '-1', '50', '2', '0');
INSERT INTO `item_proto` VALUES ('42007', 0xC8B8A9B6B0C8A92B37, 0x536D6172616764737461686C2D50616E7A65722B37, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42008', '188', '0', '15', '1', '87', '0', '0', '8', '-6', '37', '14', '39', '15', '0', '115', '0', '40', '0', '59', '-1', '-1', '-1', '-1', '-1', '-1', '65', '3', '0');
INSERT INTO `item_proto` VALUES ('42008', 0xC8B8A9B6B0C8A92B38, 0x536D6172616764737461686C2D50616E7A65722B38, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '42009', '189', '0', '15', '1', '87', '0', '0', '8', '-6', '37', '17', '39', '18', '0', '115', '0', '40', '0', '68', '-1', '-1', '-1', '-1', '-1', '-1', '80', '3', '0');
INSERT INTO `item_proto` VALUES ('42009', 0xC8B8A9B6B0C8A92B39, 0x536D6172616764737461686C2D50616E7A65722B39, '2', '0', '0', '2', '56', '1', '1', '', '150000', '50000', '0', '0', '0', '15', '1', '87', '0', '0', '8', '-5', '37', '20', '39', '20', '0', '115', '0', '40', '0', '86', '-1', '-1', '-1', '-1', '-1', '-1', '100', '3', '0');
-dupa dati RUN si salvati cu orice nume

ULTIMUL PAS: -dati reboot la server si ENJOY

Sper ca am fost de ajutor !

Sursa: EPVP
Tradusa de:Robyy(Infernos)
Sus In jos
https://metin2pt.all-up.com
 
[HowTo]Implementare armuri(romana)by Robyy
Sus 
Pagina 1 din 1
 Subiecte similare
-
» [GHID]Implementare armura posedata
» Locale_big5.lua tradus 100% in romana (garantat)Tradus by Me

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Metin2Pt :: Tutoriale & Ghiduri-
Mergi direct la: