Salut, am vazut ca multa lume nu stie sa implementeze un item in client.
Sa trecem la Treaba!
O sa iau ca exemplu armura posedata de ninja:
Boooooon!
1. Prima data trebuie sa avem iconul itemului care vine bagat in pack-->icon (aici va trebuie un extractor).
2. Despachetati Icon mergeti in icon/item si acolo adaugati iconul itemului.
3. Impachetati la loc si gata cu icon!
4. Despachetati locale_de sau locale_it.
5. Aici iarasi va trebuie un extractor de item_proto.
6. Extrageti item_proto si bagati codul posedatei. Acesta e doar un exemplu pe care vi-l dau eu.
- Cod:
-
<Item vnum="12020" hashName="'Vestito Blu del Drago+0" name="Costum Otel Albastru+0" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="80" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="2" value0="0" value1="154" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12021" refine_set="0" magic_pct="15" specular="0" socket_pct="1" />
<Item vnum="12021" hashName="'Vestito Blu del Drago+1" name="Costum Otel Albastru+1" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="80" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="5" value0="0" value1="164" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12022" refine_set="0" magic_pct="15" specular="5" socket_pct="1" />
<Item vnum="12022" hashName="'Vestito Blu del Drago+2" name="Costum Otel Albastru+2" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="80" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967286" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="8" value0="0" value1="174" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12023" refine_set="0" magic_pct="15" specular="10" socket_pct="1" />
<Item vnum="12023" hashName="'Vestito Blu del Drago+3" name="Costum Otel Albastru+3" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="82" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="12" value0="0" value1="184" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12024" refine_set="0" magic_pct="15" specular="15" socket_pct="1" />
<Item vnum="12024" hashName="'Vestito Blu del Drago+4" name="Costum Otel Albastru+4" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="82" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="16" value0="0" value1="194" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12025" refine_set="0" magic_pct="15" specular="30" socket_pct="2" />
<Item vnum="12025" hashName="'Vestito Blu del Drago+5" name="Costum Otel Albastru+5" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="84" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967288" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="20" value0="0" value1="204" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12026" refine_set="0" magic_pct="15" specular="40" socket_pct="2" />
<Item vnum="12026" hashName="'Vestito Blu del Drago+6" name="Costum Otel Albastru+6" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="84" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="24" value0="0" value1="214" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12027" refine_set="0" magic_pct="15" specular="50" socket_pct="2" />
<Item vnum="12027" hashName="'Vestito Blu del Drago+7" name="Costum Otel Albastru+7" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="86" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="29" value0="0" value1="224" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12028" refine_set="0" magic_pct="15" specular="65" socket_pct="3" />
<Item vnum="12028" hashName="'Vestito Blu del Drago+8" name="Costum Otel Albastru+8" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="88" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967290" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="34" value0="0" value1="234" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="12029" refine_set="0" magic_pct="15" specular="80" socket_pct="3" />
<Item vnum="12029" hashName="'Vestito Blu del Drago+9" name="Costum Otel Albastru+9" type="2" subtype="0" weight="0" size="2" antiflag="52" flag="1" wearflag="1" immuneflag="0" gold="120000" buy_price="515000" limittype0="1" limitvalue0="90" limittype1="0" limitvalue1="0" applytype0="8" applyvalue0="4294967291" applytype1="37" applyvalue1="20" applytype2="10" applyvalue2="40" value0="0" value1="244" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="15" specular="100" socket_pct="3" />
7. Impachetam la loc item_proto si gata.
8. Tot in locale avem item_list.txt, aici intram si adaugam la sf. (iarasi acesta e doar un ex. pentru. posedata)
- Cod:
-
12020 ARMOR icon/item/12030.tga
Unde 12020 reprezinta codul itemului iar 12030 reprezinta codul iconului din Icon. (vedeti cum se leaga toate? )
9. Salvati si iesiti.
10. Optional daca itemul este Gen balanta dragonului si vreti sa-i scrieti o descriere intrati in item_desc.txt cu Notepad++ si Apasam ctrl+f scriem codul itemului de ex: 71123 Balanta Dragonului. 9iarasi va dau un exemplu)
- Cod:
-
71123 Balanþa Dragonului Balan'a Dragonului este din cele mai grele materiale cunoscute.
Cam asa arata itemul in item desc. Puteti sa-i puneti orice descriere.
11. Si in final item.eix respectiv.epk din pack au ca si continut modelele 3D ale itemelor acestea se pot vizualiza cu Grany Wiever.
12. Daca faceti totul corect trebuie sa mearga " Ceas Elvetian"
SPER CĂ V-AM FOST DE FOLOS!