WildEgo 1,486 Posted March 24, 2013 Boas pessoal! Venho aqui apresentar um tutorial novo de como meter a percentagem na barra de loading! ROOT 1º Descompatar o Root 2º Abrir o introloading.py 3º Procurar: self.loadingImage.SetScale(width, height)4º Depois disso colocar: self.loadingGage.SetPercentage(2, 100)5º Procurar: self.loadingGage=self.GetChild("FullGage")6º Colocar depois da alinea anterior: self.loadingLoadingPercent=self.GetChild("LoadingPercent_Text")7º Procurar: self.loadingGage.SetPercentage(2+98*p/100, 100)8º Depois da alinea anterior colar: self.loadingLoadingPercent.SetText(str(2+98*p/100)+"%")9º Compatar o root UIScript 10º Descompactar o UIScript 11º Abrir o loadingwindow.py 12º Procurar por: "name" : "FullGage",13º Depois dessa secção colocar: { "name" : "LoadingPercent_Text", "type" : "text", "x" : 190, "y" : -20, "text" : "", "vertical_align" : "center", },14º Compatar o UIScript Créditos: [*]Ymir - Ofereceu a plataforma para testar. [*]Notepad++ - Software de edição. [*]Luis Bizarro - Tutorial. [*]MKMT2 - Client "Cobaia". Cumprimentos, Luis Bizarro 6 portoswat69, BillTM115, βŁά©Ќ§†ŏ®ε™ and 3 others reacted to this Share this post Link to post Share on other sites
portoswat69 3 Posted March 24, 2013 Parece muito bom depois eu vou testar! http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
PAULO_GAMES 3 Posted June 18, 2021 Aqui não funcionou. Share this post Link to post Share on other sites