Premium Hunger 472 Posted October 28, 2014 Premium Share Posted October 28, 2014 Hi guys, its me again. As you know, i want to create the old style of metin2. And i need the old loading bar style. I dont know how i can add it back. So if anyone has an ideea will be great. Thanks ! Link to comment Share on other sites More sharing options...
Ken 904 Posted October 28, 2014 Share Posted October 28, 2014 Find this in introloading.py after remove it. if localeInfo.IsHONGKONG(): imgFileNameDict = { 0 : app.GetLocalePath() + "/ui/loading/loading0.sub", 1 : app.GetLocalePath() + "/ui/loading/loading1.sub", 2 : app.GetLocalePath() + "/ui/loading/loading2.sub", 3 : app.GetLocalePath() + "/ui/loading/loading3.sub", 4 : app.GetLocalePath() + "/ui/loading/loading4.sub", 5 : app.GetLocalePath() + "/ui/loading/loading5.sub", 6 : app.GetLocalePath() + "/ui/loading/loading6.sub" } elif localeInfo.IsCIBN10(): imgFileNameDict = { 0 : app.GetLocalePath() + "/ui/loading/loading0.jpg", 1 : app.GetLocalePath() + "/ui/loading/loading1.jpg", 2 : app.GetLocalePath() + "/ui/loading/loading2.jpg", 3 : app.GetLocalePath() + "/ui/loading/loading3.jpg", 4 : app.GetLocalePath() + "/ui/loading/loading4.jpg", 5 : app.GetLocalePath() + "/ui/loading/loading5.jpg", 6 : app.GetLocalePath() + "/ui/loading/loading6.jpg", 7 : app.GetLocalePath() + "/ui/loading/loading7.jpg", } elif localeInfo.IsYMIR() or localeInfo.IsWE_KOREA() or localeInfo.IsCANADA() or localeInfo.IsBRAZIL() or localeInfo.IsEUROPE() or localeInfo.IsJAPAN(): imgFileNameDict = { 0 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading0.sub", 1 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading1.sub", 2 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading2.sub", 3 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading3.sub", } elif constInfo.SUB2_LOADING_ENABLE: imgFileNameDict = { 0 : "d:/ymir work/uiloading/background_loading_warrior.sub", 1 : "d:/ymir work/uiloading/background_loading_assassin.sub", 2 : "d:/ymir work/uiloading/background_loading_shaman.sub", 3 : "d:/ymir work/uiloading/background_loading_sura.sub", 4 : "d:/ymir work/uiloading/background_loading_assassin2.sub", 5 : "d:/ymir work/uiloading/background_loading_sura2.sub", 6 : "d:/ymir work/uiloading/background_loading_assassin3.sub", 7 : "d:/ymir work/uiloading/background_loading_assassin3.sub", } else: imgFileNameDict = { 0 : "d:/ymir work/ui/intro/pattern/background_loading_warrior.jpg", 1 : "d:/ymir work/ui/intro/pattern/background_loading_assassin.jpg", 2 : "d:/ymir work/ui/intro/pattern/background_loading_shaman.jpg", } imgFileNameDict = { 0 : "d:/ymir work/ui/intro/pattern/background_loading_warrior.jpg", 1 : "d:/ymir work/ui/intro/pattern/background_loading_assassin.jpg", 2 : "d:/ymir work/ui/intro/pattern/background_loading_shaman.jpg", } Add this in your introloading.py Best Regards Ellie Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Premium Hunger 472 Posted October 28, 2014 Author Premium Share Posted October 28, 2014 The loading bar is the same as metin2 official. I want the old style loading bar. Thanks for your reply ! Link to comment Share on other sites More sharing options...
Ken 904 Posted October 28, 2014 Share Posted October 28, 2014 The loading bar is the same as metin2 official. I want the old style loading bar. Thanks for your reply ! Then search this and replace like that. if localeInfo.IsYMIR() or localeInfo.IsWE_KOREA() or localeInfo.IsCANADA() or localeInfo.IsBRAZIL() or localeInfo.IsEUROPE() or localeInfo.IsJAPAN(): pyScrLoader.LoadScriptFile(self, uiScriptLocale.LOCALE_UISCRIPT_PATH + "LoadingWindow.py") else: pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py") if localeInfo.IsYMIR() or localeInfo.IsWE_KOREA() or localeInfo.IsCANADA() or localeInfo.IsBRAZIL() or localeInfo.IsJAPAN(): pyScrLoader.LoadScriptFile(self, uiScriptLocale.LOCALE_UISCRIPT_PATH + "LoadingWindow.py") else: pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py") It should be load UIScript/LoadingWindow.py. Best Regards Ellie 1 Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Premium Solution Hunger 472 Posted October 28, 2014 Author Premium Solution Share Posted October 28, 2014 I have found the solution by myself. The correct form is pyScrLoader = ui.PythonScriptLoader() pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py") But thanks anyway for your time and your replies ! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now