Am gasit acest tutorial pe turkmmo, dar era incomplet. M-am gandit sa il completez si sa vi-l dau si voua

![[PY] Tips/Sfaturi in Loading Window - Mesaj 1 - Imagine 1 [PY] Tips/Sfaturi in Loading Window - Mesaj 1 - Imagine 1](https://i.imgur.com/tGgECCF.png)
1. Prima data mergem in root/introloading.py
Cautam:
Code:
self.loadingGage=self.GetChild("FullGage")
Cautam:
Code:
width = float(wndMgr.GetScreenWidth()) / float(self.loadingImage.GetWidth())
2. Deschidem root/uiscriptLocale.py
Cautam:
Code:
LoadLocaleFile(LOCALE_INTERFACE_FILE_NAME, locals())
3. Deschidem root/ui.py
Cautam:
Code:
class ThinBoard(Window):
Cautam:
Code:
elif Type == "thinboard":
parent.Children[Index] = ThinBoard()
parent.Children[Index].SetParent(parent)
self.LoadElementThinBoard(parent.Children[Index], ElementValue, parent)
Cautam:
Code:
## ThinBoard
def LoadElementThinBoard(self, window, value, parentWindow):
4. Deschidem locale/ro/ui/loadingwindow.py
Sub:
Code:
## Board
{
"name" : "BackGround",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
"x_scale" : float(SCREEN_WIDTH) / 800.0,
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
},
5. In locale/ro facem un fisier text loading_tips in care vom pune textul care va aparea in fereastra de incarcare.
Exemplu:
Code:
1 Text1
2 Text2
3 Text3
4 Text...
5 etc.