Jump to content

How can I change border of stones?


Recommended Posts

  • Active Member

Hi guys,

How can I change border of stones? I want this border with normal stones and other border with other stones. This border you can find in ETC/windows.dds, but I need to add the second border picture what you can find in windows.dds to other stones.

Thank you for asnwers!

Sincerely,

ReFresh

Edited by ReFresh
Scroll down for more.

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Replies 28
  • Created
  • Last Reply

Top Posters In This Topic

  • Active Member
23 minutes ago, Sonitex said:

Item Vnum=Item's Picture name. Example: Vnum: 10 Sword+0; Image name: 10.dds or something. I hope you get it :D

 

Items icons are located in icon.epk in case you didnt know :D

 

Man, that's not funny , I know how to do it according to what you said.

I expressed badly, I need to change border of stones.

@Sonitex

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Active Member
On 3. 4. 2016 at 11:38 AM, Aerrow said:

Sub: etc\ymir work\ui\game\windows\metin_slot_silver.sub

And the picture: etc\ymir work\ui\windows.dds

It was 10 seconds to find out...

Thank you. But default border of stones is silver. And I need to change this, when the stone will be +6 in weapon.

These stones are +6:

st.png

These stones are +7:

0403_125511.jpg

I think it's in client source or server source. But i don't know where :(

I'll be always helpful! 👊 

Link to comment
Share on other sites

Don't be noob please... You just need to search this in the root: "metin_slot_silver"

        if player.METIN_SOCKET_TYPE_SILVER == slotType:
            slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_silver.sub")
        elif player.METIN_SOCKET_TYPE_GOLD == slotType:
            slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_gold.sub")

Link to comment
Share on other sites

  • Active Member
2 hours ago, Aerrow said:

Don't be noob please... You just need to search this in the root: "metin_slot_silver"

 


        if player.METIN_SOCKET_TYPE_SILVER == slotType:

	            slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_silver.sub")

	        elif player.METIN_SOCKET_TYPE_GOLD == slotType:

	            slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_gold.sub")


 

Thank you :) But I don't know, how to add this border to stone.

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • 2 weeks later...

look in uitooltip.py

 

    def GetMetinSocketType(self, number):
        if player.METIN_SOCKET_TYPE_NONE == number:
            return player.METIN_SOCKET_TYPE_NONE
        elif player.METIN_SOCKET_TYPE_SILVER == number:
            return player.METIN_SOCKET_TYPE_SILVER
        elif player.METIN_SOCKET_TYPE_GOLD == number:
            return player.METIN_SOCKET_TYPE_GOLD
        else:
            item.SelectItem(number)
            if item.METIN_NORMAL == item.GetItemSubType():
                return player.METIN_SOCKET_TYPE_SILVER
            elif item.METIN_GOLD == item.GetItemSubType():
                return player.METIN_SOCKET_TYPE_GOLD
            elif "USE_PUT_INTO_ACCESSORY_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER
            elif "USE_PUT_INTO_RING_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER
            elif "USE_PUT_INTO_BELT_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER

        return player.METIN_SOCKET_TYPE_NONE

    def GetMetinItemIndex(self, number):
        if player.METIN_SOCKET_TYPE_SILVER == number:
            return 0
        if player.METIN_SOCKET_TYPE_GOLD == number:
            return 0

        return number

Link to comment
Share on other sites

  • Active Member
On 4/27/2016 at 9:05 AM, Originale said:

look in uitooltip.py

 

    def GetMetinSocketType(self, number):
        if player.METIN_SOCKET_TYPE_NONE == number:
            return player.METIN_SOCKET_TYPE_NONE
        elif player.METIN_SOCKET_TYPE_SILVER == number:
            return player.METIN_SOCKET_TYPE_SILVER
        elif player.METIN_SOCKET_TYPE_GOLD == number:
            return player.METIN_SOCKET_TYPE_GOLD
        else:
            item.SelectItem(number)
            if item.METIN_NORMAL == item.GetItemSubType():
                return player.METIN_SOCKET_TYPE_SILVER
            elif item.METIN_GOLD == item.GetItemSubType():
                return player.METIN_SOCKET_TYPE_GOLD
            elif "USE_PUT_INTO_ACCESSORY_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER
            elif "USE_PUT_INTO_RING_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER
            elif "USE_PUT_INTO_BELT_SOCKET" == item.GetUseType(number):
                return player.METIN_SOCKET_TYPE_SILVER

        return player.METIN_SOCKET_TYPE_NONE

    def GetMetinItemIndex(self, number):
        if player.METIN_SOCKET_TYPE_SILVER == number:
            return 0
        if player.METIN_SOCKET_TYPE_GOLD == number:
            return 0

        return number

I know, but i want different borders for 2 different stones. I think it isn't here, maybe in client source or I think, I must add some socket to stones for this border, but I don't know how and what.

 

I'll be always helpful! 👊 

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.