Jump to content

Extended Equipment Viewer - WEAPON COSTUME INDEX ?


Recommended Posts

After this release: 

Everything works good until Weapon_Costume Slot starts to mess with me... I don't know it's Index Slot.

I have assigned the slot dimensions, everything is good to go until the index.

ZavVFWm.png

costumeequipmentdialog.py :

Spoiler

									"slot" : (
										{"index":11, "x":62, "y":45, "width":32, "height":64},
										{"index":12, "x":62, "y": 9, "width":32, "height":32},
										{"index":13, "x":13, "y": 126, "width":32, "height":32},
										{"index":14, "x":62, "y": 126, "width":32, "height":32},
										##{"index": , "x":13, "y": 13, "width":32, "height":96},
                                      ##slots used until now. Here i have to add the weapon costume slot number

 

costumewindow.py :

Spoiler

							"slot" : (
											{"index":COSTUME_START_INDEX+0, "x":62, "y":45, "width":32, "height":64},#¸ö
											{"index":COSTUME_START_INDEX+1, "x":62, "y": 9, "width":32, "height":32},#¸Ó¸®
											{"index":COSTUME_START_INDEX+2, "x":13, "y":126, "width":32, "height":32},#¸¶¿îÆ®
											{"index":COSTUME_START_INDEX+3, "x":62, "y":126, "width":32, "height":32},#¾Ç¼¼¼­¸®
											{"index":item.COSTUME_SLOT_WEAPON, "x":13, "y":13, "width":32, "height":96},#¹«±â

 

uiequipmentdialog.py :

Spoiler

	def RefreshSlot(self):
		equipmentDict = self.wndEquipment.itemDataDict
		for i in [11,12,13,14]: ##slots used until now. Here i have to add the weapon costume slot number
			if equipmentDict.has_key(i):
				self.wndCostumeEquipmentSlot.SetItemSlot(i, equipmentDict[i][0], equipmentDict[i][1])

 

 

Slot 15 is Belt. From 16 to 24 there is nothing (already tested those indexes) 

 

Hope you guys have this implemented to have an idea..

Thank you

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

There are many ways on how to find out the weapon index. Without much knowledge I'd recommend you to just print out the slot index once your mouse hovers over the weapon slot index. You can easily do that in python.

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.