Jump to content
  • Create New...
  • 0

Exp gauge



2 answers to this question

Recommended Posts

  • 0

you need to use new function in uitaskbar.py (SetPercentage -> SetPercentageHorizontal)

add this function to ui.py

	def SetPercentageHorizontal(self, curValue, maxValue):
		if maxValue:
			self.SetRenderingRect(0.0, -1.0 + float(curValue) / float(maxValue), 0.0, 0.0)
			self.SetRenderingRect(0.0, 0.0, 0.0, 0.0)


  • Confused 1
Link to comment
Share on other sites

  • 0



I guess your code is vertical, the basic SetPercentage is horizontal.


Okay i solved it. 


Just change like this:

				self.expGauge[FullCount].SetRenderingRect(0.0, 0.0, Percentage, 0.0)



Edited by Rommel
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

  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

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.