xX-WizarD-Xx Posted July 18, 2019 Share Posted July 18, 2019 So I have been trying to fix this old mod named barbarian king but no one could see what is the problem they just say the codes have changed and the mod needs to be updated so i wonder if anyone here can help me fix this mod! barbarian king.rar Link to comment Share on other sites More sharing options...
Ultroman Posted July 18, 2019 Share Posted July 18, 2019 (edited) modmain.lua Fixed. If you're interested, this was what I changed: MakeLevelBadge(self, "barbarianking_exp", "barbarianking", "BKLevelSystem", "icon", "bklevelbadge", "bkprogressbar" , true, false, Vector3(40,-55,0) , Vector3(-62,-52,0) ) MakeLevelBadge(self, "barbarianking_cp" , "barbarianking", "BKCrownSystem", "icon", "bklevelbadge", "bkprogressbar_cp", true, false, Vector3(-120,-55,0), Vector3(-120,-52,0)) to this: MakeLevelBadge(self, "barbarianking_exp", "barbarianking", "BKLevelSystem", "icon", "bklevelbadge", "bkprogressbar" , true, false, {x=40,y=-55,z=0} , {x=-62,y=-52,z=0} ) MakeLevelBadge(self, "barbarianking_cp" , "barbarianking", "BKCrownSystem", "icon", "bklevelbadge", "bkprogressbar_cp", true, false, {x=-120,y=-55,z=0}, {x=-120,y=-52,z=0}) Klei apparently switched from using a list of x, y, and z to using a Vector3 in widget.lua. Edited July 18, 2019 by Ultroman Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now