|
You last visited: Today at 07:38
Advertisement
[Help] itemtype to item min icon
Discussion on [Help] itemtype to item min icon within the CO2 Private Server forum part of the Conquer Online 2 category.
02/10/2012, 03:03
|
#1
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
[Help] itemtype to item min icon
Alright, so I have all the item min icons, and I am trying to figure out how the client handles associating the itemtype.dat to the right item min icon. I currently have a way, but its going to take so many lines and i feel tq has a simpler way they would do this, I just have yet to see the pattern..
|
|
|
02/10/2012, 16:23
|
#2
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
I could swear that they simply use the itemID.
|
|
|
02/10/2012, 17:03
|
#3
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
nop, cause you have different color armors, and items like the elite swords and normal swords are different colors..
|
|
|
02/10/2012, 17:59
|
#4
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by BioHazarxPaul
nop, cause you have different color armors, and items like the elite swords and normal swords are different colors..
|
dude weapons.ini play gr8 role in that cuz Simply the Weapoin.ini contains all weapons of all quality and levels beside that the meshes of weps and their itemID too beside the texture so its how it goes
|
|
|
02/10/2012, 18:14
|
#5
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
well screw that, Ill just figure out my own way..
PHP Code:
function neck($val) { $id = $val; $arryid = str_split($id, 5); $id1 = $arryid[0]; if($id <= 160240) { $arryid[1] = 0; $id2 = $arryid[1]; } else { $arryid[1] = 5; $id2 = $arryid[1]; } echo '<div class="profileneck"><img class="itemicon" title="neck_'.$val.'" src="ItemMinIcon/'.$id1.''.$id2.'.png" /></div>'; }
thats what i currently have for each type of item, but there has to be a more effective way to do this..
|
|
|
02/10/2012, 18:54
|
#6
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
|
lets take a burriedblade, the id of that is 410333 - 410339 in itemtype.dat but tq is doing it hard again and used also another id in the client for the itemminicon and mapitemicon.
inside ani > itemminicon.ani search for the id and you will see the id tq used for the itemminicon
|
|
|
02/10/2012, 19:16
|
#7
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
okay i understand that but i am working on a way to convert the item id to that item min icon, so i can pull players items from database and display an icon on the website, i can get most of it to work but, once you go to higher level things change..
|
|
|
02/10/2012, 19:19
|
#8
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
for example Buried Blade code is 409000 and its quality is Normal So once u open weapons.ini u will find its id in is 409000 and u will find its texture and its mesh too and their Appearence inside the inventory is itemminicon and the mesh of weapon in Floor lies in mapitemicon and u can use dds Thumb Viewer to know the ID of the icons then these itemminicon and mapitemicon icons r being loaded from Ani So i guess i gave u all data u need
|
|
|
02/10/2012, 20:45
|
#9
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Different armor colors are different armor ids.
|
|
|
02/10/2012, 21:33
|
#10
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
Quote:
Originally Posted by shadowman123
for example Buried Blade code is 409000 and its quality is Normal So once u open weapons.ini u will find its id in is 409000 and u will find its texture and its mesh too and their Appearence inside the inventory is itemminicon and the mesh of weapon in Floor lies in mapitemicon and u can use dds Thumb Viewer to know the ID of the icons then these itemminicon and mapitemicon icons r being loaded from Ani So i guess i gave u all data u need
|
You gave me everything i already know, as i said before the idea is to setup a function that will convert the players current items to match with the min icons.. I am just going to do it my own way, just figured someone might have already have a way of doing it that would be willing to share..
HTML Code:
<div class="profilehead"><img class="itemicon" title="head_118209" src="ItemMinIcon/118200.png" /></div>
Example the title is the user item and the ItemMinIcon is me converting it to match with that picture.
|
|
|
 |
Similar Threads
|
Item Icon...
01/22/2012 - Flyff Private Server - 2 Replies
Hey ich wollte von einem Custom item ein Icon fürs inventar machen blos halt das was eigentlich transparten sein soll wird nicht transparent ingame sondern bleibt pink, jetzt habe ich die frage in welchem Modus ich die datei in eine DDS datei converten muss, habe schon Paint.Net benutzt oder DDS Converter aber trozdem kein erfolg
|
item und icon.eix/epk
09/17/2011 - Metin2 Private Server - 8 Replies
Hey com habe irgendiwe ein problem mit item und icon.epk/eix
immer wenn ihc es entpacke und da z.B icon reinpacke und wieder zusammen packe und dann wieder entpacke um zu gucken ob es da ist
ist das icon weg und musses wieder neu reinmachen aber es bleib nie da ist immer weg
wieso verschwindet es immer?
hoffe mir kann jemand helfen
MfG Dennis
|
[Suche] Komplette item.eix/epk, icon.eix/epk, item proto und item list
12/25/2010 - Metin2 Private Server - 6 Replies
Hey =)
Wie die Überschrift schon sagt, suche ich eine komplette item.eix/epk, icon.eix/epk, item proto und item list am liebsten noch von den Waffen von .darki und den ganzen neuen Rüstungen/Schilden/Helmen, da ich überhaupt nicht weiß wie man dass zB mit der item proto macht und wenn ich sie einfach nur ersetze, wie zB durch die "Waffen" item proto von .darki sind die ganzen neuen Rüstungen weg ....
Ich hoffe irgendjemand könnte das machen, weil es bestimmt nicht nur für mich hilfreich ist...
|
item einfügen, item eix/epk icon eix/epk
12/22/2010 - Metin2 Private Server - 9 Replies
alle realesen in letzter zeit immer mehr und mehr neue waffen, items generel, und geben meist dabei eine ganze item und icon eix/epk mit beim download.
Mich interesiert aber wie ich nur ein item aus den gepackten eix/epks raus nehmen kann und es meinen dateien beifügen kann.
Eine kurze erklärung dazu wäre sicher für viele anfänger hilfreich denn habe so was noch nirgends entdeckt.
z.B ich wollte heute drachengeist items von Avulsed beifügen, nehmen wir mal ein beispiel :
ich will...
|
All times are GMT +1. The time now is 07:39.
|
|