Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Basic modding client


4peppe

Question

Hi, I am creating an oldstyle server and am modifying the hair system, having removed the costume system. I had to make some changes but I'm almost done, I just have to move the position of the prieview image, I checked the files and from the item_list its position is given by

ETC  \ ymir work \ ui \ items \ quest \ 73001.sub

I just can't find it, can someone more experienced than me help me?
Here is a screen to let you understand the problem:

Spoiler

spacer.png

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

2 answers to this question

Recommended Posts

  • 0
  • Premium

I think you need check in uiTooltip.py 

spacer.png

Check def __AppendHairIcon

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

My signature (yes, I'm a creative guy)

Link to comment
Share on other sites

  • 0
7 hours ago, Mitachi said:

I think you need check in uiTooltip.py 

spacer.png

Check def __AppendHairIcon

Thank you so much, I solved it! It was enough to change:
 

Spoiler

        itemImage.SetPosition(itemImage.GetWidth()/2, self.toolTipHeight)
        self.toolTipHeight += itemImage.GetHeight()
        #self.toolTipWidth += itemImage.GetWidth()/2
        self.childrenList.append(itemImage)
        self.ResizeToolTip()

in:
 

Spoiler

        itemImage.SetPosition(itemImage.GetWidth()/14, self.toolTipHeight)
        self.toolTipHeight += itemImage.GetHeight()
        #self.toolTipWidth += itemImage.GetWidth()/2
        self.childrenList.append(itemImage)
        self.ResizeToolTip()

 

@ Mitachi spacer.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.